Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-venusian for openSUSE:Factory 
checked in at 2026-09-29 17:50:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-venusian (Old)
 and      /work/SRC/openSUSE:Factory/.python-venusian.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-venusian"

Tue Sep 29 17:50:50 2026 rev:16 rq:1381279 version:3.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-venusian/python-venusian.changes  
2025-01-16 18:35:17.196810605 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-venusian.new.383539/python-venusian.changes  
    2026-09-29 17:53:12.362791260 +0200
@@ -1,0 +2,6 @@
+Tue Sep 29 04:30:16 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch no-more-pkg-resources.patch:
+  * Use importlib.metadata to get the version during docs build.
+
+-------------------------------------------------------------------

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

----------(New B)----------
  New:
- Add patch no-more-pkg-resources.patch:
  * Use importlib.metadata to get the version during docs build.
----------(New E)----------

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

Other differences:
------------------
++++++ python-venusian.spec ++++++
--- /var/tmp/diff_new_pack.llotpt/_old  2026-09-29 17:53:13.157824454 +0200
+++ /var/tmp/diff_new_pack.llotpt/_new  2026-09-29 17:53:13.159824537 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-venusian
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 # Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -25,7 +25,10 @@
 License:        SUSE-Repoze AND ZPL-2.1
 URL:            https://github.com/Pylons/venusian
 Source:         
https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE Use importlib.metadata to determine version during docs 
build
+Patch0:         no-more-pkg-resources.patch
 BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++++++ no-more-pkg-resources.patch ++++++
Index: venusian-3.1.1/docs/conf.py
===================================================================
--- venusian-3.1.1.orig/docs/conf.py
+++ venusian-3.1.1/docs/conf.py
@@ -15,7 +15,7 @@
 # sys.path.insert(0, os.path.abspath("."))
 import datetime
 
-import pkg_resources
+import importlib.metadata
 import pylons_sphinx_themes
 
 # -- General configuration ---------------------------------------------------
@@ -36,7 +36,7 @@ copyright = "2012-%s Pylons Project <pyl
 # other places throughout the built documents.
 #
 # The short X.Y version.
-version = pkg_resources.get_distribution("venusian").version
+version = importlib.metadata.version("venusian")
 # The full version, including alpha/beta/rc tags.
 release = version
 

Reply via email to