Skip to content

Commit b176463

Browse files
committed
Enable support for py313
Related: ansible/team-devtools#229
1 parent 652cd70 commit b176463

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/workflows/tox.yml

+8
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@ concurrency:
1717
jobs:
1818
tox:
1919
uses: ansible/team-devtools/.github/workflows/tox.yml@main
20+
with:
21+
max_python: "3.13"
22+
jobs_producing_coverage: 7
23+
other_names: |
24+
docs
25+
lint
26+
pkg
27+
py313-milestone

tests/test_params.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ def test_plugin_help(pytester): # type: ignore[no-untyped-def] # noqa: ANN001,
3333
# Check for the github args section header
3434
"pytest-ansible:",
3535
# Check for the specific args
36-
" --inventory=ANSIBLE_INVENTORY, --ansible-inventory=ANSIBLE_INVENTORY",
37-
" --host-pattern=ANSIBLE_HOST_PATTERN, --ansible-host-pattern=ANSIBLE_HOST_PATTERN",
38-
" --connection=ANSIBLE_CONNECTION, --ansible-connection=ANSIBLE_CONNECTION",
39-
" --user=ANSIBLE_USER, --ansible-user=ANSIBLE_USER",
36+
" --inventory*, --ansible-inventory=ANSIBLE_INVENTORY",
37+
" --host-pattern*, --ansible-host-pattern=ANSIBLE_HOST_PATTERN",
38+
" --connection*, --ansible-connection=ANSIBLE_CONNECTION",
39+
" --user*, --ansible-user=ANSIBLE_USER",
4040
" --check, --ansible-check",
41-
" --module-path=ANSIBLE_MODULE_PATH, --ansible-module-path=ANSIBLE_MODULE_PATH",
41+
" --module-path*, --ansible-module-path=ANSIBLE_MODULE_PATH",
4242
" --become, --ansible-become",
43-
" --become-method=ANSIBLE_BECOME_METHOD, --ansible-become-method=ANSIBLE_BECOME_METHOD", # noqa: E501
44-
" --become-user=ANSIBLE_BECOME_USER, --ansible-become-user=ANSIBLE_BECOME_USER",
45-
" --ask-become-pass=ANSIBLE_ASK_BECOME_PASS, --ansible-ask-become-pass=ANSIBLE_ASK_BECOME_PASS", # noqa: E501
43+
" --become-method*, --ansible-become-method=ANSIBLE_BECOME_METHOD",
44+
" --become-user*, --ansible-become-user=ANSIBLE_BECOME_USER",
45+
" --ask-become-pass*, --ansible-ask-become-pass=ANSIBLE_ASK_BECOME_PASS",
4646
# Check for the marker in --help
4747
" ansible (args)*Ansible integration",
4848
],

0 commit comments

Comments
 (0)