Skip to content

Commit

Permalink
Add support for Python 3.11
Browse files Browse the repository at this point in the history
Add support for Python 3.11
  • Loading branch information
JAVGan committed Mar 11, 2024
1 parent 0f815a1 commit 9c69b5c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ python3.10:
script:
- tox -e py310

python3.11:
<<: *common
stage: unit-tests
script:
- tox -e py311

azure schemas:
<<: *common
stage: sanity
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ To automatically format your code you man run `tox -e autoformat`.

### Unit tests

To run unit tests use `tox -e py38,py39,py310`.
To run unit tests use `tox -e py38,py39,py310,py311`.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
install_requires=[
'attrs',
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 = pip-compile, docs, lint, mypy, security, py38, py39, py310
envlist = pip-compile, docs, lint, mypy, security, py38, py39, py310, py311

[testenv]
envdir = {toxworkdir}/shared-environment
Expand Down

0 comments on commit 9c69b5c

Please sign in to comment.