Skip to content

Commit

Permalink
Add support for Python 3.11 (#3621)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
ssbarnea and pre-commit-ci[bot] committed Jul 18, 2022
1 parent 4a54848 commit 7beca93
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tox.yml
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
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
5 changes: 4 additions & 1 deletion pyproject.toml
Expand Up @@ -43,8 +43,11 @@ junit_suite_name = "molecule_test_suite"
testpaths = "src/molecule/test/"
filterwarnings = [
# treat warnings as errors unless we add them below
"error"
"error",
# https://github.com/certifi/python-certifi/pull/193
"ignore:path is deprecated.*:DeprecationWarning",
# ignore::UserWarning

]

[tool.setuptools_scm]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
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
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 7beca93

Please sign in to comment.