Skip to content

Commit 8d5d193

Browse files
committed
Update testing/dependencies to support Python 3.12+
1 parent 8eeff11 commit 8d5d193

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77

88
runs-on: ${{ matrix.os }}
99
strategy:
10+
fail-fast: false
1011
matrix:
1112
os: [ubuntu-latest]
1213
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
@@ -19,10 +20,10 @@ jobs:
1920
python-version: ${{ matrix.python-version }}
2021
- name: Install dependencies
2122
run: |
22-
pip install pip==20.0.2
23+
pip install pip==25.1.0
2324
pip install -r requirements.txt
24-
python setup.py bdist_wheel
25+
python -m build --wheel
2526
pip install dist/*.whl
2627
- name: Test with pytest
2728
run: |
28-
cd tests/ && py.test --cov jmespath --cov-report term-missing
29+
cd tests/ && python -m pytest --cov jmespath --cov-report term-missing

requirements.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
wheel==0.38.1
2-
pytest==6.2.5
1+
wheel==0.45.1
2+
pytest==8.4.1
33
pytest-cov==3.0.0
4-
hypothesis==3.1.0 ; python_version < '3.8'
5-
hypothesis==5.5.4 ; python_version == '3.8'
6-
hypothesis==5.35.4 ; python_version == '3.9'
4+
hypothesis==5.35.4
5+
6+
# Setuptools is no longer provided by default in Python 3.12+
7+
setuptools==71.1.0 ; python_version >= '3.12'
8+
packaging==24.1 ; python_version >= '3.12'
9+
build==1.2.2.post1

0 commit comments

Comments
 (0)