forked from pool/python-pytest-testinfra
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0429cca854 | |||
| f7d8d920bc | |||
| 64218777b2 | |||
| ce0a1ae581 |
BIN
pytest-testinfra-10.1.1.tar.gz
LFS
BIN
pytest-testinfra-10.1.1.tar.gz
LFS
Binary file not shown.
BIN
pytest_testinfra-10.2.2.tar.gz
LFS
Normal file
BIN
pytest_testinfra-10.2.2.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 23 04:03:00 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- 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 <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch support-python-313.patch:
|
||||
* Do not use crypt for testing.
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 7 07:02:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -18,20 +18,20 @@
|
||||
|
||||
%{?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
|
||||
Group: Development/Languages/Python
|
||||
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
|
||||
Patch1: testinfra-parametrize-backends-test.patch
|
||||
Patch0: testinfra-parametrize-backends-test.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: ansible
|
||||
BuildRequires: fdupes
|
||||
@@ -52,17 +52,13 @@ 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
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/testinfra
|
||||
|
||||
%check
|
||||
@@ -76,9 +72,9 @@ 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}*-info
|
||||
%{python_sitelib}/pytest_testinfra-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user