Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-ansible for
openSUSE:Factory checked in at 2025-06-30 14:01:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-ansible (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-ansible.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-ansible"
Mon Jun 30 14:01:45 2025 rev:16 rq:1289213 version:25.6.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-ansible/python-pytest-ansible.changes
2025-05-30 17:26:23.337891445 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-ansible.new.7067/python-pytest-ansible.changes
2025-06-30 14:02:13.605017415 +0200
@@ -1,0 +2,12 @@
+Mon Jun 30 08:11:07 UTC 2025 - Johannes Kastl
<[email protected]>
+
+- Update to version 25.6.0:
+ * Deprecate features no longer supported with ansible-core 2.19
+ (#467)
+ * Bump the dependencies group in /.config with 12 updates (#464)
+ * Bump the dependencies group in /.config with 3 updates (#463)
+ * Bump the dependencies group in /.config with 5 updates (#462)
+ * chore: pre-commit autoupdate (#461)
+ * Bump the dependencies group in /.config with 4 updates (#460)
+
+-------------------------------------------------------------------
Old:
----
pytest-ansible-25.5.0.obscpio
New:
----
pytest-ansible-25.6.0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-ansible.spec ++++++
--- /var/tmp/diff_new_pack.ck4L7N/_old 2025-06-30 14:02:14.405050353 +0200
+++ /var/tmp/diff_new_pack.ck4L7N/_new 2025-06-30 14:02:14.409050517 +0200
@@ -44,7 +44,7 @@
%endif
Name: python-pytest-ansible
-Version: 25.5.0
+Version: 25.6.0
Release: 0
Summary: Plugin for pytest to simplify calling ansible modules from
tests or fixtures
License: MIT
++++++ _service ++++++
--- /var/tmp/diff_new_pack.ck4L7N/_old 2025-06-30 14:02:14.453052329 +0200
+++ /var/tmp/diff_new_pack.ck4L7N/_new 2025-06-30 14:02:14.457052493 +0200
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param
name="url">https://github.com/ansible-community/pytest-ansible</param>
<param name="scm">git</param>
- <param name="revision">v25.5.0</param>
+ <param name="revision">v25.6.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.ck4L7N/_old 2025-06-30 14:02:14.481053482 +0200
+++ /var/tmp/diff_new_pack.ck4L7N/_new 2025-06-30 14:02:14.485053646 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/ansible-community/pytest-ansible</param>
- <param
name="changesrevision">1466e469f5a88eef269ae0edf8c61307f6fbf97c</param></service></servicedata>
+ <param
name="changesrevision">bd688be970a06256f426fab736a7ee81f5242bc0</param></service></servicedata>
(No newline at EOF)
++++++ pytest-ansible-25.5.0.obscpio -> pytest-ansible-25.6.0.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/.config/constraints.txt
new/pytest-ansible-25.6.0/.config/constraints.txt
--- old/pytest-ansible-25.5.0/.config/constraints.txt 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/.config/constraints.txt 2025-06-26
18:06:02.000000000 +0200
@@ -1,16 +1,16 @@
# This file was autogenerated by uv via the following command:
# tox run deps
-ansible-compat==25.5.0 # via molecule, pytest-ansible (pyproject.toml)
-astroid==3.3.10 # via pylint
+ansible-compat==25.6.0 # via molecule, pytest-ansible (pyproject.toml)
+astroid==3.3.10 # via pylint
attrs==25.3.0 # via jsonschema, referencing
babel==2.17.0 # via mkdocs-material
backrefs==5.8 # via mkdocs-material
beautifulsoup4==4.13.4 # via linkchecker, mkdocs-htmlproofer-plugin
bracex==2.5.post1 # via wcmatch
-cachetools==6.0.0 # via tox
+cachetools==6.1.0 # via tox
cairocffi==1.7.1 # via cairosvg
-cairosvg==2.8.2 # via mkdocs-ansible
-certifi==2025.4.26 # via requests
+cairosvg==2.7.1 # via mkdocs-ansible
+certifi==2025.6.15 # via requests
cffi==1.17.1 # via cairocffi, cryptography
cfgv==3.4.0 # via pre-commit
chardet==5.2.0 # via tox
@@ -18,8 +18,8 @@
click==8.2.1 # via click-help-colors, mkdocs, molecule, pydoclint
click-help-colors==0.9.4 # via molecule
colorama==0.4.6 # via griffe, mkdocs-material, tox
-coverage==7.8.2 # via pytest-ansible (pyproject.toml)
-cryptography==45.0.3 # via ansible-core
+coverage==7.9.1 # via pytest-ansible (pyproject.toml)
+cryptography==45.0.4 # via ansible-core
csscompressor==0.9.5 # via mkdocs-minify-plugin
cssselect2==0.8.0 # via cairosvg
defusedxml==0.7.1 # via cairosvg
@@ -35,16 +35,16 @@
griffe==1.7.3 # via mkdocstrings-python
hjson==3.1.0 # via mkdocs-macros-plugin, super-collections
htmlmin2==0.1.13 # via mkdocs-minify-plugin
-identify==2.6.12 # via pre-commit
+identify==2.6.12 # via pre-commit
idna==3.10 # via requests
iniconfig==2.1.0 # via pytest
isort==6.0.1 # via pylint
jinja2==3.1.6 # via ansible-core, mkdocs, mkdocs-macros-plugin,
mkdocs-material, mkdocstrings, molecule
jsmin==3.0.1 # via mkdocs-minify-plugin
-jsonschema==4.23.0 # via ansible-compat, molecule
+jsonschema==4.24.0 # via ansible-compat, molecule
jsonschema-specifications==2025.4.1 # via jsonschema
linkchecker==10.5.0 # via mkdocs-ansible
-markdown==3.8 # via markdown-include, mkdocs, mkdocs-autorefs,
mkdocs-htmlproofer-plugin, mkdocs-material, mkdocstrings, pymdown-extensions
+markdown==3.8.2 # via markdown-include, mkdocs, mkdocs-autorefs,
mkdocs-htmlproofer-plugin, mkdocs-material, mkdocstrings, pymdown-extensions
markdown-exec==1.10.3 # via mkdocs-ansible
markdown-include==0.8.1 # via mkdocs-ansible
markdown-it-py==3.0.0 # via rich
@@ -59,14 +59,14 @@
mkdocs-get-deps==0.2.0 # via mkdocs
mkdocs-htmlproofer-plugin==1.3.0 # via mkdocs-ansible
mkdocs-macros-plugin==1.3.7 # via mkdocs-ansible
-mkdocs-material==9.6.14 # via mkdocs-ansible
+mkdocs-material==9.6.14 # via mkdocs-ansible
mkdocs-material-extensions==1.3.1 # via mkdocs-ansible, mkdocs-material
mkdocs-minify-plugin==0.8.0 # via mkdocs-ansible
-mkdocs-monorepo-plugin==1.1.0 # via mkdocs-ansible
+mkdocs-monorepo-plugin==1.1.2 # via mkdocs-ansible
mkdocstrings==0.29.1 # via mkdocs-ansible, mkdocstrings-python
-mkdocstrings-python==1.16.11 # via mkdocs-ansible
-molecule==25.5.0 # via pytest-ansible (pyproject.toml)
-mypy==1.15.0 # via pytest-ansible (pyproject.toml)
+mkdocstrings-python==1.16.12 # via mkdocs-ansible
+molecule==25.6.0 # via pytest-ansible (pyproject.toml)
+mypy==1.16.1 # via pytest-ansible (pyproject.toml)
mypy-extensions==1.1.0 # via mypy
nodeenv==1.9.1 # via pre-commit
packaging==25.0 # via ansible-compat, ansible-core, mkdocs,
mkdocs-macros-plugin, molecule, pyproject-api, pytest, tox, pytest-ansible
(pyproject.toml)
@@ -78,23 +78,23 @@
pre-commit==4.2.0 # via pytest-ansible (pyproject.toml)
pycparser==2.22 # via cffi
pydoclint==0.6.6 # via pytest-ansible (pyproject.toml)
-pygments==2.19.1 # via mkdocs-material, rich
+pygments==2.19.2 # via mkdocs-material, rich
pylint==3.3.7 # via pytest-ansible (pyproject.toml)
-pymdown-extensions==10.15 # via markdown-exec, mkdocs-ansible,
mkdocs-material, mkdocstrings
+pymdown-extensions==10.16 # via markdown-exec, mkdocs-ansible,
mkdocs-material, mkdocstrings
pyproject-api==1.9.1 # via tox
-pytest==8.3.5 # via pytest-github-actions-annotate-failures,
pytest-plus, pytest-xdist, pytest-ansible (pyproject.toml)
+pytest==8.4.1 # via pytest-github-actions-annotate-failures,
pytest-plus, pytest-xdist, pytest-ansible (pyproject.toml)
pytest-github-actions-annotate-failures==0.3.0 # via pytest-ansible
(pyproject.toml)
pytest-plus==0.8.1 # via pytest-ansible (pyproject.toml)
-pytest-xdist==3.6.1 # via pytest-ansible (pyproject.toml)
+pytest-xdist==3.7.0 # via pytest-ansible (pyproject.toml)
python-dateutil==2.9.0.post0 # via ghp-import, mkdocs-macros-plugin
python-slugify==8.0.4 # via mkdocs-monorepo-plugin
pyyaml==6.0.2 # via ansible-compat, ansible-core, mkdocs,
mkdocs-get-deps, mkdocs-macros-plugin, molecule, pre-commit,
pymdown-extensions, pyyaml-env-tag
pyyaml-env-tag==1.1 # via mkdocs
referencing==0.36.2 # via jsonschema, jsonschema-specifications
-requests==2.32.3 # via linkchecker, mkdocs-htmlproofer-plugin,
mkdocs-material
+requests==2.32.4 # via linkchecker, mkdocs-htmlproofer-plugin,
mkdocs-material
rich==14.0.0 # via enrich, molecule
rpds-py==0.25.1 # via jsonschema, referencing
-ruff==0.11.11 # via pytest-ansible (pyproject.toml)
+ruff==0.12.0 # via pytest-ansible (pyproject.toml)
six==1.17.0 # via python-dateutil
soupsieve==2.7 # via beautifulsoup4
subprocess-tee==0.4.2 # via ansible-compat
@@ -104,10 +104,10 @@
tinycss2==1.4.0 # via cairosvg, cssselect2
toml-sort==0.24.2 # via pytest-ansible (pyproject.toml)
tomli==2.2.1 # via coverage, mypy, pydoclint, pylint,
pyproject-api, pytest, tox
-tomlkit==0.13.2 # via pylint, toml-sort
-tox==4.26.0 # via pytest-ansible (pyproject.toml)
+tomlkit==0.13.3 # via pylint, toml-sort
+tox==4.27.0 # via pytest-ansible (pyproject.toml)
types-pyyaml==6.0.12.20250516 # via pytest-ansible (pyproject.toml)
-urllib3==2.4.0 # via requests
+urllib3==2.5.0 # via requests
virtualenv==20.31.2 # via pre-commit, tox
watchdog==6.0.0 # via mkdocs
wcmatch==10.0 # via molecule
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/.git/HEAD
new/pytest-ansible-25.6.0/.git/HEAD
--- old/pytest-ansible-25.5.0/.git/HEAD 2025-05-26 12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/.git/HEAD 2025-06-26 18:06:02.000000000 +0200
@@ -1 +1 @@
-1466e469f5a88eef269ae0edf8c61307f6fbf97c
+bd688be970a06256f426fab736a7ee81f5242bc0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/.git/ORIG_HEAD
new/pytest-ansible-25.6.0/.git/ORIG_HEAD
--- old/pytest-ansible-25.5.0/.git/ORIG_HEAD 2025-05-26 12:56:36.000000000
+0200
+++ new/pytest-ansible-25.6.0/.git/ORIG_HEAD 2025-06-26 18:06:02.000000000
+0200
@@ -1 +1 @@
-1466e469f5a88eef269ae0edf8c61307f6fbf97c
+bd688be970a06256f426fab736a7ee81f5242bc0
Binary files old/pytest-ansible-25.5.0/.git/index and
new/pytest-ansible-25.6.0/.git/index differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/.git/logs/HEAD
new/pytest-ansible-25.6.0/.git/logs/HEAD
--- old/pytest-ansible-25.5.0/.git/logs/HEAD 2025-05-26 12:56:36.000000000
+0200
+++ new/pytest-ansible-25.6.0/.git/logs/HEAD 2025-06-26 18:06:02.000000000
+0200
@@ -1,2 +1,2 @@
-0000000000000000000000000000000000000000
1466e469f5a88eef269ae0edf8c61307f6fbf97c kastl <kastl@baten.(none)> 1748496843
+0200 clone: from https://github.com/ansible-community/pytest-ansible
-1466e469f5a88eef269ae0edf8c61307f6fbf97c
1466e469f5a88eef269ae0edf8c61307f6fbf97c kastl <kastl@baten.(none)> 1748496843
+0200 checkout: moving from main to v25.5.0
+0000000000000000000000000000000000000000
a08dddbf83825bad218a9eb26e6c53a701da5c6c kastl <[email protected]>
1751271067 +0200 clone: from https://github.com/ansible-community/pytest-ansible
+a08dddbf83825bad218a9eb26e6c53a701da5c6c
bd688be970a06256f426fab736a7ee81f5242bc0 kastl <[email protected]>
1751271067 +0200 checkout: moving from main to v25.6.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/.git/logs/refs/heads/main
new/pytest-ansible-25.6.0/.git/logs/refs/heads/main
--- old/pytest-ansible-25.5.0/.git/logs/refs/heads/main 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/.git/logs/refs/heads/main 2025-06-26
18:06:02.000000000 +0200
@@ -1 +1 @@
-0000000000000000000000000000000000000000
1466e469f5a88eef269ae0edf8c61307f6fbf97c kastl <kastl@baten.(none)> 1748496843
+0200 clone: from https://github.com/ansible-community/pytest-ansible
+0000000000000000000000000000000000000000
a08dddbf83825bad218a9eb26e6c53a701da5c6c kastl <[email protected]>
1751271067 +0200 clone: from https://github.com/ansible-community/pytest-ansible
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-ansible-25.5.0/.git/logs/refs/remotes/origin/HEAD
new/pytest-ansible-25.6.0/.git/logs/refs/remotes/origin/HEAD
--- old/pytest-ansible-25.5.0/.git/logs/refs/remotes/origin/HEAD
2025-05-26 12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/.git/logs/refs/remotes/origin/HEAD
2025-06-26 18:06:02.000000000 +0200
@@ -1 +1 @@
-0000000000000000000000000000000000000000
1466e469f5a88eef269ae0edf8c61307f6fbf97c kastl <kastl@baten.(none)> 1748496843
+0200 clone: from https://github.com/ansible-community/pytest-ansible
+0000000000000000000000000000000000000000
a08dddbf83825bad218a9eb26e6c53a701da5c6c kastl <[email protected]>
1751271067 +0200 clone: from https://github.com/ansible-community/pytest-ansible
Binary files
old/pytest-ansible-25.5.0/.git/objects/pack/pack-306d131a4893f464fcb1ae3ff9114e0636b1f8c4.idx
and
new/pytest-ansible-25.6.0/.git/objects/pack/pack-306d131a4893f464fcb1ae3ff9114e0636b1f8c4.idx
differ
Binary files
old/pytest-ansible-25.5.0/.git/objects/pack/pack-306d131a4893f464fcb1ae3ff9114e0636b1f8c4.pack
and
new/pytest-ansible-25.6.0/.git/objects/pack/pack-306d131a4893f464fcb1ae3ff9114e0636b1f8c4.pack
differ
Binary files
old/pytest-ansible-25.5.0/.git/objects/pack/pack-306d131a4893f464fcb1ae3ff9114e0636b1f8c4.rev
and
new/pytest-ansible-25.6.0/.git/objects/pack/pack-306d131a4893f464fcb1ae3ff9114e0636b1f8c4.rev
differ
Binary files
old/pytest-ansible-25.5.0/.git/objects/pack/pack-582e381a7011c431e2cd90627ede0a4ae06f7b64.idx
and
new/pytest-ansible-25.6.0/.git/objects/pack/pack-582e381a7011c431e2cd90627ede0a4ae06f7b64.idx
differ
Binary files
old/pytest-ansible-25.5.0/.git/objects/pack/pack-582e381a7011c431e2cd90627ede0a4ae06f7b64.pack
and
new/pytest-ansible-25.6.0/.git/objects/pack/pack-582e381a7011c431e2cd90627ede0a4ae06f7b64.pack
differ
Binary files
old/pytest-ansible-25.5.0/.git/objects/pack/pack-582e381a7011c431e2cd90627ede0a4ae06f7b64.rev
and
new/pytest-ansible-25.6.0/.git/objects/pack/pack-582e381a7011c431e2cd90627ede0a4ae06f7b64.rev
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/.git/packed-refs
new/pytest-ansible-25.6.0/.git/packed-refs
--- old/pytest-ansible-25.5.0/.git/packed-refs 2025-05-26 12:56:36.000000000
+0200
+++ new/pytest-ansible-25.6.0/.git/packed-refs 2025-06-26 18:06:02.000000000
+0200
@@ -1,6 +1,6 @@
# pack-refs with: peeled fully-peeled sorted
64d8b204b589dd76babddd103f31047768871c7a refs/remotes/origin/coverage_used
-1466e469f5a88eef269ae0edf8c61307f6fbf97c refs/remotes/origin/main
+a08dddbf83825bad218a9eb26e6c53a701da5c6c refs/remotes/origin/main
15f680480c7bac9ef1694fc7334d8a42aa158c75 refs/remotes/origin/mkdocs
cbd13e8b0fde4e5efa9d240ac1cf065b357be0d1 refs/remotes/origin/pyproject-pytest
1bfd2277ea850f559d2a82c89ecf7046b658ee07 refs/remotes/origin/revert-159-master
@@ -41,6 +41,7 @@
8fe768c6931dba59e1bae3aec7f2651c6ff4c2f7 refs/tags/v25.4.0
46cf3143a157f1e443976053818fc2818fd482af refs/tags/v25.4.1
1466e469f5a88eef269ae0edf8c61307f6fbf97c refs/tags/v25.5.0
+bd688be970a06256f426fab736a7ee81f5242bc0 refs/tags/v25.6.0
cfcb2520db3d18f220802e5adc62eee73891c891 refs/tags/v3.0.0
e03f575aa9334884c65c4ae3b82e383251e40a32 refs/tags/v3.1.0
f8ef52f46554cb4950a2cfa7ef5a2ce9d0865c65 refs/tags/v3.1.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/.git/refs/heads/main
new/pytest-ansible-25.6.0/.git/refs/heads/main
--- old/pytest-ansible-25.5.0/.git/refs/heads/main 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/.git/refs/heads/main 2025-06-26
18:06:02.000000000 +0200
@@ -1 +1 @@
-1466e469f5a88eef269ae0edf8c61307f6fbf97c
+a08dddbf83825bad218a9eb26e6c53a701da5c6c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/.pre-commit-config.yaml
new/pytest-ansible-25.6.0/.pre-commit-config.yaml
--- old/pytest-ansible-25.5.0/.pre-commit-config.yaml 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/.pre-commit-config.yaml 2025-06-26
18:06:02.000000000 +0200
@@ -28,7 +28,7 @@
)$
- repo: https://github.com/rbubley/mirrors-prettier
- rev: v3.5.3
+ rev: v3.6.1
hooks:
- id: prettier
always_run: true
@@ -48,7 +48,7 @@
- id: tox-ini-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.11.8
+ rev: v0.11.12
hooks:
- id: ruff
args:
@@ -59,13 +59,13 @@
types_or: [python, pyi]
- repo: https://github.com/streetsidesoftware/cspell-cli
- rev: v8.19.1
+ rev: v9.0.1
hooks:
- id: cspell
name: Spell check with cspell
- repo: https://github.com/jsh9/pydoclint
- rev: "0.6.6"
+ rev: "0.6.7"
hooks:
- id: pydoclint
# This allows automatic reduction of the baseline file when needed.
@@ -87,7 +87,7 @@
- setuptools
- repo: https://github.com/pre-commit/mirrors-mypy.git
- rev: v1.15.0
+ rev: v1.16.0
hooks:
- id: mypy
additional_dependencies:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/README.md
new/pytest-ansible-25.6.0/README.md
--- old/pytest-ansible-25.5.0/README.md 2025-05-26 12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/README.md 2025-06-26 18:06:02.000000000 +0200
@@ -67,7 +67,6 @@
3. Depending on your preferred directory structure, you can clone collections
into the appropriate paths.
-
- **Collection Tree Approach**: The preferred approach is to clone the
collections being developed into it's proper collection tree path. This
eliminates the need for any symlinks and other collections being developed
@@ -87,7 +86,6 @@
```
Notes:
-
- Run `pytest` in the root of the collection directory, adjacent to the
collection's `galaxy.yml` file.
- A collections directory will be created in the repository directory, and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/docs/getting_started.md
new/pytest-ansible-25.6.0/docs/getting_started.md
--- old/pytest-ansible-25.5.0/docs/getting_started.md 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/docs/getting_started.md 2025-06-26
18:06:02.000000000 +0200
@@ -21,7 +21,6 @@
3. Depending on your preferred directory structure, you can clone collections
into the appropriate paths.
-
- **Collection Tree Approach**: The preferred approach is to clone the
collections being developed into it's proper collection tree path. This
eliminates the need for any symlinks and other collections being developed
@@ -41,7 +40,6 @@
```
Notes:
-
- Run `pytest` in the root of the collection directory, adjacent to the
collection's `galaxy.yml` file.
- A collections directory will be created in the repository directory, and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/mise.toml
new/pytest-ansible-25.6.0/mise.toml
--- old/pytest-ansible-25.5.0/mise.toml 2025-05-26 12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/mise.toml 2025-06-26 18:06:02.000000000 +0200
@@ -1,2 +1,2 @@
[settings]
-idiomatic_version_file_disable_tools = ["python"]
+idiomatic_version_file_enable_tools = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-ansible-25.5.0/src/pytest_ansible/has_version.py
new/pytest-ansible-25.6.0/src/pytest_ansible/has_version.py
--- old/pytest-ansible-25.5.0/src/pytest_ansible/has_version.py 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/src/pytest_ansible/has_version.py 2025-06-26
18:06:02.000000000 +0200
@@ -9,9 +9,8 @@
has_ansible_v2 = parse_version(ansible.__version__) >= parse_version("2.0.0")
has_ansible_v24 = parse_version(ansible.__version__) >= parse_version("2.4.0")
-has_ansible_v28 = parse_version(ansible.__version__) >= parse_version(
- "2.8.0.dev0",
-) or parse_version(ansible.__version__) >= parse_version("2.8.0")
+has_ansible_v28 = parse_version(ansible.__version__) >=
parse_version("2.8.0.dev0")
has_ansible_v29 = parse_version(ansible.__version__) >= parse_version("2.9.0")
has_ansible_v212 = parse_version(ansible.__version__) >=
parse_version("2.12.0")
has_ansible_v213 = parse_version(ansible.__version__) >=
parse_version("2.13.0")
+has_ansible_v219 = parse_version(ansible.__version__) >=
parse_version("2.19.0.dev0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-ansible-25.5.0/src/pytest_ansible/host_manager/base.py
new/pytest-ansible-25.6.0/src/pytest_ansible/host_manager/base.py
--- old/pytest-ansible-25.5.0/src/pytest_ansible/host_manager/base.py
2025-05-26 12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/src/pytest_ansible/host_manager/base.py
2025-06-26 18:06:02.000000000 +0200
@@ -4,7 +4,10 @@
import ansible
+from typing_extensions import deprecated
+
+@deprecated("Host management is deprecated and will be removed in a future
release")
class BaseHostManager:
"""The BaseHostManager class provides a base class for managing ansible
inventory hosts.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/src/pytest_ansible/plugin.py
new/pytest-ansible-25.6.0/src/pytest_ansible/plugin.py
--- old/pytest-ansible-25.5.0/src/pytest_ansible/plugin.py 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/src/pytest_ansible/plugin.py 2025-06-26
18:06:02.000000000 +0200
@@ -5,6 +5,7 @@
import contextlib
import logging
import subprocess
+import warnings
from typing import TYPE_CHECKING
@@ -15,12 +16,15 @@
import ansible.utils.display
import pytest
+from typing_extensions import deprecated
+
from pytest_ansible.fixtures import (
ansible_facts,
fixture_ansible_adhoc,
fixture_ansible_module,
localhost,
)
+from pytest_ansible.has_version import has_ansible_v219
from pytest_ansible.host_manager.utils import get_host_manager
from .molecule import HAS_MOLECULE, MoleculeFile, MoleculeScenario
@@ -233,6 +237,24 @@
return None
+def warn_or_fail(fixture_name: str) -> None:
+ """Give the appropriate feedback to the user when a deprecated fixture is
used.
+
+ Args:
+ fixture_name: The fixture that has been used.
+ """
+ if has_ansible_v219:
+ pytest.exit(
+ f"{fixture_name} fixture not supported on Ansible 2.19+. See
https://github.com/ansible/pytest-ansible/issues/468."
+ )
+ else:
+ warnings.warn(
+ f"{fixture_name} fixture is deprecated and will be removed in a
future release. See https://github.com/ansible/pytest-ansible/issues/468.",
+ DeprecationWarning,
+ stacklevel=2,
+ )
+
+
def pytest_generate_tests(metafunc): # type: ignore[no-untyped-def] # noqa:
ANN001, ANN201
"""Generate tests when specific `ansible_*` fixtures are used by tests.
@@ -240,6 +262,8 @@
pytest.UsageError: If the required --ansible-* parameters were not
provided.
"""
if "ansible_host" in metafunc.fixturenames:
+ warn_or_fail("ansible_host")
+
# assert required --ansible-* parameters were used
PyTestAnsiblePlugin.assert_required_ansible_parameters(metafunc.config) #
type: ignore[no-untyped-call]
try:
@@ -255,6 +279,8 @@
metafunc.parametrize("ansible_host", iter(hosts[h] for h in hosts))
if "ansible_group" in metafunc.fixturenames:
+ warn_or_fail("ansible_group")
+
# assert required --ansible-* parameters were used
PyTestAnsiblePlugin.assert_required_ansible_parameters(metafunc.config) #
type: ignore[no-untyped-call]
try:
@@ -402,6 +428,7 @@
return kwargs
+ @deprecated("Host management is deprecated and will be removed in a future
release")
def initialize(self, config=None, request=None, **kwargs): # type:
ignore[no-untyped-def] # noqa: ANN001, ANN003, ANN201
"""Return an initialized Ansible Host Manager instance."""
ansible_cfg = {}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/tests/conftest.py
new/pytest-ansible-25.6.0/tests/conftest.py
--- old/pytest-ansible-25.5.0/tests/conftest.py 2025-05-26 12:56:36.000000000
+0200
+++ new/pytest-ansible-25.6.0/tests/conftest.py 2025-06-26 18:06:02.000000000
+0200
@@ -4,6 +4,7 @@
import pytest
+from pytest_ansible.has_version import has_ansible_v219
from pytest_ansible.host_manager.utils import get_host_manager
@@ -173,3 +174,8 @@
return get_host_manager(**kwargs)
return create_host_manager
+
+
+skip_ansible_219 = pytest.mark.skipif(
+ has_ansible_v219, reason="Functionality is unsupported on Ansible 2.19+"
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/tests/test_adhoc.py
new/pytest-ansible-25.6.0/tests/test_adhoc.py
--- old/pytest-ansible-25.5.0/tests/test_adhoc.py 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/tests/test_adhoc.py 2025-06-26
18:06:02.000000000 +0200
@@ -4,6 +4,8 @@
import pytest
+from .conftest import skip_ansible_219
+
# pylint: disable=unused-import
try:
@@ -24,7 +26,7 @@
EXIT_NOTESTSCOLLECTED = ExitCode.NO_TESTS_COLLECTED
[email protected]
+@skip_ansible_219
def test_contacted_with_params(pytester, option): # type:
ignore[no-untyped-def] # noqa: ANN001, ANN201
"""FIXME."""
src = """
@@ -54,7 +56,7 @@
assert result.parseoutcomes()["passed"] == 1
[email protected]
+@skip_ansible_219
def test_contacted_with_params_and_inventory_marker(pytester, option): #
type: ignore[no-untyped-def] # noqa: ANN001, ANN201
"""FIXME."""
src = f"""
@@ -80,7 +82,7 @@
assert result.parseoutcomes()["passed"] == 1
[email protected]
+@skip_ansible_219
def test_contacted_with_params_and_host_pattern_marker(pytester, option): #
type: ignore[no-untyped-def] # noqa: ANN001, ANN201
"""FIXME."""
src = """
@@ -111,7 +113,7 @@
assert result.parseoutcomes()["passed"] == 1
[email protected]
+@skip_ansible_219
def test_contacted_with_params_and_inventory_host_pattern_marker(pytester,
option): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201
"""FIXME."""
src = f"""
@@ -142,7 +144,7 @@
assert result.parseoutcomes()["passed"] == 1
[email protected]
+@skip_ansible_219
def test_become(pytester, option): # type: ignore[no-untyped-def] # noqa:
ANN001, ANN201
"""Test --ansible-become* parameters. This test doesn't actually 'sudo',
but verifies that 'sudo' was attempted by asserting
@@ -200,7 +202,7 @@
assert result.parseoutcomes()["passed"] == 1
[email protected]
+@skip_ansible_219
def test_dark_with_params(pytester, option): # type: ignore[no-untyped-def]
# noqa: ANN001, ANN201
"""FIXME."""
src = """
@@ -230,7 +232,7 @@
assert result.parseoutcomes()["passed"] == 1
[email protected]
+@skip_ansible_219
def test_dark_with_params_and_inventory_marker(pytester, option): # type:
ignore[no-untyped-def] # noqa: ANN001, ANN201
"""FIXME."""
src = f"""
@@ -256,7 +258,7 @@
assert result.parseoutcomes()["passed"] == 1
[email protected]
+@skip_ansible_219
def test_dark_with_params_and_host_pattern_marker(pytester, option): # type:
ignore[no-untyped-def] # noqa: ANN001, ANN201
"""FIXME."""
src = """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/tests/test_adhoc_result.py
new/pytest-ansible-25.6.0/tests/test_adhoc_result.py
--- old/pytest-ansible-25.5.0/tests/test_adhoc_result.py 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/tests/test_adhoc_result.py 2025-06-26
18:06:02.000000000 +0200
@@ -8,7 +8,7 @@
from pytest_ansible.results import ModuleResult
-from .conftest import ALL_EXTRA_HOSTS, ALL_HOSTS
+from .conftest import ALL_EXTRA_HOSTS, ALL_HOSTS, skip_ansible_219
invalid_hosts = [
@@ -28,6 +28,7 @@
return create_hosts
+@skip_ansible_219
def test_len(adhoc_result): # type: ignore[no-untyped-def] # noqa: ANN001,
ANN201, D103
adhoc_result_ret, include_extra_inv = adhoc_result()
assert len(adhoc_result_ret) == len(ALL_HOSTS) + len(
@@ -35,6 +36,7 @@
)
+@skip_ansible_219
def test_keys(adhoc_result): # type: ignore[no-untyped-def] # noqa: ANN001,
ANN201, D103
adhoc_result_ret, include_extra_inv = adhoc_result()
assert set(adhoc_result_ret) == set(
@@ -42,6 +44,7 @@
)
+@skip_ansible_219
def test_items(adhoc_result): # type: ignore[no-untyped-def] # noqa: ANN001,
ANN201, D103
adhoc_result_ret, include_extra_inv = adhoc_result()
items = adhoc_result_ret.items()
@@ -54,6 +57,7 @@
assert count == len(ALL_HOSTS + (ALL_EXTRA_HOSTS if include_extra_inv else
[]))
+@skip_ansible_219
def test_values(adhoc_result): # type: ignore[no-untyped-def] # noqa:
ANN001, ANN201, D103
adhoc_result_ret, include_extra_inv = adhoc_result()
values = adhoc_result_ret.values()
@@ -67,6 +71,7 @@
@pytest.mark.parametrize("host", ALL_HOSTS + ALL_EXTRA_HOSTS)
+@skip_ansible_219
def test_contains(adhoc_result, host): # type: ignore[no-untyped-def] #
noqa: ANN001, ANN201, D103
adhoc_result_ret, include_extra_inv = adhoc_result()
if not include_extra_inv and host in ALL_EXTRA_HOSTS:
@@ -76,12 +81,14 @@
@pytest.mark.parametrize("host", invalid_hosts)
+@skip_ansible_219
def test_not_contains(adhoc_result, host): # type: ignore[no-untyped-def] #
noqa: ANN001, ANN201, D103
adhoc_result_ret, dummy = adhoc_result()
assert host not in adhoc_result_ret
@pytest.mark.parametrize("host_pattern", ALL_HOSTS + ALL_EXTRA_HOSTS)
+@skip_ansible_219
def test_getitem(adhoc_result, host_pattern): # type: ignore[no-untyped-def]
# noqa: ANN001, ANN201, D103
adhoc_result_ret, include_extra_inv = adhoc_result()
if not include_extra_inv and host_pattern in ALL_EXTRA_HOSTS:
@@ -93,6 +100,7 @@
@pytest.mark.parametrize("host_pattern", invalid_hosts)
+@skip_ansible_219
def test_not_getitem(adhoc_result, host_pattern): # type:
ignore[no-untyped-def] # noqa: ANN001, ANN201, D103
adhoc_result_ret, dummy = adhoc_result()
with pytest.raises(KeyError):
@@ -100,6 +108,7 @@
@pytest.mark.parametrize("host_pattern", ALL_HOSTS + ALL_EXTRA_HOSTS)
+@skip_ansible_219
def test_getattr(adhoc_result, host_pattern): # type: ignore[no-untyped-def]
# noqa: ANN001, ANN201, D103
adhoc_result_ret, include_extra_inv = adhoc_result()
if not include_extra_inv and host_pattern in ALL_EXTRA_HOSTS:
@@ -110,6 +119,7 @@
@pytest.mark.parametrize("host_pattern", invalid_hosts)
+@skip_ansible_219
def test_not_getattr(adhoc_result, host_pattern): # type:
ignore[no-untyped-def] # noqa: ANN001, ANN201, D103
adhoc_result_ret, dummy = adhoc_result()
assert not hasattr(adhoc_result_ret, host_pattern)
@@ -118,6 +128,7 @@
@pytest.mark.requires_ansible_v2
+@skip_ansible_219
def test_connection_failure_v2(): # type: ignore[no-untyped-def] # noqa:
ANN201, D103
from pytest_ansible.errors import AnsibleConnectionFailure
from pytest_ansible.host_manager.utils import get_host_manager
@@ -142,6 +153,7 @@
@pytest.mark.requires_ansible_v2
+@skip_ansible_219
def test_connection_failure_extra_inventory_v2(): # type:
ignore[no-untyped-def] # noqa: ANN201, D103
from pytest_ansible.errors import AnsibleConnectionFailure
from pytest_ansible.host_manager.utils import get_host_manager
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/tests/test_fixtures.py
new/pytest-ansible-25.6.0/tests/test_fixtures.py
--- old/pytest-ansible-25.5.0/tests/test_fixtures.py 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/tests/test_fixtures.py 2025-06-26
18:06:02.000000000 +0200
@@ -2,6 +2,8 @@
from __future__ import annotations
+from .conftest import skip_ansible_219
+
try:
from _pytest.main import EXIT_OK # type: ignore # noqa: PGH003
@@ -34,6 +36,7 @@
assert result.parseoutcomes()["passed"] == 1
+@skip_ansible_219
def test_ansible_module(pytester, option): # type: ignore[no-untyped-def] #
noqa: ANN001, ANN201, D103
src = """
import pytest
@@ -55,6 +58,7 @@
assert result.parseoutcomes()["passed"] == 1
+@skip_ansible_219
def test_ansible_facts(pytester, option): # type: ignore[no-untyped-def] #
noqa: ANN001, ANN201, D103
src = """
import pytest
@@ -76,6 +80,7 @@
assert result.parseoutcomes()["passed"] == 1
+@skip_ansible_219
def test_localhost(pytester, option): # type: ignore[no-untyped-def] # noqa:
ANN001, ANN201, D103
src = """
import pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/tests/test_func.py
new/pytest-ansible-25.6.0/tests/test_func.py
--- old/pytest-ansible-25.5.0/tests/test_func.py 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/tests/test_func.py 2025-06-26
18:06:02.000000000 +0200
@@ -6,8 +6,11 @@
import pytest
+from .conftest import skip_ansible_219
+
@pytest.mark.ansible(inventory="local,", connection="local",
host_pattern="all")
+@skip_ansible_219
def test_func(ansible_module: Any) -> None: # noqa: ANN401
"""Sample test for ansible module.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/tests/test_host_manager.py
new/pytest-ansible-25.6.0/tests/test_host_manager.py
--- old/pytest-ansible-25.5.0/tests/test_host_manager.py 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/tests/test_host_manager.py 2025-06-26
18:06:02.000000000 +0200
@@ -12,6 +12,7 @@
NEGATIVE_HOST_SLICES,
POSITIVE_HOST_PATTERNS,
POSITIVE_HOST_SLICES,
+ skip_ansible_219,
)
@@ -24,6 +25,7 @@
"include_extra_inventory",
(True, False),
)
+@skip_ansible_219
def test_host_manager_len(hosts, include_extra_inventory): # type:
ignore[no-untyped-def] # noqa: ANN001, ANN201, D103
_hosts = hosts(include_extra_inventory=include_extra_inventory)
assert len(_hosts) == len(ALL_HOSTS) + len(
@@ -35,6 +37,7 @@
"include_extra_inventory",
(True, False),
)
+@skip_ansible_219
def test_host_manager_keys(hosts, include_extra_inventory): # type:
ignore[no-untyped-def] # noqa: ANN001, ANN201, D103
_hosts = hosts(include_extra_inventory=include_extra_inventory)
sorted_keys = _hosts.keys()
@@ -51,6 +54,7 @@
"include_extra_inventory",
(True, False),
)
+@skip_ansible_219
def test_host_manager_contains(host_pattern, num_hosts, hosts,
include_extra_inventory): # type: ignore[no-untyped-def] # noqa: ANN001,
ANN201, ARG001, D103
_hosts = hosts(include_extra_inventory=include_extra_inventory)
if not include_extra_inventory and host_pattern.startswith("extra"):
@@ -64,6 +68,7 @@
NEGATIVE_HOST_PATTERNS,
)
@pytest.mark.parametrize("include_extra_inventory", (True, False))
+@skip_ansible_219
def test_host_manager_not_contains( # type: ignore[no-untyped-def] # noqa:
ANN201, D103
host_pattern, # noqa: ANN001
num_hosts, # noqa: ANN001, ARG001
@@ -82,6 +87,7 @@
"include_extra_inventory",
(True, False),
)
+@skip_ansible_219
def test_host_manager_getitem(host_pattern, num_hosts, hosts,
include_extra_inventory): # type: ignore[no-untyped-def] # noqa: ANN001,
ANN201, ARG001, D103
_hosts = hosts(include_extra_inventory=include_extra_inventory)
if not include_extra_inventory and host_pattern.startswith("extra"):
@@ -117,6 +123,7 @@
"include_extra_inventory",
(True, False),
)
+@skip_ansible_219
def test_host_manager_getattr(host_pattern, num_hosts, hosts,
include_extra_inventory): # type: ignore[no-untyped-def] # noqa: ANN001,
ANN201, ARG001, D103
_hosts = hosts(include_extra_inventory=include_extra_inventory)
if not include_extra_inventory and host_pattern.startswith("extra"):
@@ -133,6 +140,7 @@
"include_extra_inventory",
(True, False),
)
+@skip_ansible_219
def test_host_manager_slice(host_slice, num_hosts, hosts,
include_extra_inventory): # type: ignore[no-untyped-def] # noqa: ANN001,
ANN201, D103
_hosts = hosts(include_extra_inventory=include_extra_inventory)
assert len(_hosts[host_slice]) == num_hosts[include_extra_inventory], (
@@ -163,6 +171,7 @@
"include_extra_inventory",
(True, False),
)
+@skip_ansible_219
def test_host_manager_not_getattr( # type: ignore[no-untyped-def] # noqa:
ANN201, D103
host_pattern, # noqa: ANN001
num_hosts, # noqa: ANN001, ARG001
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-ansible-25.5.0/tests/test_module_dispatcher.py
new/pytest-ansible-25.6.0/tests/test_module_dispatcher.py
--- old/pytest-ansible-25.5.0/tests/test_module_dispatcher.py 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/tests/test_module_dispatcher.py 2025-06-26
18:06:02.000000000 +0200
@@ -4,7 +4,7 @@
import pytest
-from .conftest import NEGATIVE_HOST_PATTERNS, POSITIVE_HOST_PATTERNS
+from .conftest import NEGATIVE_HOST_PATTERNS, POSITIVE_HOST_PATTERNS,
skip_ansible_219
def test_type_error() -> None:
@@ -30,6 +30,7 @@
"include_extra_inventory",
(True, False),
)
+@skip_ansible_219
def test_dispatcher_len(host_pattern, num_hosts, hosts,
include_extra_inventory): # type: ignore[no-untyped-def] # noqa: ANN001,
ANN201, D103
hosts = hosts(include_extra_inventory=include_extra_inventory)
assert len(getattr(hosts, host_pattern)) ==
num_hosts[include_extra_inventory]
@@ -43,6 +44,7 @@
"include_extra_inventory",
(True, False),
)
+@skip_ansible_219
def test_dispatcher_contains(host_pattern, num_hosts, hosts,
include_extra_inventory): # type: ignore[no-untyped-def] # noqa: ANN001,
ANN201, ARG001, D103
hosts = hosts(include_extra_inventory=include_extra_inventory)
assert host_pattern in hosts["all"]
@@ -53,6 +55,7 @@
"include_extra_inventory",
(True, False),
)
+@skip_ansible_219
def test_dispatcher_not_contains( # type: ignore[no-untyped-def] # noqa:
ANN201, D103
host_pattern, # noqa: ANN001
num_hosts, # noqa: ANN001, ARG001
@@ -63,6 +66,7 @@
assert host_pattern not in hosts["all"]
+@skip_ansible_219
def test_ansible_module_error(hosts): # type: ignore[no-untyped-def] # noqa:
ANN001, ANN201
"""Verify that AnsibleModuleError is raised when no such module exists."""
from pytest_ansible.errors import AnsibleModuleError
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/tests/test_params.py
new/pytest-ansible-25.6.0/tests/test_params.py
--- old/pytest-ansible-25.5.0/tests/test_params.py 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/tests/test_params.py 2025-06-26
18:06:02.000000000 +0200
@@ -5,6 +5,8 @@
import ansible
import pytest
+from .conftest import skip_ansible_219
+
# pylint: disable=unused-import
try:
@@ -86,6 +88,7 @@
"ansible_facts",
),
)
+@skip_ansible_219
def test_params_required_when_using_fixture(pytester, option, fixture_name):
# type: ignore[no-untyped-def] # noqa: ANN001, ANN201
"""Verify that ansible parameters are not required if the fixture is
used."""
src = f"""
@@ -126,6 +129,7 @@
@pytest.mark.requires_ansible_v2
+@skip_ansible_219
def test_params_required_without_inventory_with_host_pattern_v2(pytester,
option): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103
src = """
import pytest
@@ -137,6 +141,7 @@
assert result.ret == EXIT_OK
+@skip_ansible_219
def test_param_override_with_marker(pytester, option): # type:
ignore[no-untyped-def] # noqa: ANN001, ANN201, D103
src = """
import pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-ansible-25.5.0/tests/test_plugin.py
new/pytest-ansible-25.6.0/tests/test_plugin.py
--- old/pytest-ansible-25.5.0/tests/test_plugin.py 2025-05-26
12:56:36.000000000 +0200
+++ new/pytest-ansible-25.6.0/tests/test_plugin.py 2025-06-26
18:06:02.000000000 +0200
@@ -7,6 +7,8 @@
from pytest_ansible.plugin import PyTestAnsiblePlugin, pytest_generate_tests
+from .conftest import skip_ansible_219
+
class MockItem:
"""Mock class for item object."""
@@ -57,6 +59,7 @@
self.parametrize = MagicMock()
+@skip_ansible_219
def test_pytest_generate_tests_with_ansible_host(): # type:
ignore[no-untyped-def] # noqa: ANN201, D103
metafunc = MagicMock()
metafunc.fixturenames = ["ansible_host"]
@@ -80,6 +83,7 @@
assert metafunc.parametrize.call_count == 1
+@skip_ansible_219
def test_pytest_generate_tests_with_ansible_group(): # type:
ignore[no-untyped-def] # noqa: ANN201, D103
metafunc = MagicMock()
metafunc.fixturenames = ["ansible_group"]
++++++ pytest-ansible.obsinfo ++++++
--- /var/tmp/diff_new_pack.ck4L7N/_old 2025-06-30 14:02:14.665061057 +0200
+++ /var/tmp/diff_new_pack.ck4L7N/_new 2025-06-30 14:02:14.669061222 +0200
@@ -1,5 +1,5 @@
name: pytest-ansible
-version: 25.5.0
-mtime: 1748256996
-commit: 1466e469f5a88eef269ae0edf8c61307f6fbf97c
+version: 25.6.0
+mtime: 1750953962
+commit: bd688be970a06256f426fab736a7ee81f5242bc0