Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trytond for openSUSE:Factory checked in at 2023-09-07 21:13:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond (Old) and /work/SRC/openSUSE:Factory/.trytond.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond" Thu Sep 7 21:13:36 2023 rev:85 rq:1109471 version:6.0.35 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond/trytond.changes 2023-08-02 16:50:37.933567576 +0200 +++ /work/SRC/openSUSE:Factory/.trytond.new.1766/trytond.changes 2023-09-07 21:15:05.878360668 +0200 @@ -1,0 +2,5 @@ +Thu Sep 7 08:08:15 UTC 2023 - Axel Braun <axel.br...@gmx.de> + +- Version 6.0.35 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond-6.0.34.tar.gz trytond-6.0.34.tar.gz.asc New: ---- trytond-6.0.35.tar.gz trytond-6.0.35.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond.spec ++++++ --- /var/tmp/diff_new_pack.desLyy/_old 2023-09-07 21:15:07.398415006 +0200 +++ /var/tmp/diff_new_pack.desLyy/_new 2023-09-07 21:15:07.398415006 +0200 @@ -20,7 +20,7 @@ %define majorver 6.0 %define base_name tryton Name: trytond -Version: %{majorver}.34 +Version: %{majorver}.35 Release: 0 Summary: An Enterprise Resource Planning (ERP) system License: GPL-3.0-or-later ++++++ trytond-6.0.34.tar.gz -> trytond-6.0.35.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.34/.readthedocs.yaml new/trytond-6.0.35/.readthedocs.yaml --- old/trytond-6.0.34/.readthedocs.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/trytond-6.0.35/.readthedocs.yaml 2023-08-06 19:28:07.000000000 +0200 @@ -0,0 +1,7 @@ +version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3" +sphinx: + configuration: trytond/doc/conf.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.34/CHANGELOG new/trytond-6.0.35/CHANGELOG --- old/trytond-6.0.34/CHANGELOG 2023-07-31 17:07:58.000000000 +0200 +++ new/trytond-6.0.35/CHANGELOG 2023-09-06 22:58:39.000000000 +0200 @@ -1,4 +1,9 @@ +Version 6.0.35 - 2023-09-06 +--------------------------- +* Bug fixes (see mercurial logs for details) + + Version 6.0.34 - 2023-07-31 --------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.34/PKG-INFO new/trytond-6.0.35/PKG-INFO --- old/trytond-6.0.34/PKG-INFO 2023-07-31 17:08:02.204558800 +0200 +++ new/trytond-6.0.35/PKG-INFO 2023-09-06 22:58:43.411582700 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond -Version: 6.0.34 +Version: 6.0.35 Summary: Tryton server Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.34/trytond/__init__.py new/trytond-6.0.35/trytond/__init__.py --- old/trytond-6.0.34/trytond/__init__.py 2023-06-21 19:11:32.000000000 +0200 +++ new/trytond-6.0.35/trytond/__init__.py 2023-07-31 17:08:14.000000000 +0200 @@ -7,7 +7,7 @@ from lxml import etree, objectify -__version__ = "6.0.34" +__version__ = "6.0.35" os.environ['TZ'] = 'UTC' if hasattr(time, 'tzset'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.34/trytond/backend/postgresql/database.py new/trytond-6.0.35/trytond/backend/postgresql/database.py --- old/trytond-6.0.34/trytond/backend/postgresql/database.py 2023-05-17 23:03:30.000000000 +0200 +++ new/trytond-6.0.35/trytond/backend/postgresql/database.py 2023-08-26 09:22:33.000000000 +0200 @@ -257,10 +257,10 @@ return self def get_connection(self, autocommit=False, readonly=False): - for count in range(config.getint('database', 'retry'), -1, -1): + retry = max(config.getint('database', 'retry'), _maxconn) + for count in range(retry, -1, -1): try: conn = self._connpool.getconn() - break except PoolError: if count and not self._connpool.closed: logger.info('waiting a connection') @@ -271,19 +271,26 @@ logger.error( 'connection to "%s" failed', self.name, exc_info=True) raise - # We do not use set_session because psycopg2 < 2.7 and psycopg2cffi - # change the default_transaction_* attributes which breaks external - # pooling at the transaction level. - if autocommit: - conn.set_isolation_level(ISOLATION_LEVEL_AUTOCOMMIT) - else: - conn.set_isolation_level(ISOLATION_LEVEL_REPEATABLE_READ) - # psycopg2cffi does not have the readonly property - if hasattr(conn, 'readonly'): - conn.readonly = readonly - elif not autocommit and readonly: - cursor = conn.cursor() - cursor.execute('SET TRANSACTION READ ONLY') + try: + # We do not use set_session because psycopg2 < 2.7 and + # psycopg2cffi change the default_transaction_* attributes + # which breaks external pooling at the transaction level. + if autocommit: + conn.set_isolation_level(ISOLATION_LEVEL_AUTOCOMMIT) + else: + conn.set_isolation_level(ISOLATION_LEVEL_REPEATABLE_READ) + # psycopg2cffi does not have the readonly property + if hasattr(conn, 'readonly'): + conn.readonly = readonly + elif not autocommit and readonly: + cursor = conn.cursor() + cursor.execute('SET TRANSACTION READ ONLY') + # Detect disconnection + conn.cursor().execute('SELECT 1') + except DatabaseOperationalError: + self._connpool.putconn(conn, close=True) + continue + break return conn def put_connection(self, connection, close=False): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.34/trytond.egg-info/PKG-INFO new/trytond-6.0.35/trytond.egg-info/PKG-INFO --- old/trytond-6.0.34/trytond.egg-info/PKG-INFO 2023-07-31 17:08:01.000000000 +0200 +++ new/trytond-6.0.35/trytond.egg-info/PKG-INFO 2023-09-06 22:58:42.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond -Version: 6.0.34 +Version: 6.0.35 Summary: Tryton server Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.34/trytond.egg-info/SOURCES.txt new/trytond-6.0.35/trytond.egg-info/SOURCES.txt --- old/trytond-6.0.34/trytond.egg-info/SOURCES.txt 2023-07-31 17:08:01.000000000 +0200 +++ new/trytond-6.0.35/trytond.egg-info/SOURCES.txt 2023-09-06 22:58:43.000000000 +0200 @@ -1,3 +1,4 @@ +.readthedocs.yaml CHANGELOG COPYRIGHT LICENSE