Skip to content

Commit

Permalink
Merge pull request #339 from hugovk/add-3.11
Browse files Browse the repository at this point in the history
Add support for Python 3.11
  • Loading branch information
pquentin authored Nov 6, 2022
2 parents 1aff2e6 + 1c6499b commit 9f2c1f2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: "actions/checkout@v3"

- name: "Setup Python"
uses: "actions/setup-python@v3"
uses: "actions/setup-python@v4"
with:
python-version: "3.x"
cache: "pip"
Expand All @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"]
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
os:
- macos-latest
- windows-latest
Expand All @@ -44,7 +44,7 @@ jobs:
uses: "actions/checkout@v3"

- name: "Setup Python ${{ matrix.python-version }}"
uses: "actions/setup-python@v3"
uses: "actions/setup-python@v4"
with:
python-version: ${{ matrix.python-version }}
# Fails on Python 2 + Windows
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ def get_version():
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'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 :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py37,py38,py39,py310,pypy,pypy3,{py27,py37}-flake8,noopenssl,docstrings
envlist = py{27,37,38,39,310,311,py,py3},py{27,37}-flake8,noopenssl,docstrings

[gh-actions]
python =
Expand All @@ -8,6 +8,7 @@ python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311

[testenv]
pip_pre = False
Expand Down

0 comments on commit 9f2c1f2

Please sign in to comment.