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-01-03 15:06:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond (Old) and /work/SRC/openSUSE:Factory/.trytond.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond" Tue Jan 3 15:06:23 2023 rev:76 rq:1046511 version:6.0.25 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond/trytond.changes 2022-11-26 18:45:33.671251201 +0100 +++ /work/SRC/openSUSE:Factory/.trytond.new.1563/trytond.changes 2023-01-03 15:06:38.294955616 +0100 @@ -1,0 +2,5 @@ +Tue Jan 3 12:25:16 UTC 2023 - Axel Braun <axel.br...@gmx.de> + +- Version 6.0.25 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond-6.0.24.tar.gz trytond-6.0.24.tar.gz.asc New: ---- trytond-6.0.25.tar.gz trytond-6.0.25.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond.spec ++++++ --- /var/tmp/diff_new_pack.pohMLW/_old 2023-01-03 15:06:38.730958161 +0100 +++ /var/tmp/diff_new_pack.pohMLW/_new 2023-01-03 15:06:38.734958184 +0100 @@ -1,7 +1,7 @@ # # spec file for package trytond # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2015-2022 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define majorver 6.0 %define base_name tryton Name: trytond -Version: %{majorver}.24 +Version: %{majorver}.25 Release: 0 Summary: An Enterprise Resource Planning (ERP) system License: GPL-3.0-or-later ++++++ trytond-6.0.24.tar.gz -> trytond-6.0.25.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/.drone.yml new/trytond-6.0.25/.drone.yml --- old/trytond-6.0.24/.drone.yml 2022-04-14 23:25:02.000000000 +0200 +++ new/trytond-6.0.25/.drone.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,68 +0,0 @@ -clone: - hg: - image: plugins/hg - environment: - - HG_SHARE_POOL=/root/.cache/hg - volumes: - - cache:/root/.cache - -pipeline: - tox: - image: ${IMAGE} - environment: - - CFLAGS=-O0 - - DB_CACHE=/cache - - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE CI_BUILD_NUMBER CI_JOB_NUMBER CI_JOB_ID - - POSTGRESQL_URI=postgresql://postgres@postgresql:5432/ - commands: - - echo "[extensions]" >> /root/.hgrc - - echo "hgext.share =" >> /root/.hgrc - - echo "[share]" >> /root/.hgrc - - echo "pool = /root/.cache/hg" >> /root/.hgrc - - pip install tox - - tox -e "${TOXENV}-${DATABASE}" - volumes: - - cache:/root/.cache - check_dist: - image: ${IMAGE} - commands: - - pip install twine - - python setup.py sdist - - twine check dist/* - -services: - postgresql: - image: postgres - environment: - - POSTGRES_HOST_AUTH_METHOD=trust - command: "-c fsync=off -c synchronous_commit=off -c full_page_writes=off" - when: - matrix: - DATABASE: postgresql - -matrix: - include: - - IMAGE: python:3.6 - TOXENV: py36 - DATABASE: sqlite - - IMAGE: python:3.6 - TOXENV: py36 - DATABASE: postgresql - - IMAGE: python:3.7 - TOXENV: py37 - DATABASE: sqlite - - IMAGE: python:3.7 - TOXENV: py37 - DATABASE: postgresql - - IMAGE: python:3.8 - TOXENV: py38 - DATABASE: sqlite - - IMAGE: python:3.8 - TOXENV: py38 - DATABASE: postgresql - - IMAGE: python:3.9 - TOXENV: py39 - DATABASE: sqlite - - IMAGE: python:3.9 - TOXENV: py39 - DATABASE: postgresql diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/.flake8 new/trytond-6.0.25/.flake8 --- old/trytond-6.0.24/.flake8 2022-04-14 23:25:02.000000000 +0200 +++ new/trytond-6.0.25/.flake8 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -[flake8] -ignore=E123,E124,E126,E128,E741,W503 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/.hgtags new/trytond-6.0.25/.hgtags --- old/trytond-6.0.24/.hgtags 2022-11-17 18:46:24.000000000 +0100 +++ new/trytond-6.0.25/.hgtags 1970-01-01 01:00:00.000000000 +0100 @@ -1,50 +0,0 @@ -951bb3311b916cb893adc5294cfb3216d2940169 1.0.0 -9f5ce178a7c403a0865fd4b6c1a82a911df0e998 1.2.0 -e2d31d59de7745de70199b7c340d78b7c4775723 1.4.0 -64691214959ac19983f3b3d1dbb89ff693d1545c 1.6.0 -af3a6063b46bf8739a513a06400fbb9858b5869b 1.8.0 -3475040a8fe081b1b8609350186b779cc640fba4 2.0.0 -1df3f0702c621e65279af52d1f87725747ae8fa4 2.2.0 -640af4420c8eace7ee59a432bec54692f4808b20 2.4.0 -36530840a1d0dce354bbaa58ec849a409d306d83 2.6.0 -2893d6c3efd6df3759ab09a28ea16773a160118e 2.8.0 -759c6ff44b90b8c685e9d9a4124bcd85af204649 3.0.0 -b3d84aa2c3a6ed3b76bfb58a40fc687f68824c29 3.2.0 -f0a9fa755cde703be54efd747f376b096ea8316c 3.4.0 -1e4ba5a3f16e6afd59131b49841eb004e706619d 3.6.0 -0a29a9dba7f56fbdef067772eea3f037934999c9 3.8.0 -49a0caa894dae201ed4ec707f277d9859b5521fb 4.0.0 -eb8949ec5bcedba563b5799f1315a0cecfee61f6 4.2.0 -f253ce8ed02f4c46a69b8b2f29311ad8959698be 4.4.0 -e7a6d0e8002237f624ecc8a45a6a472f7baadd08 4.6.0 -321b0104a732419c11aa4926785502e0615b89c9 4.8.0 -e8cadc044d59edff8a2ca73932c723d507517ec8 5.0.0 -ef34e4e92d45ab2b2b2956bbb6aa8b3ca259eb13 5.2.0 -32170ff46339dbc8609225791ab737a0f3eb0291 5.4.0 -5738a22adbb45390167194e4089adc46c6b638a3 5.6.0 -e21456b81972188261b8a6fc876afc18f641c85b 5.8.0 -2164597ffa5f4f0443e4804944b30f5491070990 6.0.0 -12a321529713d3e0b04fa94883baf66bddf76b75 6.0.1 -10e05cdf4fb3fcd545d8b47d03df8cfb78b38a76 6.0.2 -7b3f3676cf9d72147edcdb0cd477b77b1af7af9e 6.0.3 -68ea8ab81fc3d67e3efe925c3694644a46b7c111 6.0.4 -133f0b26de213e0b5668ae891e176de8f79025fc 6.0.5 -1719ce1a669285333424c02c9e3e45fd636b995c 6.0.6 -67fe2d478dbf413873c0919cfd5d6f3f6f4c2275 6.0.7 -ed230154446f04aed350b7fd0d416a80145645ee 6.0.8 -df3e4a189c249ff54e118a4943c03ecaab5fee60 6.0.9 -32f14e8a77caa727f2dfcec93aa15e05f45ad0b6 6.0.10 -6cb11cbdabc3b93d9698fc17653e8cb24b8154d4 6.0.11 -f34c0f0f0010e95ba38d3378f2e86d7e7a966516 6.0.12 -c1e2890b414d6d9c0bae303577fb784c8e8c715b 6.0.13 -78607bfea2986fe335c98a6ef87905cded1f5b2d 6.0.14 -26fba5237ff3ec9aed2d8aebdc1115e595e76c0b 6.0.15 -c4cf78bb401aec7d52a007eb7bda958658edaf95 6.0.16 -246ad7a2addde11a7b3e828ace36cf5fb1bc6696 6.0.17 -ca63f7f2eef1998de82eae76636c00211f0e3a80 6.0.18 -2973349bc8ca02dc5aba4fbf6a2e4ba270af9780 6.0.19 -9d5f5e04e2b0105bf4ca644bf98811d267054514 6.0.20 -221212011e95b8004c93ec76d21f5ffa12e866ee 6.0.21 -3ff41e43408ddccd4ce91170b6536a2f5cd0112b 6.0.22 -7d81a0faef794489d63fb164d0fb2ba2196c878b 6.0.23 -9b36d68c67a48a2203ef3598f5379d708781dc9e 6.0.24 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/CHANGELOG new/trytond-6.0.25/CHANGELOG --- old/trytond-6.0.24/CHANGELOG 2022-11-17 18:46:24.000000000 +0100 +++ new/trytond-6.0.25/CHANGELOG 2023-01-02 22:32:16.000000000 +0100 @@ -1,3 +1,7 @@ +Version 6.0.25 - 2023-01-02 +--------------------------- +* Bug fixes (see mercurial logs for details) + Version 6.0.24 - 2022-11-17 --------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/PKG-INFO new/trytond-6.0.25/PKG-INFO --- old/trytond-6.0.24/PKG-INFO 2022-11-17 18:46:26.848553700 +0100 +++ new/trytond-6.0.25/PKG-INFO 2023-01-02 22:32:19.476082800 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond -Version: 6.0.24 +Version: 6.0.25 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.24/doc/conf.py new/trytond-6.0.25/doc/conf.py --- old/trytond-6.0.24/doc/conf.py 1970-01-01 01:00:00.000000000 +0100 +++ new/trytond-6.0.25/doc/conf.py 2023-01-02 22:32:08.000000000 +0100 @@ -0,0 +1,56 @@ +# 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 os + +base_url = os.environ.get('DOC_BASE_URL') +if base_url: + modules_url = base_url + '/modules-{module}/' + trytond_url = base_url + '/server/' +else: + modules_url = ( + 'https://docs.tryton.org/projects/modules-{module}/en/{series}/') + trytond_url = 'https://docs.tryton.org/projects/server/en/{series}/' + + +def get_info(): + import subprocess + import sys + + module_dir = os.path.dirname(os.path.dirname(__file__)) + + info = dict() + + result = subprocess.run( + [sys.executable, 'setup.py', '--name'], + stdout=subprocess.PIPE, check=True, cwd=module_dir) + info['name'] = result.stdout.decode('utf-8').strip() + + result = subprocess.run( + [sys.executable, 'setup.py', '--version'], + stdout=subprocess.PIPE, check=True, cwd=module_dir) + version = result.stdout.decode('utf-8').strip() + if 'dev' in version: + info['series'] = 'latest' + else: + info['series'] = '.'.join(version.split('.', 2)[:2]) + + return info + + +info = get_info() + +master_doc = 'index' +project = info['name'] +release = version = info['series'] +default_role = 'ref' +highlight_language = 'none' +extensions = [ + 'sphinx.ext.intersphinx', + ] +intersphinx_mapping = { + 'python': ('https://docs.python.org/', None), + } +linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] + +del get_info, info, base_url, modules_url, trytond_url diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/setup.py new/trytond-6.0.25/setup.py --- old/trytond-6.0.24/setup.py 2022-04-14 23:49:17.000000000 +0200 +++ new/trytond-6.0.25/setup.py 2022-12-19 13:03:46.000000000 +0100 @@ -49,28 +49,6 @@ download_url = 'http://downloads.tryton.org/%s.%s/' % ( major_version, minor_version) -if minor_version % 2: - version = '%s.%s.dev0' % (major_version, minor_version) - download_url = 'hg+http://hg.tryton.org/%s#egg=%s-%s' % ( - name, name, version) -local_version = [] -if os.environ.get('CI_JOB_ID'): - local_version.append(os.environ['CI_JOB_ID']) -else: - for build in ['CI_BUILD_NUMBER', 'CI_JOB_NUMBER']: - if os.environ.get(build): - local_version.append(os.environ[build]) - else: - local_version = [] - break -if local_version: - version += '+' + '.'.join(local_version) - -dependency_links = [] -if minor_version % 2: - dependency_links.append( - 'https://trydevpi.tryton.org/?local_version=' - + '.'.join(local_version)) if platform.python_implementation() == 'PyPy': pg_require = ['psycopg2cffi > 2.9.0'] @@ -177,7 +155,6 @@ 'coroutine': ['gevent>=1.1'], 'image': ['pillow'], }, - dependency_links=dependency_links, zip_safe=False, test_suite='trytond.tests', test_loader='trytond.test_loader:Loader', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/tox.ini new/trytond-6.0.25/tox.ini --- old/trytond-6.0.24/tox.ini 2022-04-14 23:25:02.000000000 +0200 +++ new/trytond-6.0.25/tox.ini 2022-12-19 13:03:46.000000000 +0100 @@ -7,9 +7,9 @@ {py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5 pypy3-postgresql: psycopg2cffi >= 2.5 py36-sqlite: sqlitebck +passenv = * setenv = sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://} postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://} - sqlite: DB_NAME={env:SQLITE_NAME::memory:} - postgresql: DB_NAME={env:POSTGRESQL_NAME:test} -install_command = pip install --pre --find-links https://trydevpi.tryton.org/?local_version={env:CI_JOB_ID:{env:CI_BUILD_NUMBER}.{env:CI_JOB_NUMBER}} {opts} {packages} + sqlite: DB_NAME={env:DB_NAME::memory:} + postgresql: DB_NAME={env:DB_NAME:test} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/trytond/__init__.py new/trytond-6.0.25/trytond/__init__.py --- old/trytond-6.0.24/trytond/__init__.py 2022-11-05 17:09:12.000000000 +0100 +++ new/trytond-6.0.25/trytond/__init__.py 2022-12-19 13:03:46.000000000 +0100 @@ -7,7 +7,7 @@ from lxml import etree, objectify -__version__ = "6.0.24" +__version__ = "6.0.25" os.environ['TZ'] = 'UTC' if hasattr(time, 'tzset'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/trytond/model/modelstorage.py new/trytond-6.0.25/trytond/model/modelstorage.py --- old/trytond-6.0.24/trytond/model/modelstorage.py 2022-07-22 12:58:42.000000000 +0200 +++ new/trytond-6.0.25/trytond/model/modelstorage.py 2022-12-19 13:03:46.000000000 +0100 @@ -1784,9 +1784,8 @@ to_create.append(record) elif save_values[record]: to_write.append(record) - transaction = Transaction() try: - with transaction.set_current_transaction(transaction), \ + with Transaction().set_current_transaction(transaction), \ transaction.set_user(user), \ transaction.reset_context(), \ transaction.set_context(context, _check_access=False): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/trytond/tests/test_tools.py new/trytond-6.0.25/trytond/tests/test_tools.py --- old/trytond-6.0.24/trytond/tests/test_tools.py 2022-04-14 23:25:02.000000000 +0200 +++ new/trytond-6.0.25/trytond/tests/test_tools.py 2023-01-02 22:32:08.000000000 +0100 @@ -521,7 +521,7 @@ def test_unique_value(self): domain = [['a', '=', 1]] - self.assertEqual(unique_value(domain), (True, '=', 1)) + self.assertEqual(unique_value(domain), (True, 'a', 1)) domain = [['a', '!=', 1]] self.assertFalse(unique_value(domain)[0]) @@ -533,7 +533,7 @@ self.assertFalse(unique_value(domain)[0]) domain = [['a.id', '=', 1, 'model']] - self.assertEqual(unique_value(domain), (True, '=', ['model', 1])) + self.assertEqual(unique_value(domain), (True, 'a.id', ['model', 1])) domain = [['a.b.id', '=', 1, 'model']] self.assertEqual(unique_value(domain), (False, None, None)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/trytond/tools/domain_inversion.py new/trytond-6.0.25/trytond/tools/domain_inversion.py --- old/trytond-6.0.24/trytond/tools/domain_inversion.py 2022-04-14 23:25:02.000000000 +0200 +++ new/trytond-6.0.25/trytond/tools/domain_inversion.py 2023-01-02 22:32:08.000000000 +0100 @@ -342,7 +342,7 @@ model = domain[3] value = [model, value] if name.count('.') == count and domain[1] == '=': - return True, domain[1], value + return True, name, value return False, None, None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/trytond/worker.py new/trytond-6.0.25/trytond/worker.py --- old/trytond-6.0.24/trytond/worker.py 2022-04-22 18:53:18.000000000 +0200 +++ new/trytond-6.0.25/trytond/worker.py 2023-01-02 22:32:08.000000000 +0100 @@ -62,15 +62,15 @@ queues = [Queue(name, mpool) for name in options.database_names] tasks = TaskList() - timeout = options.timeout try: while True: + timeout = options.timeout while len(tasks.filter()) >= processes: time.sleep(0.1) for queue in queues: task_id, next_ = queue.pull(options.name) - timeout = min( - next_ or options.timeout, timeout, options.timeout) + if next_ is not None: + timeout = min(next_, timeout) if task_id: tasks.append(queue.run(task_id)) break diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond-6.0.24/trytond.egg-info/PKG-INFO new/trytond-6.0.25/trytond.egg-info/PKG-INFO --- old/trytond-6.0.24/trytond.egg-info/PKG-INFO 2022-11-17 18:46:25.000000000 +0100 +++ new/trytond-6.0.25/trytond.egg-info/PKG-INFO 2023-01-02 22:32:18.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond -Version: 6.0.24 +Version: 6.0.25 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.24/trytond.egg-info/SOURCES.txt new/trytond-6.0.25/trytond.egg-info/SOURCES.txt --- old/trytond-6.0.24/trytond.egg-info/SOURCES.txt 2022-11-17 18:46:26.000000000 +0100 +++ new/trytond-6.0.25/trytond.egg-info/SOURCES.txt 2023-01-02 22:32:19.000000000 +0100 @@ -1,6 +1,3 @@ -.drone.yml -.flake8 -.hgtags CHANGELOG COPYRIGHT LICENSE @@ -14,6 +11,7 @@ bin/trytond-cron bin/trytond-stat bin/trytond-worker +doc/conf.py doc/index.rst doc/ref/bus.rst doc/ref/cache.rst