From 81c45588b67fb449049cf14097c42af7e546e2efa47cadc1646c7cf06ff5e0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 1 Aug 2023 09:49:02 +0000 Subject: [PATCH] Accepting request 1101658 from home:mcalabkova:branches:devel:languages:python - Update to 23.5.0 * Allow to query host and os details * Add linting for Python 3.11 * Remove console output from ssh connection tests * Fasten the CI by using a short timeout for SSH connection tests * CI parameter to SSH connection for automatic skip of user input * Set TLS minimum version, avoid version protocols OBS-URL: https://build.opensuse.org/request/show/1101658 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gvm?expand=0&rev=12 --- python-python-gvm.changes | 11 +++++++++++ python-python-gvm.spec | 10 ++++++---- python_gvm-23.2.0.tar.gz | 3 --- python_gvm-23.5.0.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 python_gvm-23.2.0.tar.gz create mode 100644 python_gvm-23.5.0.tar.gz diff --git a/python-python-gvm.changes b/python-python-gvm.changes index c30a44e..f9ee36d 100644 --- a/python-python-gvm.changes +++ b/python-python-gvm.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Aug 1 08:33:40 UTC 2023 - Markéta Machová + +- Update to 23.5.0 + * Allow to query host and os details + * Add linting for Python 3.11 + * Remove console output from ssh connection tests + * Fasten the CI by using a short timeout for SSH connection tests + * CI parameter to SSH connection for automatic skip of user input + * Set TLS minimum version, avoid version protocols + ------------------------------------------------------------------- Mon Mar 6 12:13:45 UTC 2023 - Dirk Müller diff --git a/python-python-gvm.spec b/python-python-gvm.spec index 6b65335..a189dca 100644 --- a/python-python-gvm.spec +++ b/python-python-gvm.spec @@ -22,14 +22,17 @@ %define skip_python36 1 %define skip_python39 1 Name: python-python-gvm -Version: 23.2.0 +Version: 23.5.0 Release: 0 Summary: Library to communicate with remote servers over GMP or OSP License: GPL-3.0-only Group: Development/Languages/Python URL: https://github.com/greenbone/python-gvm Source: https://files.pythonhosted.org/packages/source/p/python_gvm/python_gvm-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-defusedxml >= 0.6.0 @@ -55,16 +58,15 @@ Greenbone Management Protocol (GMP) and Open Scanner Protocol (OSP). %setup -q -n python_gvm-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install # Remove tests from sitelib %python_expand rm -rf %{buildroot}%{$python_sitelib}/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -rm -v tests/connections/test_unix_socket_connection.py tests/connections/test_ssh_connection.py %pytest %files %{python_files} diff --git a/python_gvm-23.2.0.tar.gz b/python_gvm-23.2.0.tar.gz deleted file mode 100644 index a31c526..0000000 --- a/python_gvm-23.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5035c0a30326f41568b9612def725d1dd1b6fec5fbc5e8e897e1cc6268ba2b4 -size 175169 diff --git a/python_gvm-23.5.0.tar.gz b/python_gvm-23.5.0.tar.gz new file mode 100644 index 0000000..bded06d --- /dev/null +++ b/python_gvm-23.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56b64ce625bebc257b226e43f8e4a4d54115b64cdf7a254cc557ec98b1e5a4d8 +size 174901