Skip to content

Commit

Permalink
Workaround due to older versions of requests/urllib3 having an upper …
Browse files Browse the repository at this point in the history
…bound on python version
  • Loading branch information
JWCook committed Feb 17, 2024
1 parent 10d6cfc commit 1b6b924
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9-7.3.12']
python-version:
[
'3.8',
'3.9',
'3.10',
'3.11',
'3.12',
'pypy3.9-7.3.12',
'pypy3.10-7.3.12',
]
requests-version: [latest]
exclude:
- os: windows-latest
Expand Down Expand Up @@ -178,6 +187,8 @@ jobs:
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
# Workaround due to older versions of requests/urllib3 having an upper bound on python version
sed -i -r 's/python\s+= ">=3.8"/python="^3.8"/g' pyproject.toml
poetry add requests@${{ matrix.requests-version }} --lock
poetry lock --check
poetry lock --no-update
Expand Down

0 comments on commit 1b6b924

Please sign in to comment.