From 787ce27e2850fbb9f4a879a4fa57e0b1e6336a3be045d8900929bac4e1e45f33 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 3 Oct 2024 18:23:04 +0000 Subject: [PATCH 1/3] Accepting request 1205394 from home:mcalabkova:branches:devel:languages:python - update to 7.1.0 * Require build>=0.7.0 to prevent import error with older versions. * Provide proper error message if the API request for devpi use fails. * Fix #1011: change HTTP status codes >=400 to use self.fatal instead of raw SystemExit, protect 403 and 404 errors from SystemExit * Support using various kinds of devpi tools with pyproject.toml. OBS-URL: https://build.opensuse.org/request/show/1205394 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-client?expand=0&rev=31 --- devpi-client-7.0.2.tar.gz | 3 --- devpi_client-7.1.0.tar.gz | 3 +++ python-devpi-client.changes | 10 ++++++++++ python-devpi-client.spec | 8 ++++---- 4 files changed, 17 insertions(+), 7 deletions(-) delete mode 100644 devpi-client-7.0.2.tar.gz create mode 100644 devpi_client-7.1.0.tar.gz diff --git a/devpi-client-7.0.2.tar.gz b/devpi-client-7.0.2.tar.gz deleted file mode 100644 index 51603f9..0000000 --- a/devpi-client-7.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0e5f967c59780d258b205ea1c4d82b177439c0dd798317a6b10f50f7d7c6cf4 -size 1759163 diff --git a/devpi_client-7.1.0.tar.gz b/devpi_client-7.1.0.tar.gz new file mode 100644 index 0000000..df29019 --- /dev/null +++ b/devpi_client-7.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3706e1ae88f13894a90ef324d0c6c01826e3992f33da0d729d6eb3ce056fcbf3 +size 2459752 diff --git a/python-devpi-client.changes b/python-devpi-client.changes index 8dd9091..251d7ec 100644 --- a/python-devpi-client.changes +++ b/python-devpi-client.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Oct 3 10:50:15 UTC 2024 - Markéta Machová + +- update to 7.1.0 + * Require build>=0.7.0 to prevent import error with older versions. + * Provide proper error message if the API request for devpi use fails. + * Fix #1011: change HTTP status codes >=400 to use self.fatal instead + of raw SystemExit, protect 403 and 404 errors from SystemExit + * Support using various kinds of devpi tools with pyproject.toml. + ------------------------------------------------------------------- Thu Feb 29 14:11:26 UTC 2024 - Daniel Garcia diff --git a/python-devpi-client.spec b/python-devpi-client.spec index 885e5c9..92719f4 100644 --- a/python-devpi-client.spec +++ b/python-devpi-client.spec @@ -26,18 +26,18 @@ %endif %{?sle15_python_module_pythons} Name: python-devpi-client%{psuffix} -Version: 7.0.2 +Version: 7.1.0 Release: 0 Summary: Client for devpi License: MIT URL: https://github.com/devpi/devpi -Source: https://files.pythonhosted.org/packages/source/d/devpi-client/devpi-client-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/d/devpi_client/devpi_client-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-build +Requires: python-build >= 0.7.0 Requires: python-check-manifest >= 0.28 Requires: python-devpi-common >= 4.0 Requires: python-iniconfig @@ -70,7 +70,7 @@ indexes, uploading to and installing from indexes, as well as a "test" command for invoking tox. %prep -%autosetup -p1 -n devpi-client-%{version} +%autosetup -p1 -n devpi_client-%{version} rm tox.ini sed -i 's/"python \(setup.py[^"]*\)"/(sys.executable + " \1")/' testing/test_upload.py From 18240a3531e154c0d151df6cb5cb455ad6422849a317f06fe3cdf727cda80228 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 7 Nov 2024 13:18:08 +0000 Subject: [PATCH 2/3] Accepting request 1222183 from home:mcalabkova:branches:devel:languages:python - Update to 7.2.0 * Support --no-docs and --only-docs for push command. * Support --register-project for push command to external index. * Add support for uv.conf to devpi use --set-cfg. * fixed encoding issues when decoding output of subprocesses. * require pkginfo >= 1.10.0 which supports newer metadata versions. OBS-URL: https://build.opensuse.org/request/show/1222183 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-client?expand=0&rev=32 --- devpi-client-7.2.0.tar.gz | 3 +++ devpi_client-7.1.0.tar.gz | 3 --- python-devpi-client.changes | 10 ++++++++++ python-devpi-client.spec | 8 ++++---- 4 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 devpi-client-7.2.0.tar.gz delete mode 100644 devpi_client-7.1.0.tar.gz diff --git a/devpi-client-7.2.0.tar.gz b/devpi-client-7.2.0.tar.gz new file mode 100644 index 0000000..494eb54 --- /dev/null +++ b/devpi-client-7.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c143368458c3878ba7bee6a1d9b418e2e659571a3856614f58d76b8a28269d7b +size 93460 diff --git a/devpi_client-7.1.0.tar.gz b/devpi_client-7.1.0.tar.gz deleted file mode 100644 index df29019..0000000 --- a/devpi_client-7.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3706e1ae88f13894a90ef324d0c6c01826e3992f33da0d729d6eb3ce056fcbf3 -size 2459752 diff --git a/python-devpi-client.changes b/python-devpi-client.changes index 251d7ec..0c67464 100644 --- a/python-devpi-client.changes +++ b/python-devpi-client.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Nov 7 12:26:57 UTC 2024 - Markéta Machová + +- Update to 7.2.0 + * Support --no-docs and --only-docs for push command. + * Support --register-project for push command to external index. + * Add support for uv.conf to devpi use --set-cfg. + * fixed encoding issues when decoding output of subprocesses. + * require pkginfo >= 1.10.0 which supports newer metadata versions. + ------------------------------------------------------------------- Thu Oct 3 10:50:15 UTC 2024 - Markéta Machová diff --git a/python-devpi-client.spec b/python-devpi-client.spec index 92719f4..4b8dc47 100644 --- a/python-devpi-client.spec +++ b/python-devpi-client.spec @@ -26,12 +26,12 @@ %endif %{?sle15_python_module_pythons} Name: python-devpi-client%{psuffix} -Version: 7.1.0 +Version: 7.2.0 Release: 0 Summary: Client for devpi License: MIT URL: https://github.com/devpi/devpi -Source: https://files.pythonhosted.org/packages/source/d/devpi_client/devpi_client-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/d/devpi-client/devpi-client-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -41,7 +41,7 @@ Requires: python-build >= 0.7.0 Requires: python-check-manifest >= 0.28 Requires: python-devpi-common >= 4.0 Requires: python-iniconfig -Requires: python-pkginfo >= 1.4.2 +Requires: python-pkginfo >= 1.10.0 Requires: python-platformdirs Requires: python-pluggy >= 0.6.0 Requires: python-tox >= 3.1.0 @@ -70,7 +70,7 @@ indexes, uploading to and installing from indexes, as well as a "test" command for invoking tox. %prep -%autosetup -p1 -n devpi_client-%{version} +%autosetup -p1 -n devpi-client-%{version} rm tox.ini sed -i 's/"python \(setup.py[^"]*\)"/(sys.executable + " \1")/' testing/test_upload.py From eca6e571858aab1882e09e0a705946c049eb15ae4ab6102b9a9396d1476f2c2e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 13 Nov 2024 13:15:07 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-client?expand=0&rev=33 --- python-devpi-client.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-devpi-client.spec b/python-devpi-client.spec index 4b8dc47..3098c41 100644 --- a/python-devpi-client.spec +++ b/python-devpi-client.spec @@ -103,6 +103,8 @@ donttest+=" or test_derive_devpi_token or test_derive_legacy_token or test_deriv donttest+=" or test_simple_install_missing_venvdir" # Broken tests with python3.12 because missing setuptools donttest+=" or test_main_example or test_specific_version or test_pkgname_with_dashes" +# broken tests with tox +donttest+=" or test_toxresult_forbidden" %pytest -k "not ($donttest)" %endif