Accepting request 1218891 from devel:languages:python

- update to 1.9.1:
  * Add `3.13` to the list of available Python versions (#747).
- drop support-newer-pythons.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1218891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-core?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2024-10-30 16:29:49 +00:00 committed by Git OBS Bridge
commit 50c3ebc0d2
5 changed files with 11 additions and 30 deletions

BIN
poetry-core-1.9.0-gh.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca398d26f666e09162847ddd7f8d6ff6b9fb07003c6d43dd68e80d0a78331aa7
size 371296

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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>

View File

@ -18,15 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-poetry-core
Version: 1.9.0
Version: 1.9.1
Release: 0
Summary: Poetry PEP 517 Build Backend
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

View File

@ -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"),
],
)