[workflows/ci.yml] Temporary workaround for Python 3.5 _pip_ failures
authordirkf <fieldhouse@gmx.net>
Wed, 15 May 2024 15:57:59 +0000 (16:57 +0100)
committerGitHub <noreply@github.com>
Wed, 15 May 2024 15:57:59 +0000 (16:57 +0100)
https://github.com/actions/setup-python/issues/866

.github/workflows/ci.yml

index 93562afd782ecde19ddcc85b1d723264b9c66bdd..d3b9ae0162170259233e0912f62d049f3bce565b 100644 (file)
@@ -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