Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond for openSUSE:Factory checked 
in at 2026-01-20 21:04:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond (Old)
 and      /work/SRC/openSUSE:Factory/.trytond.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond"

Tue Jan 20 21:04:07 2026 rev:115 rq:1328193 version:7.0.44

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond/trytond.changes  2026-01-09 
17:07:03.912886711 +0100
+++ /work/SRC/openSUSE:Factory/.trytond.new.1928/trytond.changes        
2026-01-20 21:04:09.335087169 +0100
@@ -1,0 +2,5 @@
+Mon Jan 19 16:36:57 UTC 2026 - Axel Braun <[email protected]>
+
+- Version 7.0.44 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond-7.0.43.tar.gz

New:
----
  trytond-7.0.44.tar.gz

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

Other differences:
------------------
++++++ trytond.spec ++++++
--- /var/tmp/diff_new_pack.9rZhzU/_old  2026-01-20 21:04:10.415131039 +0100
+++ /var/tmp/diff_new_pack.9rZhzU/_new  2026-01-20 21:04:10.419131202 +0100
@@ -30,7 +30,7 @@
 ##%%endif
 
 Name:           trytond
-Version:        %{majorver}.43
+Version:        %{majorver}.44
 Release:        0
 Summary:        An Enterprise Resource Planning (ERP) system
 License:        GPL-3.0-or-later

++++++ trytond-7.0.43.tar.gz -> trytond-7.0.44.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-7.0.43/CHANGELOG new/trytond-7.0.44/CHANGELOG
--- old/trytond-7.0.43/CHANGELOG        2026-01-02 10:50:33.000000000 +0100
+++ new/trytond-7.0.44/CHANGELOG        2026-01-15 21:56:50.000000000 +0100
@@ -1,4 +1,9 @@
 
+Version 7.0.44 - 2026-01-15
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 7.0.43 - 2026-01-02
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-7.0.43/COPYRIGHT new/trytond-7.0.44/COPYRIGHT
--- old/trytond-7.0.43/COPYRIGHT        2026-01-02 10:50:33.000000000 +0100
+++ new/trytond-7.0.44/COPYRIGHT        2026-01-15 21:56:50.000000000 +0100
@@ -1,7 +1,7 @@
 Copyright (C) 2004-2008 Tiny SPRL.
-Copyright (C) 2007-2025 Cédric Krier.
+Copyright (C) 2007-2026 Cédric Krier.
 Copyright (C) 2007-2013 Bertrand Chenal.
-Copyright (C) 2008-2025 B2CK SPRL.
+Copyright (C) 2008-2026 B2CK SPRL.
 Copyright (C) 2011 Openlabs Technologies & Consulting (P) Ltd.
 Copyright (C) 2011-2025 Nicolas Évrard.
 Copyright (C) 2020-2025 Maxime Richez
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-7.0.43/PKG-INFO new/trytond-7.0.44/PKG-INFO
--- old/trytond-7.0.43/PKG-INFO 2026-01-02 10:50:37.077471000 +0100
+++ new/trytond-7.0.44/PKG-INFO 2026-01-15 21:56:53.218824600 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond
-Version: 7.0.43
+Version: 7.0.44
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-7.0.43/trytond/__init__.py 
new/trytond-7.0.44/trytond/__init__.py
--- old/trytond-7.0.43/trytond/__init__.py      2025-12-20 21:10:45.000000000 
+0100
+++ new/trytond-7.0.44/trytond/__init__.py      2026-01-14 23:42:15.000000000 
+0100
@@ -1,6 +1,8 @@
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
+import importlib
 import os
+import sys
 import time
 import warnings
 from email import charset
@@ -8,12 +10,7 @@
 import __main__
 from lxml import etree, objectify
 
-try:
-    from requests import utils as requests_utils
-except ImportError:
-    requests_utils = None
-
-__version__ = "7.0.43"
+__version__ = "7.0.44"
 
 if not os.environ.get('TRYTOND_APPNAME'):
     os.environ['TRYTOND_APPNAME'] = os.path.basename(
@@ -35,9 +32,26 @@
 objectify.set_default_parser(objectify.makeparser(resolve_entities=False))
 
 
-def default_user_agent(name="Tryton"):
-    return f"{name}/{__version__}"
+class _RequestPatchFinder:
+    def find_spec(self, fullname, path, target=None):
+        if fullname != 'requests.utils':
+            return
+        sys.meta_path.remove(self)
+        spec = importlib.util.find_spec(fullname)
+        loader = spec.loader
+        original_exec = loader.exec_module
+
+        def exec_module(module):
+            original_exec(module)
+            self._patch_requests_utils(module)
+        loader.exec_module = exec_module
+        return spec
+
+    @staticmethod
+    def _patch_requests_utils(module):
+        def default_user_agent(name="Tryton"):
+            return f"{name}/{__version__}"
+        module.default_user_agent = default_user_agent
 
 
-if requests_utils:
-    requests_utils.default_user_agent = default_user_agent
+sys.meta_path.insert(0, _RequestPatchFinder())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-7.0.43/trytond.egg-info/PKG-INFO 
new/trytond-7.0.44/trytond.egg-info/PKG-INFO
--- old/trytond-7.0.43/trytond.egg-info/PKG-INFO        2026-01-02 
10:50:36.000000000 +0100
+++ new/trytond-7.0.44/trytond.egg-info/PKG-INFO        2026-01-15 
21:56:52.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond
-Version: 7.0.43
+Version: 7.0.44
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/

Reply via email to