aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2021-04-24 23:52:16 +0700
committerSergey M․ <[email protected]>2021-04-24 23:52:16 +0700
commit999329cf6b29878d054c6ccdd24573489a2886d5 (patch)
treeccde9b4b8a0a9624c50eb98c1aca201b49271ff6
parentc6ab79299034492c5af9dd29b0c49585e4efc4cd (diff)
downloadyoutube-dl-999329cf6b29878d054c6ccdd24573489a2886d5.tar.gz
youtube-dl-999329cf6b29878d054c6ccdd24573489a2886d5.zip
[workflows/ci.yml] Fix install nose for Jython
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a9dc47a71..97b50aedc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -53,7 +53,14 @@ jobs:
java -jar jython-installer.jar -s -d "$HOME/jython"
echo "$HOME/jython/bin" >> $GITHUB_PATH
- name: Install nose
+ if: ${{ matrix.python-impl != 'jython' }}
run: pip install nose
+ - name: Install nose (Jython)
+ if: ${{ matrix.python-impl == 'jython' }}
+ # Working around deprecation of support for non-SNI clients at PyPI CDN (see https://status.python.org/incidents/hzmjhqsdjqgb)
+ run: |
+ wget https://files.pythonhosted.org/packages/99/4f/13fb671119e65c4dce97c60e67d3fd9e6f7f809f2b307e2611f4701205cb/nose-1.3.7-py2-none-any.whl
+ pip install nose-1.3.7-py2-none-any.whl
- name: Run tests
continue-on-error: ${{ matrix.ytdl-test-set == 'download' || matrix.python-impl == 'jython' }}
env: