From cbdb0e598a471e1a7d9b855646ef7aa094d1151d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 5 Jun 2024 22:57:22 +0300 Subject: [PATCH] CI: Add workaround for broken py 3.5 in GitHub Actions. (#73) --- .github/workflows/python.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 5b32b38..c3e2218 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -9,7 +9,10 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + include: + - python-version: "3.5" + pip-trusted-host: "pypi.python.org pypi.org files.pythonhosted.org" steps: - uses: actions/checkout@v4 @@ -18,6 +21,8 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + env: + PIP_TRUSTED_HOST: ${{ matrix.pip-trusted-host }} - name: Display Python version run: python -c "import sys; print(sys.version)"