Skip to content

Commit

Permalink
Support Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 3, 2023
1 parent 7b3ae2d commit b85fe39
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "pypy-3.10"

steps:
Expand Down
7 changes: 5 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
Changelog
=========

0.21.4 (unreleased)
0.22.0 (unreleased)
-------------------

- Add support for Python 3.12: treat it as a released version, run CI tests on
3.12.

- Drop support for Python 3.7.


Expand Down Expand Up @@ -43,7 +46,7 @@ Changelog
0.20.0 (2022-10-27)
-------------------

- Add support for Python 3.11: threat it as a released version, run CI tests on
- Add support for Python 3.11: treat it as a released version, run CI tests on
3.11.


Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ environment:
- PYTHON: "C:\\Python39"
- PYTHON: "C:\\Python310"
- PYTHON: "C:\\Python311"
- PYTHON: "C:\\Python312"

init:
- "echo %PYTHON%"
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
Expand Down
2 changes: 1 addition & 1 deletion src/check_python_versions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"""

__author__ = 'Marius Gedminas <marius@gedmin.as>'
__version__ = '0.21.4.dev0'
__version__ = '0.22.0.dev0'
2 changes: 1 addition & 1 deletion src/check_python_versions/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

MAX_PYTHON_1_VERSION = 6 # i.e. 1.6
MAX_PYTHON_2_VERSION = 7 # i.e. 2.7
CURRENT_PYTHON_3_VERSION = 11 # i.e. 3.10
CURRENT_PYTHON_3_VERSION = 12 # i.e. 3.12

MAX_MINOR_FOR_MAJOR = {
1: MAX_PYTHON_1_VERSION,
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 = py38,py39,py310,py311,pypy3,flake8,mypy,isort,coverage
envlist = py38,py39,py310,py311,py312,pypy3,flake8,mypy,isort,coverage

[testenv]
deps =
Expand Down

0 comments on commit b85fe39

Please sign in to comment.