Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.11 #58

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
run: |
pytest tests/

pytest-py36-py310:
pytest-py36-py311:
runs-on: ${{ matrix.platform }}

strategy:
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11" ]

steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ python:
- "3.7"
- "3.8"
- "3.9"
- "3.10-dev" # 3.10 development branch
- "3.10"
- "3.11-dev" # development branch
- "pypy"
- "pypy3"
jobs:
Expand All @@ -18,14 +19,14 @@ jobs:
python: "2.7"
- arch: ppc64le
python: "pypy"
- arch: ppc64le
- arch: ppc64le
python: "pypy3"
- arch: amd64
python: "pypy"

allow_failures:
- python: "3.10-dev"

install:
- pip install coveralls tox-travis
script:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ v1.2.14 (unreleased)

Bug fix release

Other
-----

- Add support for Python 3.11.


v1.2.13 (2021-09-05)
====================
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ['py27', 'py34', 'py35', 'py36', 'py37', 'py38']
target-version = ['py27', 'py34', 'py35', 'py36', 'py37', 'py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'

[tool.isort]
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def function_three():
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries :: Python Modules',
],
extras_require={
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
# - /usr/local/bin/pypy -> /opt/pypy2.7-v7.3.0-osx64/bin/pypy
# - /usr/local/bin/pypy3 -> /opt/pypy3.6-v7.3.0-osx64/bin/pypy3
envlist =
py{27,34,35,36,37,38,39,310}-wrapt{1.10,1.11,1.12,1.13}
py{27,34,35,36,37,38,39,310,311}-wrapt{1.10,1.11,1.12,1.13}
pypy, pypy3
docs

[testenv]
commands = pytest --cov-report term-missing --cov=deprecated tests/
deps =
py27,py34,py35: pip >= 9.0.3, < 21
py27,py34: PyTest < 5
py35,py36,py37,py38,py39,pypy,pypy3: PyTest
py27,py34: PyTest-Cov < 2.6
py{27,34,35}: pip >= 9.0.3, < 21
py{27,34}: PyTest < 5
py{35,36,37,38,39,310,311,py,py3}: PyTest
py{27,34}: PyTest-Cov < 2.6
py34: typing # required by pytest->attrs
py35,py36,py37,py38,py39,py310,pypy,pypy3: PyTest-Cov
py{35,36,37,38,39,310,311,py,py3}: PyTest-Cov
wrapt1.10: wrapt ~= 1.10.0
wrapt1.11: wrapt ~= 1.11.0
wrapt1.12: wrapt ~= 1.12.0
Expand Down