Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-WebOb for openSUSE:Factory 
checked in at 2026-10-06 19:13:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-WebOb (Old)
 and      /work/SRC/openSUSE:Factory/.python-WebOb.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-WebOb"

Tue Oct  6 19:13:04 2026 rev:45 rq:1381755 version:1.8.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-WebOb/python-WebOb.changes        
2026-09-23 14:32:55.444253892 +0200
+++ /work/SRC/openSUSE:Factory/.python-WebOb.new.3698736/python-WebOb.changes   
2026-10-06 19:13:06.825187942 +0200
@@ -1,0 +2,6 @@
+Thu Oct  1 03:50:26 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch no-more-pkg-resources.patch:
+  * Use importlib.metadata to get the version when building the docs.
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ python-WebOb.spec ++++++
--- /var/tmp/diff_new_pack.nWFRpj/_old  2026-10-06 19:13:08.046239026 +0200
+++ /var/tmp/diff_new_pack.nWFRpj/_new  2026-10-06 19:13:08.047239068 +0200
@@ -24,6 +24,8 @@
 License:        MIT
 URL:            https://webob.org/
 Source:         
https://files.pythonhosted.org/packages/source/w/webob/webob-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Based on one commit of gh#Pylons/webob#486
+Patch0:         no-more-pkg-resources.patch
 BuildRequires:  %{python_module legacy-cgi if %python-base >= 3.13}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}

++++++ no-more-pkg-resources.patch ++++++
>From 4d801471bb94e7cc920c8181ef6aee97918e18bd Mon Sep 17 00:00:00 2001
From: Delta Regeer <[email protected]>
Date: Sun, 15 Mar 2026 11:39:35 -0600
Subject: [PATCH 3/6] Remove dependency on pkg_resources, since it no longer
 exists

---
 docs/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: webob-1.8.11/docs/conf.py
===================================================================
--- webob-1.8.11.orig/docs/conf.py
+++ webob-1.8.11/docs/conf.py
@@ -1,7 +1,7 @@
-import pkg_resources
 import sys
 import os
 import shlex
+import importlib.metadata as metadata
 
 extensions = [
     'sphinx.ext.autodoc',
@@ -27,7 +27,7 @@ project = u'WebOb'
 copyright = u'2018, Ian Bicking, Pylons Project and contributors'
 author = u'Ian Bicking, Pylons Project, and contributors'
 
-version = release = pkg_resources.get_distribution('webob').version
+version = release = metadata.version("webob")
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

Reply via email to