Skip to content

Commit

Permalink
Merge pull request #37 from byllyfish/py35
Browse files Browse the repository at this point in the history
Add work-around for failure of setup-python github action when using Python 3.5
  • Loading branch information
byllyfish authored Jul 15, 2024
2 parents 662917b + 01e86d7 commit 9b697b6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,21 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13-dev', 'pypy3.10']

include:
- pip-trusted-host: ''
# Relax security checks for Python 3.5 only. (https://github.com/actions/setup-python/issues/866)
- python-version: '3.5'
pip-trusted-host: 'pypi.python.org pypi.org files.pythonhosted.org'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
env:
PIP_TRUSTED_HOST: ${{ matrix.pip-trusted-host }}
PIP_DISABLE_PIP_VERSION_CHECK: 1
- name: Install dependencies
run: |
python -m pip install --upgrade pip flake8 setuptools
Expand Down

0 comments on commit 9b697b6

Please sign in to comment.