forked from pool/python-devpi-client
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ae75028eef | |||
| 00afb1e0cc | |||
| cbc2c44818 | |||
| bde35d0621 | |||
| da89cb7216 | |||
| bd9b9afa03 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0e5f967c59780d258b205ea1c4d82b177439c0dd798317a6b10f50f7d7c6cf4
|
||||
size 1759163
|
||||
3
devpi-client-7.2.0.tar.gz
Normal file
3
devpi-client-7.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c143368458c3878ba7bee6a1d9b418e2e659571a3856614f58d76b8a28269d7b
|
||||
size 93460
|
||||
22
fix-tests.patch
Normal file
22
fix-tests.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
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)
|
||||
|
||||
@@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- 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á <mmachova@suse.com>
|
||||
|
||||
- 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 <daniel.garcia@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-devpi-client
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,22 +26,24 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-devpi-client%{psuffix}
|
||||
Version: 7.0.2
|
||||
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
|
||||
# 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}
|
||||
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
|
||||
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
|
||||
@@ -58,6 +60,7 @@ 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
|
||||
@@ -103,6 +106,10 @@ 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"
|
||||
# broken test because of pyramid: gh#Pylons/pyramid#3731
|
||||
donttest+=" or test_whitelist_setting"
|
||||
%pytest -k "not ($donttest)"
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user