Skip to content

Commit

Permalink
Add support for python 3.12 (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Oct 11, 2023
1 parent 7ae09fc commit 91e9dab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: coactions/dynamic-matrix@v1
with:
min_python: "3.9"
max_python: "3.11"
max_python: "3.12"
other_names: |
lint
docs
Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python",
"Topic :: System :: Systems Administration",
"Topic :: Software Development :: Bug Tracking",
Expand Down Expand Up @@ -119,7 +120,12 @@ disable = [

[tool.pytest.ini_options]
# ensure we treat warnings as error
filterwarnings = ["error"]
filterwarnings = [
"error",
# py312 ansible-core
# https://github.com/ansible/ansible/issues/81906
"ignore:'importlib.abc.TraversableResources' is deprecated and slated for removal in Python 3.14:DeprecationWarning",
]
testpaths = ["test"]

[tool.ruff]
Expand Down

0 comments on commit 91e9dab

Please sign in to comment.