forked from pool/python-pytest-testinfra
- update to 10.0.0:
* [FIX] Fix output of error message
* [FIX] Ansible: Fix for missing group names in get_variables()
* [FIX] testinfra/modules/blockdevice: Don't fail on stderr
* [DOC] Extend and show the documentation of CommandResult
* [FIX] Extend list of valid suffixes for systemd units
* [DOC] Add missing Environment doc section
* [MISC] Define types for plugin.py
* [MISC] Bump actions/checkout from 3 to 4
* [FIX] Missing RHEL distribution in package module
* [NEW] feat(package): brew support
* [NEW] Add Service.exists
* [MISC] Make CommandResult a dataclass
- update to 9.0.0:
* [BREAKING] pytest-testinfra now require python >= 3.9
* [BREAKING] Drop deprecated module PipPackage
* [NEW] Add support for the SSH ControlPath connection sharing
option
* [FIX] Retry SSH on ConnectionResetError
* [FIX] List openSUSE Leap and Tumbleweed explicitly as rpm
based distributions
* [FIX] Make group name mandatory in group module
to skip salt backend and still test the rest.
* Add arch (architecture) attribute to system_info module
* Add a new ansible connection options “force_ansible”, when set
to True, testinfra will always call ansible for all commands
* Handle all ansible connections types by setting force_ansible=True
for connections which doesn’t have a testinfra equivalent connection
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-testinfra?expand=0&rev=12
This commit is contained in:
3
pytest-testinfra-10.0.0.tar.gz
Normal file
3
pytest-testinfra-10.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2fb7d0185458a9ba669ff14d0ddbec8b3900c6bde3fb6fad9b097374ce4ab77d
|
||||
size 84667
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b40828b58fb7ac2bff29cc1465934adf434f10dd5a108f60535dee52660a63d
|
||||
size 84156
|
||||
@@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 14:11:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 10.0.0:
|
||||
* [FIX] Fix output of error message
|
||||
* [FIX] Ansible: Fix for missing group names in get_variables()
|
||||
* [FIX] testinfra/modules/blockdevice: Don't fail on stderr
|
||||
* [DOC] Extend and show the documentation of CommandResult
|
||||
* [FIX] Extend list of valid suffixes for systemd units
|
||||
* [DOC] Add missing Environment doc section
|
||||
* [MISC] Define types for plugin.py
|
||||
* [MISC] Bump actions/checkout from 3 to 4
|
||||
* [FIX] Missing RHEL distribution in package module
|
||||
* [NEW] feat(package): brew support
|
||||
* [NEW] Add Service.exists
|
||||
* [MISC] Make CommandResult a dataclass
|
||||
- update to 9.0.0:
|
||||
* [BREAKING] pytest-testinfra now require python >= 3.9
|
||||
* [BREAKING] Drop deprecated module PipPackage
|
||||
* [NEW] Add support for the SSH ControlPath connection sharing
|
||||
option
|
||||
* [FIX] Retry SSH on ConnectionResetError
|
||||
* [FIX] List openSUSE Leap and Tumbleweed explicitly as rpm
|
||||
based distributions
|
||||
* [FIX] Make group name mandatory in group module
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 22 04:16:57 UTC 2023 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
|
||||
|
||||
@@ -87,7 +113,7 @@ Mon Apr 26 18:16:40 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
the transition, but you should rename to pytest-testinfra in
|
||||
your requirements files.
|
||||
- Add testinfra-parametrize-backends-test.patch in order to be able
|
||||
to skip salt backend and still test the rest.
|
||||
to skip salt backend and still test the rest.
|
||||
(All docker tests are skipped automatically, because no there is
|
||||
no docker host running.)
|
||||
- Ignore upstream test-requirements.txt version pins:
|
||||
@@ -102,7 +128,7 @@ Fri Jul 3 06:02:57 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
* Allow kubeconfig context to be supplied in kubernetes backend
|
||||
* Drop file.__ne__ implementation and require python >= 3.5
|
||||
* Use remote_user and remote_port in ansible.cfg
|
||||
* Add arch (architecture) attribute to system_info module
|
||||
* Add arch (architecture) attribute to system_info module
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 11 11:31:39 UTC 2020 - pgajdos@suse.com
|
||||
@@ -144,11 +170,11 @@ Wed Aug 28 12:26:12 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
- update to version 3.1.0
|
||||
* ssh connections uses persistent connections by default.
|
||||
* ansible ssh connections now use ssh backend instead of paramiko.
|
||||
* Add a new ansible connection options “force_ansible”, when set
|
||||
to True, testinfra will always call ansible for all commands
|
||||
* Add a new ansible connection options “force_ansible”, when set
|
||||
to True, testinfra will always call ansible for all commands
|
||||
he need to run.
|
||||
* Handle all ansible connections types by setting force_ansible=True
|
||||
for connections which doesn’t have a testinfra equivalent connection
|
||||
* Handle all ansible connections types by setting force_ansible=True
|
||||
for connections which doesn’t have a testinfra equivalent connection
|
||||
(for example “network_cli”).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-testinfra
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-testinfra
|
||||
Version: 8.1.0
|
||||
Version: 10.0.0
|
||||
Release: 0
|
||||
Summary: Python module to test infrastructures
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
--- 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 @@
|
||||
Index: pytest-testinfra-10.0.0/test/test_backends.py
|
||||
===================================================================
|
||||
--- pytest-testinfra-10.0.0.orig/test/test_backends.py
|
||||
+++ pytest-testinfra-10.0.0/test/test_backends.py
|
||||
@@ -476,13 +476,13 @@ def test_ansible_unknown_option():
|
||||
with pytest.raises(KeyError, match="^'unknown'$"):
|
||||
runner.options_to_cli({"unknown": True})
|
||||
|
||||
@@ -18,4 +20,4 @@
|
||||
+ assert obj.get_connection_type() == connection_type
|
||||
|
||||
|
||||
@pytest.mark.testinfra_hosts("docker://rockylinux8", "ssh://rockylinux8")
|
||||
@pytest.mark.testinfra_hosts("docker://rockylinux9", "ssh://rockylinux9")
|
||||
|
||||
Reference in New Issue
Block a user