Skip to content

Commit

Permalink
Added support for Python 3.11 and 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
fschulze committed Sep 29, 2024
1 parent 8ee74c3 commit 03dd4fe
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
- python-version: "3.10"
tox-envs: "py310-ansiblecore211,py310-ansiblecore212,py310-ansiblecore213,py310-ansiblecore214,py310-ansiblecore215,py310-ansiblecore216,py310-ansiblecore217"
continue-on-error: false
- python-version: "3.11"
tox-envs: "py311-ansiblecore211,py311-ansiblecore212,py311-ansiblecore213,py311-ansiblecore214,py311-ansiblecore215,py311-ansiblecore216,py311-ansiblecore217"
continue-on-error: false
- python-version: "3.12"
tox-envs: "py312-ansiblecore213,py312-ansiblecore214,py312-ansiblecore215,py312-ansiblecore216,py312-ansiblecore217"
continue-on-error: false

steps:
- uses: "actions/checkout@v4"
Expand Down
3 changes: 3 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
2.1.0 - Unreleased
------------------

* Added support for Python 3.11 and 3.12.
[fschulze]

* Made ``execnet_connection`` multiprocessing aware, which avoids repeated SSH connections.
[fschulze]

Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: System :: Installation/Setup',
'Topic :: System :: Systems Administration']

Expand All @@ -28,7 +30,9 @@
'ploy >= 2.0.0',
'ansible>=1.9,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*;python_version<"3.0"',
'ansible>=2.4;python_version>="3.0" and python_version<"3.10"',
'ansible-core;python_version>="3.10"']
'ansible-core;python_version>="3.10"',
'ansible-core>=2.13;python_version>="3.12"',
]


setuptools.setup(
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ envlist =
py38{,-ansible25,-ansible26,-ansible27,-ansible28,-ansible29,-ansible210},
py39{,-ansible25,-ansible26,-ansible27,-ansible28,-ansible29,-ansible210}
py310{,-ansiblecore211,-ansiblecore212,-ansiblecore213,-ansiblecore214,-ansiblecore215,-ansiblecore216,-ansiblecore217}
py311{,-ansiblecore211,-ansiblecore212,-ansiblecore213,-ansiblecore214,-ansiblecore215,-ansiblecore216,-ansiblecore217}
py312{,-ansiblecore213,-ansiblecore214,-ansiblecore215,-ansiblecore216,-ansiblecore217}
requires = virtualenv<20.22.0


Expand Down

0 comments on commit 03dd4fe

Please sign in to comment.