- drop support-newer-pythons.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=52
This commit is contained in:
parent
6684f8728e
commit
94ab850e9b
@ -3,6 +3,7 @@ Mon Oct 28 22:59:06 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.9.1:
|
||||
* Add `3.13` to the list of available Python versions (#747).
|
||||
- drop support-newer-pythons.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 04:14:57 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
@ -25,8 +25,6 @@ License: Apache-2.0 AND BSD-2-Clause AND MIT AND Python-2.0
|
||||
URL: https://github.com/python-poetry/poetry-core
|
||||
# Only the github archive provides the tests
|
||||
Source: %{url}/archive/%{version}.tar.gz#/poetry-core-%{version}-gh.tar.gz
|
||||
# PATCH-FIX-UPSTREAM gh#python-poetry/poetry-core#758
|
||||
Patch0: support-newer-pythons.patch
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
|
@ -1,24 +0,0 @@
|
||||
From 10c20e199caa4809cceb14456d7e647cb833906a Mon Sep 17 00:00:00 2001
|
||||
From: Emmanuel Arias <eamanu@yaerobi.com>
|
||||
Date: Fri, 13 Sep 2024 09:18:00 -0300
|
||||
Subject: [PATCH] Remove parametrize test for failed test
|
||||
|
||||
In CPython3.12.6 urllib.parse.urlunsplit() was modified to preserve relative path
|
||||
in URL without netloc. poetry-core use this method to check the links in requirements.
|
||||
This patch remove that parametrize test.
|
||||
---
|
||||
tests/version/test_requirements.py | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/tests/version/test_requirements.py b/tests/version/test_requirements.py
|
||||
index c1d6a34aa..6705cac06 100644
|
||||
--- a/tests/version/test_requirements.py
|
||||
+++ b/tests/version/test_requirements.py
|
||||
@@ -134,7 +134,6 @@ def test_requirement(string: str, expected: dict[str, Any]) -> None:
|
||||
[
|
||||
("foo!", "Unexpected character at column 4\n\nfoo!\n ^\n"),
|
||||
("foo (>=bar)", 'invalid version constraint ">=bar"'),
|
||||
- ("name @ file:.", "invalid URL"),
|
||||
("name @ file:/.", "invalid URL"),
|
||||
],
|
||||
)
|
Loading…
Reference in New Issue
Block a user