Skip to content

Commit f1edd2d

Browse files
committed
Upgrade CI to Python 3.9-3.12 on ubuntu-latest with Python 3.12 compatibility fixes
1 parent 01b7c4a commit f1edd2d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ jobs:
1919
run: |
2020
python -m venv venv
2121
. venv/bin/activate
22-
export version=$(grep -v '^$' ${GITHUB_WORKSPACE}/requirements.txt | grep requests | awk -F'>=' '{print $2}' )
23-
pip install requests==$(echo $version)
22+
pip install -r requirements.txt
2423
- name: run tests
2524
run: |
2625
. venv/bin/activate

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
requests>=2.28.0
1+
requests>=2.31.0
2+
urllib3>=2.0.0

0 commit comments

Comments
 (0)