Skip to content

Commit

Permalink
Add support for Python 3.11, drop EOL 3.6 (#2332)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 25, 2022
1 parent 7d3c3f0 commit 1e2f10d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -9,7 +9,7 @@ jobs:
name: test (Python ${{ matrix.python-version }})
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -28,4 +28,4 @@ repos:
hooks:
- id: pyupgrade
args:
- --py36-plus
- --py37-plus
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -106,7 +106,7 @@ You may also want to investigate `tox` to run tests:

```
pip install tox
tox -epy36
tox -epy310
```

## Build documentation locally
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -96,14 +96,14 @@
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Topic :: Software Development",
],
python_requires=">=3.6",
python_requires=">=3.7",
install_requires=[
"deprecated",
"pyjwt>=2.0",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
@@ -1,16 +1,16 @@
[tox]
envlist =
lint,
py{36,37,38,39,310},
py{37,38,39,310,311},
docs

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, docs, lint
3.9: py39
3.10: py310
3.11: py311

[testenv]
deps = -rtest-requirements.txt
Expand Down

0 comments on commit 1e2f10d

Please sign in to comment.