Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-time-travel for 
openSUSE:Factory checked in at 2026-11-03 17:57:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-time-travel (Old)
 and      /work/SRC/openSUSE:Factory/.python-time-travel.new.1257 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-time-travel"

Tue Nov  3 17:57:49 2026 rev:6 rq:1394612 version:1.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-time-travel/python-time-travel.changes    
2026-09-28 10:40:10.333164257 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-time-travel.new.1257/python-time-travel.changes
  2026-11-03 17:59:05.560174594 +0100
@@ -1,0 +2,8 @@
+Mon Oct 26 20:46:06 UTC 2026 - Sebastian Wagner <[email protected]>
+
+- Update no-more-pkg-resources.patch:
+  * Fall back to pkg_resources on Python < 3.8, fixing the
+    build on openSUSE Leap 15.7 (python3.6, which has no
+    importlib.metadata module).
+
+-------------------------------------------------------------------
@@ -24 +32 @@
-Sat May 29 07:44:47 UTC 2021 - Sebastian Wagner <[email protected]>
+Sat May 29 07:44:47 UTC 2021 - Sebastian Wagner <[email protected]>
@@ -29 +37 @@
-Tue May 25 11:14:34 UTC 2021 - Sebastian Wagner <[email protected]>
+Tue May 25 11:14:34 UTC 2021 - Sebastian Wagner <[email protected]>

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

Other differences:
------------------
++++++ no-more-pkg-resources.patch ++++++
--- /var/tmp/diff_new_pack.hJyzwS/_old  2026-11-03 17:59:06.382209015 +0100
+++ /var/tmp/diff_new_pack.hJyzwS/_new  2026-11-03 17:59:06.385209141 +0100
@@ -2,21 +2,27 @@
 ===================================================================
 --- time-travel-1.1.2.orig/src/time_travel/time_travel.py
 +++ time-travel-1.1.2/src/time_travel/time_travel.py
-@@ -1,6 +1,6 @@
+@@ -1,6 +1,11 @@
  """Mocking interface for python time libraries."""
- 
+
 -import pkg_resources
-+import importlib.metadata
- 
++try:
++    # Python >= 3.8
++    from importlib.metadata import entry_points
++except ImportError:
++    # Python < 3.8 (e.g. python3.6 on openSUSE Leap)
++    from pkg_resources import iter_entry_points as entry_points
+
  from .time_machine_clock import TimeMachineClock, MIN_START_TIME
  from .event_pool import EventPool
-@@ -21,7 +21,7 @@ class TimeTravel(object):
+@@ -21,8 +26,7 @@ class TimeTravel(object):
          self.clock = TimeMachineClock(start_time, [self.event_pool])
- 
+
          patches = []
 -        for patcher in pkg_resources.iter_entry_points(
-+        for patcher in importlib.metadata.entry_points(
-                 group='time_travel.patchers'):
+-                group='time_travel.patchers'):
++        for patcher in entry_points(group='time_travel.patchers'):
              patches.append(patcher.load())
- 
+
+         self.patches = [patcher(clock=self.clock, event_pool=self.event_pool,
 

Reply via email to