Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-blockdiag for
openSUSE:Factory checked in at 2026-09-28 10:38:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-blockdiag (Old)
and /work/SRC/openSUSE:Factory/.python-blockdiag.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-blockdiag"
Mon Sep 28 10:38:57 2026 rev:14 rq:1380284 version:3.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-blockdiag/python-blockdiag.changes
2025-08-27 21:35:52.021657803 +0200
+++
/work/SRC/openSUSE:Factory/.python-blockdiag.new.383539/python-blockdiag.changes
2026-09-28 10:40:13.579300377 +0200
@@ -1,0 +2,6 @@
+Fri Sep 25 02:03:54 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch no-more-pkg-resources.patch:
+ * Do not use pkg_resources to find entry points.
+
+-------------------------------------------------------------------
New:
----
no-more-pkg-resources.patch
----------(New B)----------
New:
- Add patch no-more-pkg-resources.patch:
* Do not use pkg_resources to find entry points.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-blockdiag.spec ++++++
--- /var/tmp/diff_new_pack.CrvM2J/_old 2026-09-28 10:40:14.257328809 +0200
+++ /var/tmp/diff_new_pack.CrvM2J/_new 2026-09-28 10:40:14.258328851 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-blockdiag
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# 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
@@ -29,6 +29,8 @@
Patch0: python-blockdiag-nose-to-pytest.patch
# PATCH-FIX-UPSTREAM https://github.com/blockdiag/blockdiag/pull/179 Add
support for Pillow 10
Patch1: pillow10.patch
+# PATCH-FIX-OPENSUSE Do not use pkg_resources to find entry points
+Patch2: no-more-pkg-resources.patch
BuildRequires: %{python_module Pillow >= 3}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module funcparserlib >= 1.0.0~a0}
++++++ no-more-pkg-resources.patch ++++++
Index: blockdiag-3.0.0/src/blockdiag/noderenderer/__init__.py
===================================================================
--- blockdiag-3.0.0.orig/src/blockdiag/noderenderer/__init__.py
+++ blockdiag-3.0.0/src/blockdiag/noderenderer/__init__.py
@@ -15,14 +15,14 @@
from __future__ import division
-import pkg_resources
+from importlib.metadata import entry_points
renderers = {}
searchpath = []
def init_renderers():
- for plugin in pkg_resources.iter_entry_points('blockdiag_noderenderer'):
+ for plugin in entry_points(group='blockdiag_noderenderer'):
module = plugin.load()
if hasattr(module, 'setup'):
module.setup(module)
Index: blockdiag-3.0.0/src/blockdiag/plugins/__init__.py
===================================================================
--- blockdiag-3.0.0.orig/src/blockdiag/plugins/__init__.py
+++ blockdiag-3.0.0/src/blockdiag/plugins/__init__.py
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from pkg_resources import iter_entry_points
+from importlib.metadata import entry_points
from blockdiag.utils.logging import warning
@@ -28,7 +28,7 @@ def load(plugins, diagram, **kwargs):
warning('plugin "%s" is already loaded. ignored.', name)
return
- for ep in iter_entry_points('blockdiag_plugins', name):
+ for ep in entry_points(group='blockdiag_plugins', name=name):
module = ep.load()
loaded_plugins.append(name)
if hasattr(module, 'setup'):
Index: blockdiag-3.0.0/src/blockdiag/imagedraw/__init__.py
===================================================================
--- blockdiag-3.0.0.orig/src/blockdiag/imagedraw/__init__.py
+++ blockdiag-3.0.0/src/blockdiag/imagedraw/__init__.py
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import pkg_resources
+from importlib.metadata import entry_points
from blockdiag.utils.logging import warning
@@ -21,7 +21,7 @@ drawers = {}
def init_imagedrawers(debug=False):
- for drawer in pkg_resources.iter_entry_points('blockdiag_imagedrawers'):
+ for drawer in entry_points(group='blockdiag_imagedrawers'):
try:
module = drawer.load()
if hasattr(module, 'setup'):