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

(🎁) Support python 3.11 #164

Merged
merged 1 commit into from
Feb 17, 2023
Merged
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
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
matrix:
python-version:
- "pypy-3.8-v7.3.10"
- "3.11"
- "3.10"
- "3.9"
- "3.8"
Expand All @@ -25,7 +26,7 @@ jobs:
- name: Setup Python for tox
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
- name: Install tox
run: python -m pip install tox tox-gh-actions
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/do-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Python for linting
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
- name: Install tox
run: python -m pip install tox tox-gh-actions
- uses: actions/checkout@v3
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers=[
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: Implementation :: CPython',
Expand Down Expand Up @@ -135,7 +136,7 @@ output = 'coverage.xml'

[tool.black]
line-length = 79
target-version = ['py37', 'py38', 'py39', 'py310']
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
Expand Down Expand Up @@ -174,6 +175,7 @@ envlist =
py38
py39
py310
py311
pypy3
coverage
style
Expand All @@ -187,6 +189,7 @@ python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
pypy-3.8: pypy3

[testenv]
Expand Down Expand Up @@ -223,7 +226,7 @@ commands =
coverage combine
coverage report -m
coverage xml -o {toxworkdir}/coverage.xml
depends = py37, py38, py39, py310, pypy3
depends = py37, py38, py39, py310, py311, pypy3

[testenv:style]
description = run autoformatters and style checkers
Expand Down