Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-gwyfile for openSUSE:Factory 
checked in at 2024-03-20 21:18:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gwyfile (Old)
 and      /work/SRC/openSUSE:Factory/.python-gwyfile.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gwyfile"

Wed Mar 20 21:18:36 2024 rev:3 rq:1159842 version:0.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gwyfile/python-gwyfile.changes    
2021-02-19 23:46:09.783416201 +0100
+++ /work/SRC/openSUSE:Factory/.python-gwyfile.new.1905/python-gwyfile.changes  
2024-03-20 21:21:52.266634710 +0100
@@ -1,0 +2,6 @@
+Wed Mar 20 13:06:05 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Add python312.patch to make it compatible with latest python
+  version.
+
+-------------------------------------------------------------------

New:
----
  python312.patch

BETA DEBUG BEGIN:
  New:
- Add python312.patch to make it compatible with latest python
  version.
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-gwyfile.spec ++++++
--- /var/tmp/diff_new_pack.sqqBLH/_old  2024-03-20 21:21:52.698650580 +0100
+++ /var/tmp/diff_new_pack.sqqBLH/_new  2024-03-20 21:21:52.698650580 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-gwyfile
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,6 @@
 
 
 %define packagename gwyfile
-%define skip_python36 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-gwyfile
 Version:        0.2.0
 Release:        0
@@ -29,6 +27,8 @@
 Source:         
https://github.com/tuxu/gwyfile/archive/%{version}.tar.gz#/%{packagename}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE Fix_depreciated_fromstring_warning.patch 
andythe_gr...@pm.me -- Fix fromstring depreciated to frombuffer warning during 
testing.
 Patch0:         Fix_depreciated_fromstring_warning.patch
+# PATCH-FIX-OPENSUSE python312.patch
+Patch1:         python312.patch
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}

++++++ python312.patch ++++++
Index: gwyfile-0.2.0/versioneer.py
===================================================================
--- gwyfile-0.2.0.orig/versioneer.py
+++ gwyfile-0.2.0/versioneer.py
@@ -339,9 +339,9 @@ def get_config_from_root(root):
     # configparser.NoOptionError (if it lacks "VCS="). See the docstring at
     # the top of versioneer.py for instructions on writing your setup.cfg .
     setup_cfg = os.path.join(root, "setup.cfg")
-    parser = configparser.SafeConfigParser()
+    parser = configparser.ConfigParser()
     with open(setup_cfg, "r") as f:
-        parser.readfp(f)
+        parser.read_file(f)
     VCS = parser.get("versioneer", "VCS")  # mandatory
 
     def get(parser, name):

Reply via email to