Skip to content

Commit 4c47628

Browse files
authored
Merge pull request #59 from hugovk/master
Add support for Python 3.12
2 parents e12de80 + c3509e4 commit 4c47628

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: .github/workflows/test.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
12+
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- name: Set up Python ${{ matrix.python-version }}
1717
uses: actions/setup-python@v4
1818
with:
1919
python-version: ${{ matrix.python-version }}
20+
allow-prereleases: true
2021
- name: Install dependencies
2122
run: |
2223
python -m pip install --upgrade pip
@@ -30,4 +31,4 @@ jobs:
3031
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3132
- name: Test
3233
run: |
33-
coverage run --source=jsonpatch tests.py
34+
make coverage

Diff for: setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
'Programming Language :: Python :: 3.9',
4747
'Programming Language :: Python :: 3.10',
4848
'Programming Language :: Python :: 3.11',
49+
'Programming Language :: Python :: 3.12',
4950
'Programming Language :: Python :: Implementation :: CPython',
5051
'Programming Language :: Python :: Implementation :: PyPy',
5152
'Topic :: Software Development :: Libraries',

0 commit comments

Comments
 (0)