Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip-api for openSUSE:Factory 
checked in at 2025-11-11 19:20:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pip-api (Old)
 and      /work/SRC/openSUSE:Factory/.python-pip-api.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pip-api"

Tue Nov 11 19:20:44 2025 rev:13 rq:1316998 version:0.0.34

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pip-api/python-pip-api.changes    
2025-07-22 12:20:29.140598174 +0200
+++ /work/SRC/openSUSE:Factory/.python-pip-api.new.1980/python-pip-api.changes  
2025-11-11 19:21:10.671073731 +0100
@@ -1,0 +2,6 @@
+Tue Nov 11 02:04:37 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Add patch support-python314.patch:
+  * Support Python 3.14 URI parsing and ast changes.
+
+-------------------------------------------------------------------

New:
----
  support-python314.patch

----------(New B)----------
  New:
- Add patch support-python314.patch:
  * Support Python 3.14 URI parsing and ast changes.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pip-api.spec ++++++
--- /var/tmp/diff_new_pack.FAVe7h/_old  2025-11-11 19:21:12.459148621 +0100
+++ /var/tmp/diff_new_pack.FAVe7h/_new  2025-11-11 19:21:12.487149794 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pip-api
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 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
@@ -30,6 +30,8 @@
 # PATCH-FIX-OPENSUSE Remove a test parameter that is broken with our shipped
 # packaging.
 Patch1:         support-packaging-changes.patch
+# PATCH-FIX-OPENSUSE Support Python 3.14 URI parsing and ast changes.
+Patch2:         support-python314.patch
 BuildRequires:  %{python_module packaging >= 21.0}
 BuildRequires:  %{python_module pip >= 22.1}
 BuildRequires:  %{python_module pretend}
@@ -67,5 +69,5 @@
 %doc README.md
 %license LICENSE
 %{python_sitelib}/pip_api
-%{python_sitelib}/pip_api*info
+%{python_sitelib}/pip_api-%{version}.dist-info
 

++++++ support-python314.patch ++++++
Index: pip_api-0.0.34/pip_api/_parse_requirements.py
===================================================================
--- pip_api-0.0.34.orig/pip_api/_parse_requirements.py
+++ pip_api-0.0.34/pip_api/_parse_requirements.py
@@ -276,7 +276,7 @@ def _parse_local_package_name(path):
             and expr.value.func.id == "setup"
         ][0]
         value = [kw.value for kw in setup_kwargs if kw.arg == "name"][0]
-        return value.s
+        return getattr(value, 's', None) if hasattr(value, 's') else 
value.value
     except (IndexError, AttributeError, IOError, OSError):
         raise PipError(
             "Directory %r is not installable. "
Index: pip_api-0.0.34/tests/test_parse_requirements.py
===================================================================
--- pip_api-0.0.34.orig/tests/test_parse_requirements.py
+++ pip_api-0.0.34/tests/test_parse_requirements.py
@@ -193,7 +193,7 @@ def test_parse_requirements_editable_fil
 
     assert set(result) == {"django", "pip-api"}
     assert str(result["django"]) == "Django==1.11"
-    assert str(result["pip-api"]).startswith("pip-api@ file:///")
+    assert str(result["pip-api"]).startswith("pip-api@ file:/")
 
 
 def test_parse_requirements_editable_pyprojecttoml(monkeypatch, data):
@@ -206,7 +206,7 @@ def test_parse_requirements_editable_pyp
 
     assert set(result) == {"dummyproject_pyproject"}
     assert str(result["dummyproject_pyproject"]).startswith(
-        "dummyproject_pyproject@ file:///"
+        "dummyproject_pyproject@ file:/"
     )
 
 
@@ -220,7 +220,7 @@ def test_parse_requirements_editable_esc
 
     assert set(result) == {"dummyproject_pyproject"}
     assert str(result["dummyproject_pyproject"]).startswith(
-        "dummyproject_pyproject@ file:///"
+        "dummyproject_pyproject@ file:/"
     )
     # The @ in `escapable@path` should be URL-encoded
     assert "escapable%40path" in str(result["dummyproject_pyproject"])

Reply via email to