From d8608ad02ef520fb58d5164c0a0de5a2fa51ef9523caeaeb8167453a7b6e8e57 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 9 Nov 2024 15:49:07 +0000 Subject: [PATCH 1/2] Accepting request 1222697 from home:PSuarezHernandez:branches:devel:languages:python:pytest - update to 1.9.7: * Rigid support for net_connections was causing breakages, hence monitor version of psutil and call connections vs net_connections appropriately * Need psutil >= 6.0.0 to use net_connections * fix: handle process shutdown with limited permissions * Support for psutil 6.0.0 OBS-URL: https://build.opensuse.org/request/show/1222697 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shell-utilities?expand=0&rev=14 --- pytest-shell-utilities-1.9.0.tar.gz | 3 --- pytest_shell_utilities-1.9.7.tar.gz | 3 +++ python-pytest-shell-utilities.changes | 11 +++++++++++ python-pytest-shell-utilities.spec | 6 +++--- 4 files changed, 17 insertions(+), 6 deletions(-) delete mode 100644 pytest-shell-utilities-1.9.0.tar.gz create mode 100644 pytest_shell_utilities-1.9.7.tar.gz diff --git a/pytest-shell-utilities-1.9.0.tar.gz b/pytest-shell-utilities-1.9.0.tar.gz deleted file mode 100644 index 77f7bdb..0000000 --- a/pytest-shell-utilities-1.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e9ae85f8c64dd2b95e35ed1f110a90e25d498cb1af946be7cf1b7f069c089499 -size 80895 diff --git a/pytest_shell_utilities-1.9.7.tar.gz b/pytest_shell_utilities-1.9.7.tar.gz new file mode 100644 index 0000000..b7bc286 --- /dev/null +++ b/pytest_shell_utilities-1.9.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84a2283333925b43780509ccfd3d5be0d7db243b7414b89f1b63954bbcc9d3ec +size 81231 diff --git a/python-pytest-shell-utilities.changes b/python-pytest-shell-utilities.changes index c010bb8..f5e84a8 100644 --- a/python-pytest-shell-utilities.changes +++ b/python-pytest-shell-utilities.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Nov 7 13:31:16 UTC 2024 - Pablo Suárez Hernández + +- update to 1.9.7: + * Rigid support for net_connections was causing breakages, + hence monitor version of psutil and call connections + vs net_connections appropriately + * Need psutil >= 6.0.0 to use net_connections + * fix: handle process shutdown with limited permissions + * Support for psutil 6.0.0 + ------------------------------------------------------------------- Fri Mar 1 10:20:21 UTC 2024 - Dirk Müller diff --git a/python-pytest-shell-utilities.spec b/python-pytest-shell-utilities.spec index 7519416..ddf9787 100644 --- a/python-pytest-shell-utilities.spec +++ b/python-pytest-shell-utilities.spec @@ -26,12 +26,12 @@ %endif %{?sle15_python_module_pythons} Name: python-pytest-shell-utilities%{psuffix} -Version: 1.9.0 +Version: 1.9.7 Release: 0 Summary: Pytest plugin to simplify running shell commands against the system License: Apache-2.0 URL: https://github.com/saltstack/pytest-shell-utilities -Source: https://files.pythonhosted.org/packages/source/p/pytest-shell-utilities/pytest-shell-utilities-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pytest-shell-utilities/pytest_shell_utilities-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 50.3.2} BuildRequires: %{python_module setuptools_scm >= 3.4} @@ -64,7 +64,7 @@ BuildArch: noarch Pytest plugin to simplify running shell commands against the system %prep -%setup -q -n pytest-shell-utilities-%{version} +%setup -q -n pytest_shell_utilities-%{version} %build %pyproject_wheel From 267f6cb99d19128353ef29c3c76adf8ef56d9e0b4b838e01adc204d1e36df19c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 9 Nov 2024 15:49:32 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shell-utilities?expand=0&rev=15 --- python-pytest-shell-utilities.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-pytest-shell-utilities.spec b/python-pytest-shell-utilities.spec index ddf9787..2520d74 100644 --- a/python-pytest-shell-utilities.spec +++ b/python-pytest-shell-utilities.spec @@ -41,7 +41,7 @@ BuildRequires: python-rpm-macros # SECTION test requirements %if %{with test} BuildRequires: %{python_module attrs >= 22.1.0} -BuildRequires: %{python_module psutil >= 5.0.0} +BuildRequires: %{python_module psutil >= 6.0.0} BuildRequires: %{python_module pytest >= 7.3.0} BuildRequires: %{python_module pytest-helpers-namespace} BuildRequires: %{python_module pytest-shell-utilities = %{version}} @@ -52,7 +52,7 @@ BuildRequires: %{python_module typing-extensions} # /SECTION BuildRequires: fdupes Requires: python-attrs >= 22.1.0 -Requires: python-psutil >= 5.0.0 +Requires: python-psutil >= 6.0.0 Requires: python-pytest >= 7.3.0 Requires: python-pytest-helpers-namespace Requires: python-pytest-skip-markers