Skip to content

Commit

Permalink
Merge pull request jazzband#175 from beregond/update/py-support
Browse files Browse the repository at this point in the history
Added python 3.12 support, removed python 3.7 support.
  • Loading branch information
beregond authored Nov 10, 2023
2 parents a1fb19e + d2590ed commit 54af88e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
max-parallel: 6
matrix:
python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["pypy-3.8", "3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.7+, and for
3. The pull request should work for Python 3.8+, and for
PyPy. Check https://github.com/jazzband/jsonmodels/actions and make
sure that the tests pass for all supported Python versions.

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ are converted to, or read from JSON.
Features
--------

* Fully tested with Python 3.7+.
* Fully tested with Python 3.8+.

* Support for PyPy 3.8 (see implementation notes in docs for more details).

Expand Down
1 change: 1 addition & 0 deletions history/1699609698595784-0db2291
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added Python 3.12 support.
1 change: 1 addition & 0 deletions history/1699609709341144-f161435
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed Python 3.7 support.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@ def run_tests(self):
license="BSD",
zip_safe=False,
keywords=PROJECT_NAME,
python_requires=">=3.7",
python_requires=">=3.8",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
],
cmdclass={
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37, py38, py39, py310, py311
envlist = py38, py39, py310, py311, py312

[testenv]
commands = python setup.py test
Expand Down

0 comments on commit 54af88e

Please sign in to comment.