15
0

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
This commit is contained in:
2024-10-03 18:23:04 +00:00
committed by Git OBS Bridge
parent 6fee0336f0
commit 787ce27e28
4 changed files with 17 additions and 7 deletions

View File

@@ -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