Skip to content

Commit

Permalink
Add support for Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 25, 2022
1 parent cf50a26 commit 50f2924
Show file tree
Hide file tree
Showing 7 changed files with 9 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.8"
- "3.9"
- "3.10"
- "3.11"
- "pypy-3.7"

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

0.19.3 (unreleased)
0.20.0 (unreleased)
-------------------

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


0.19.2 (2022-07-12)
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:\\Python38"
- PYTHON: "C:\\Python39"
- PYTHON: "C:\\Python310"
- PYTHON: "C:\\Python311"

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.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'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.19.3.dev0'
__version__ = '0.20.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 = 10 # i.e. 3.10
CURRENT_PYTHON_3_VERSION = 11 # i.e. 3.10

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 = py37,py38,py39,py310,pypy3,flake8,mypy,isort,coverage
envlist = py37,py38,py39,py310,py311,pypy3,flake8,mypy,isort,coverage

[testenv]
deps = pytest
Expand Down

0 comments on commit 50f2924

Please sign in to comment.