Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 1ecb37ccce | |||
| eca6e57185 | |||
| 18240a3531 | |||
| 787ce27e28 |
@@ -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)
|
|
||||||
|
|
||||||
@@ -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>
|
Thu Nov 7 12:26:57 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-devpi-client
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -32,8 +32,6 @@ Summary: Client for devpi
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/devpi/devpi
|
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
|
||||||
# PATCH-FIX-UPSTREAM fix-tests.patch -- gh#devpi/devpi@408273fb7755
|
|
||||||
Patch0: fix-tests.patch
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
@@ -60,7 +58,6 @@ BuildRequires: %{python_module colorama}
|
|||||||
BuildRequires: %{python_module devpi-client = %{version}}
|
BuildRequires: %{python_module devpi-client = %{version}}
|
||||||
BuildRequires: %{python_module devpi-common >= 4}
|
BuildRequires: %{python_module devpi-common >= 4}
|
||||||
BuildRequires: %{python_module devpi-server}
|
BuildRequires: %{python_module devpi-server}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
%endif
|
%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"
|
donttest+=" or test_main_example or test_specific_version or test_pkgname_with_dashes"
|
||||||
# broken tests with tox
|
# broken tests with tox
|
||||||
donttest+=" or test_toxresult_forbidden"
|
donttest+=" or test_toxresult_forbidden"
|
||||||
# broken test because of pyramid: gh#Pylons/pyramid#3731
|
|
||||||
donttest+=" or test_whitelist_setting"
|
|
||||||
%pytest -k "not ($donttest)"
|
%pytest -k "not ($donttest)"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user