From d46973a9c6d948ad7ebb738257383ffd85201f9ef3cc193eb284f8b2a91029ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 22 May 2023 10:59:21 +0000 Subject: [PATCH] Accepting request 1088166 from home:crameleon:branches:devel:languages:python:pytest Update to version 8.1.0 OBS-URL: https://build.opensuse.org/request/show/1088166 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-testinfra?expand=0&rev=10 --- pytest-testinfra-7.0.0.tar.gz | 3 --- pytest-testinfra-8.1.0.tar.gz | 3 +++ python-pytest-testinfra.changes | 20 ++++++++++++++++++++ python-pytest-testinfra.spec | 2 +- testinfra-parametrize-backends-test.patch | 10 ++++------ 5 files changed, 28 insertions(+), 10 deletions(-) delete mode 100644 pytest-testinfra-7.0.0.tar.gz create mode 100644 pytest-testinfra-8.1.0.tar.gz diff --git a/pytest-testinfra-7.0.0.tar.gz b/pytest-testinfra-7.0.0.tar.gz deleted file mode 100644 index ac4ac97..0000000 --- a/pytest-testinfra-7.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:38c2ce2df4e25f685636c7db9ac15083a7cf3e4a8a997d5fa654e8a7bedeadce -size 79296 diff --git a/pytest-testinfra-8.1.0.tar.gz b/pytest-testinfra-8.1.0.tar.gz new file mode 100644 index 0000000..83e137b --- /dev/null +++ b/pytest-testinfra-8.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b40828b58fb7ac2bff29cc1465934adf434f10dd5a108f60535dee52660a63d +size 84156 diff --git a/python-pytest-testinfra.changes b/python-pytest-testinfra.changes index 1b5b1d4..ccd842f 100644 --- a/python-pytest-testinfra.changes +++ b/python-pytest-testinfra.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon May 22 04:16:57 UTC 2023 - Georg Pfuetzenreuter + +- Update to 8.1.0: + * [NEW] Add Windows support for File and Service modules + * [NEW] Add File.is_executable property + +- 8.0.0: + * [NEW] Add Group.members attribute + * [NEW] Add File.inode attribute + * [NEW] Add Interface.routes() method + * [NEW] Add Docker.is_restarting attribute + * [FIX] Fix possible error in Interface.default() + * [FIX] Fix busybox detection in Process module + * [FIX] Fix possible KeyError in SysInfo module + * [BREAKING] drop support for python 3.7 + +- 7.0.1: + * [FIX] Fix command -v compatibility with dash shell + ------------------------------------------------------------------- Tue May 9 21:23:17 UTC 2023 - Dirk Müller diff --git a/python-pytest-testinfra.spec b/python-pytest-testinfra.spec index c04b525..07d7300 100644 --- a/python-pytest-testinfra.spec +++ b/python-pytest-testinfra.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pytest-testinfra -Version: 7.0.0 +Version: 8.1.0 Release: 0 Summary: Python module to test infrastructures License: Apache-2.0 diff --git a/testinfra-parametrize-backends-test.patch b/testinfra-parametrize-backends-test.patch index 73e38b2..3c81066 100644 --- a/testinfra-parametrize-backends-test.patch +++ b/testinfra-parametrize-backends-test.patch @@ -1,8 +1,6 @@ -Index: pytest-testinfra-6.3.0/test/test_backends.py -=================================================================== ---- pytest-testinfra-6.3.0.orig/test/test_backends.py -+++ pytest-testinfra-6.3.0/test/test_backends.py -@@ -467,13 +467,13 @@ def test_ansible_unknown_option(): +--- a/test/test_backends.py 2023-05-21 17:38:00.000000000 +0200 ++++ b/test/test_backends.py 2023-05-22 06:22:56.491195059 +0200 +@@ -476,13 +476,13 @@ with pytest.raises(KeyError, match="^'unknown'$"): runner.options_to_cli({"unknown": True}) @@ -20,4 +18,4 @@ Index: pytest-testinfra-6.3.0/test/test_backends.py + assert obj.get_connection_type() == connection_type - @pytest.mark.testinfra_hosts("docker://centos_7", "ssh://centos_7") + @pytest.mark.testinfra_hosts("docker://rockylinux8", "ssh://rockylinux8")