Browse Source

[workflows/ci.yml] Temporary workaround for Python 3.5 _pip_ failures

https://github.com/actions/setup-python/issues/866
dirkf 1 year ago
parent
commit
a08f2b7e45
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .github/workflows/ci.yml

+ 3 - 0
.github/workflows/ci.yml

@@ -159,6 +159,9 @@ jobs:
       # wrap broken actions/setup-python@v4
       # NB may run apt-get install in Linux
       uses: ytdl-org/setup-python@v1
+      env:
+        # Temporary workaround for Python 3.5 failures - May 2024
+        PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org"
       with:
         python-version: ${{ matrix.python-version }}
         cache-build: true