Skip to content

Commit

Permalink
Add support for Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Jul 15, 2022
1 parent 6d4ef41 commit f4ea257
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
PREFIX: PYTEST_REQPASS=461
python-version: "3.10"
cover: true
- tox_env: py311
os: ubuntu-20.04
python-version: "~3.11.0-0" # see https://github.com/actions/setup-python/issues/213#issuecomment-1146676713
cover: true
- tox_env: py38-devel
PREFIX: PYTEST_REQPASS=461
python-version: 3.8
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ repos:
entry: mypy src/
pass_filenames: false
additional_dependencies:
- ansible-compat>=2.1.0
- ansible-compat>=2.2.0
- click>=8.0.1
- enrich>=1.2.7
- importlib-metadata>=4.6.1
Expand All @@ -91,7 +91,7 @@ repos:
hooks:
- id: pylint
additional_dependencies:
- ansible-compat>=2.1.0
- ansible-compat>=2.2.0
- cerberus
- click
- click-help-colors
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
alabaster==0.7.12
ansi2html==1.7.0
ansible-compat==2.1.0
ansible-compat==2.2.0
ansible-core==2.13.1
ansible-pygments==0.1.1
arrow==1.2.2
Expand Down Expand Up @@ -52,7 +52,7 @@ pytest==7.1.2
pytest-cov==3.0.0
pytest-forked==1.4.0
pytest-html==3.1.1
pytest-metadata==2.0.1
pytest-metadata==2.0.2
pytest-mock==3.7.0
pytest-plus==0.2
pytest-testinfra==6.7.0
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11

Topic :: System :: Systems Administration
Topic :: Utilities
Expand All @@ -57,7 +58,7 @@ zip_safe = False

# These are required in actual runtime:
install_requires =
ansible-compat >= 2.1.0
ansible-compat >= 2.2.0
cerberus >= 1.3.1, !=1.3.3, !=1.3.4
click >= 8.0, < 9
click-help-colors >= 0.9
Expand Down

0 comments on commit f4ea257

Please sign in to comment.