diff --git a/python-poetry-core.changes b/python-poetry-core.changes index fa08ca1..fde4231 100644 --- a/python-poetry-core.changes +++ b/python-poetry-core.changes @@ -3,6 +3,7 @@ Mon Oct 28 22:59:06 UTC 2024 - Dirk Müller - 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 diff --git a/python-poetry-core.spec b/python-poetry-core.spec index 1a1bdf1..ec779e8 100644 --- a/python-poetry-core.spec +++ b/python-poetry-core.spec @@ -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 diff --git a/support-newer-pythons.patch b/support-newer-pythons.patch deleted file mode 100644 index caa1a6b..0000000 --- a/support-newer-pythons.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 10c20e199caa4809cceb14456d7e647cb833906a Mon Sep 17 00:00:00 2001 -From: Emmanuel Arias -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"), - ], - )