Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-doi for 
openSUSE:Factory checked in at 2026-10-01 16:46:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-doi (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-doi.new.1253 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-doi"

Thu Oct  1 16:46:30 2026 rev:2 rq:1381754 version:0.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-doi/python-python-doi.changes      
2023-02-05 19:20:33.683681344 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-python-doi.new.1253/python-python-doi.changes
    2026-10-01 16:47:20.793798943 +0200
@@ -1,0 +2,6 @@
+Thu Oct  1 02:08:00 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch no-more-pkg-resources.patch:
+  * Use packaging rather than pkg_resources.
+
+-------------------------------------------------------------------

New:
----
  no-more-pkg-resources.patch

----------(New B)----------
  New:
- Add patch no-more-pkg-resources.patch:
  * Use packaging rather than pkg_resources.
----------(New E)----------

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

Other differences:
------------------
++++++ python-python-doi.spec ++++++
--- /var/tmp/diff_new_pack.HHXvWh/_old  2026-10-01 16:47:21.728838132 +0200
+++ /var/tmp/diff_new_pack.HHXvWh/_new  2026-10-01 16:47:21.729838174 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-python-doi
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 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
@@ -26,8 +26,12 @@
 # PATCH-FIX-UPSTREAM mark-network-tests.patch gh#alejandrogallo/python-doi#1 
[email protected]
 # mark tests requiring network access for their exclusion
 Patch0:         mark-network-tests.patch
+# PATCH-FIX-OPENSUSE Do not use pkg_resources
+Patch1:         no-more-pkg-resources.patch
+BuildRequires:  %{python_module packaging}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -58,5 +62,5 @@
 %doc AUTHORS.rst README.rst
 %license LICENSE
 %{python_sitelib}/doi
-%{python_sitelib}/python_doi-%{version}*-info
+%{python_sitelib}/python_doi-%{version}.dist-info
 

++++++ no-more-pkg-resources.patch ++++++
Index: python-doi-0.2.0/tests/test_doi.py
===================================================================
--- python-doi-0.2.0.orig/tests/test_doi.py
+++ python-doi-0.2.0/tests/test_doi.py
@@ -1,8 +1,8 @@
 """Tests for `doi` package."""
 
 import os
-from pkg_resources import parse_version
 
+from packaging.version import parse as parse_version
 import pytest
 
 from doi import (

Reply via email to