diff --git a/pytest-testinfra-10.1.1.tar.gz b/pytest-testinfra-10.1.1.tar.gz deleted file mode 100644 index 9bc69f4..0000000 --- a/pytest-testinfra-10.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a876f1453a01b58d94d9d936dd50344c2c01ac7880a2b41d15bdf233aed9cf1f -size 86567 diff --git a/pytest_testinfra-10.2.2.tar.gz b/pytest_testinfra-10.2.2.tar.gz new file mode 100644 index 0000000..78314e9 --- /dev/null +++ b/pytest_testinfra-10.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:537fd5eb88da618c1f461248aa20594cf8d44512e8519b239837e83875e1e9cd +size 76153 diff --git a/python-pytest-testinfra.changes b/python-pytest-testinfra.changes index 7cb49bf..0288c2e 100644 --- a/python-pytest-testinfra.changes +++ b/python-pytest-testinfra.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Jan 23 04:03:00 UTC 2026 - Steve Kowalik + +- Update to 10.2.2: + * Remove crypt lib from testing + * Prevent Paramiko deadlock when test sends more than 2MB to stdout + * Extend backend documentation with a general host spec section + * Fix KeyError in MountPoint.repr() + * Fix systemctl is active + * Extended testing of group_names + * Query all usernames and group names + * Use builtin dict, list and tuple for typing + * Use hatchling instead of setuptools +- Drop patch support-python-313.patch, included upstream. + ------------------------------------------------------------------- Wed Dec 4 06:04:30 UTC 2024 - Steve Kowalik diff --git a/python-pytest-testinfra.spec b/python-pytest-testinfra.spec index af5cc9f..a7f4316 100644 --- a/python-pytest-testinfra.spec +++ b/python-pytest-testinfra.spec @@ -18,24 +18,21 @@ %{?sle15_python_module_pythons} Name: python-pytest-testinfra -Version: 10.1.1 +Version: 10.2.2 Release: 0 Summary: Python module to test infrastructures License: Apache-2.0 URL: https://github.com/pytest-dev/pytest-testinfra -Source: https://files.pythonhosted.org/packages/source/p/pytest-testinfra/pytest-testinfra-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pytest-testinfra/pytest_testinfra-%{version}.tar.gz # PATCH-FIX-OPENSUSE testinfra-parametrize-backends-test.patch -- make backends deselectable which are not available for testing Patch0: testinfra-parametrize-backends-test.patch -# PATCH-FIX-UPSTREAM gh#pytest-dev/pytest-testinfra#764 -Patch1: support-python-313.patch BuildRequires: %{python_module paramiko} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pywinrm} -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module hatch-vcs} BuildRequires: %{python_module tornado} -BuildRequires: %{python_module wheel} BuildRequires: ansible BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -55,11 +52,7 @@ Testinfra is like a Serverspec equivalent in Python, and is written as a plugin to the Pytest test engine. %prep -%autosetup -p1 -n pytest-testinfra-%{version} -# register custom markers for test suite in order to avoid warning clutter -sed -i -e '/\[tool:pytest\]/ a markers = \ - testinfra_hosts\ - destructive' setup.cfg +%autosetup -p1 -n pytest_testinfra-%{version} %build %pyproject_wheel @@ -79,7 +72,7 @@ fi %pytest -ra -k "not ($donttest ${$python_donttest})" test %files %{python_files} -%doc CHANGELOG.rst README.rst +%doc README.rst %license LICENSE %{python_sitelib}/testinfra %{python_sitelib}/pytest_testinfra-%{version}.dist-info