17
0

Compare commits

4 Commits

Author SHA256 Message Date
1ecb37ccce Accepting request 1223955 from 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.

- 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/1223955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-devpi-client?expand=0&rev=15
2024-11-14 15:08:33 +00:00
eca6e57185 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-client?expand=0&rev=33 2024-11-13 13:15:07 +00:00
18240a3531 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
2024-11-07 13:18:08 +00:00
787ce27e28 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
2024-10-03 18:23:04 +00:00
3 changed files with 1 additions and 34 deletions

View File

@@ -1,22 +0,0 @@
From 408273fb77551d69ae88b76666c15ded0d98caf3 Mon Sep 17 00:00:00 2001
From: Florian Schulze <mail@florian-schulze.net>
Date: Mon, 10 Mar 2025 09:04:38 +0100
Subject: [PATCH] Support fully normalized wheel names in tests.
This is caused by setuptools v75.8.1 where the wheel file naming was changed.
---
client/testing/test_test.py | 1 +
1 file changed, 1 insertion(+)
Index: devpi-client-7.2.0/testing/test_test.py
===================================================================
--- devpi-client-7.2.0.orig/testing/test_test.py
+++ devpi-client-7.2.0/testing/test_test.py
@@ -353,6 +353,7 @@ class TestWheel:
"zip" + os.sep + f"{pkgname_norm}-1.0"))
assert wheel1[0].basename in {
f"{pkgname}-1.0-py2.py3-none-any.whl",
+ f"{pkgname_norm}-1.0-py2.py3-none-any.whl",
f"{pkgname_whl}-1.0-py2.py3-none-any.whl"}
assert str(wheel1[1].path_unpacked).endswith(wheel1[0].basename)

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
Wed Feb 4 14:04:07 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Fix tests, add fix-tests.patch upstream patch,
gh#devpi/devpi@408273fb7755
-------------------------------------------------------------------
Thu Nov 7 12:26:57 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-devpi-client
#
# Copyright (c) 2026 SUSE LLC and contributors
# 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
@@ -32,8 +32,6 @@ 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
# PATCH-FIX-UPSTREAM fix-tests.patch -- gh#devpi/devpi@408273fb7755
Patch0: fix-tests.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -60,7 +58,6 @@ BuildRequires: %{python_module colorama}
BuildRequires: %{python_module devpi-client = %{version}}
BuildRequires: %{python_module devpi-common >= 4}
BuildRequires: %{python_module devpi-server}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: git-core
%endif
@@ -108,8 +105,6 @@ donttest+=" or test_simple_install_missing_venvdir"
donttest+=" or test_main_example or test_specific_version or test_pkgname_with_dashes"
# broken tests with tox
donttest+=" or test_toxresult_forbidden"
# broken test because of pyramid: gh#Pylons/pyramid#3731
donttest+=" or test_whitelist_setting"
%pytest -k "not ($donttest)"
%endif