Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trytond_account for openSUSE:Factory checked in at 2023-02-12 19:14:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_account (Old) and /work/SRC/openSUSE:Factory/.trytond_account.new.1848 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_account" Sun Feb 12 19:14:42 2023 rev:36 rq:1064663 version:6.0.14 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_account/trytond_account.changes 2022-08-18 16:49:41.289518690 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_account.new.1848/trytond_account.changes 2023-02-12 19:14:44.501195250 +0100 @@ -1,0 +2,5 @@ +Mon Feb 6 17:36:22 UTC 2023 - Axel Braun <axel.br...@gmx.de> + +- Version 6.0.14 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_account-6.0.13.tar.gz trytond_account-6.0.13.tar.gz.asc New: ---- trytond_account-6.0.14.tar.gz trytond_account-6.0.14.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_account.spec ++++++ --- /var/tmp/diff_new_pack.MXLWjO/_old 2023-02-12 19:14:45.009198363 +0100 +++ /var/tmp/diff_new_pack.MXLWjO/_new 2023-02-12 19:14:45.013198388 +0100 @@ -18,7 +18,7 @@ %define majorver 6.0 Name: trytond_account -Version: %{majorver}.13 +Version: %{majorver}.14 Release: 0 Summary: The "account" module for the Tryton ERP system License: GPL-3.0+ ++++++ trytond_account-6.0.13.tar.gz -> trytond_account-6.0.14.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.13/.drone.yml new/trytond_account-6.0.14/.drone.yml --- old/trytond_account-6.0.13/.drone.yml 2021-11-02 18:43:36.000000000 +0100 +++ new/trytond_account-6.0.14/.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_account-6.0.13/.flake8 new/trytond_account-6.0.14/.flake8 --- old/trytond_account-6.0.13/.flake8 2021-11-02 18:43:36.000000000 +0100 +++ new/trytond_account-6.0.14/.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_account-6.0.13/.hgtags new/trytond_account-6.0.14/.hgtags --- old/trytond_account-6.0.13/.hgtags 2022-08-17 23:53:21.000000000 +0200 +++ new/trytond_account-6.0.14/.hgtags 1970-01-01 01:00:00.000000000 +0100 @@ -1,39 +0,0 @@ -04925636777da31ceff8c5315ab32acc5d727931 1.0.0 -c25f8bf80f1f8f92954cfed3a6dd2f799bd370e4 1.2.0 -34f1b2a0557f504ee70664ff922faee63924aef0 1.4.0 -a8c16bf00272129b9797a6efc12c9983420b2993 1.6.0 -202fae34666e277acfdfba2fbace862a45227a52 1.8.0 -517ebee49a67cde0f2a31a49e4034df6eba82fdb 2.0.0 -7735bce170f90be4b121bf653d8932c7e095f7fc 2.2.0 -4eb06cd8e318992e19b19eba0858cff4a0dd4b3b 2.4.0 -0cff8a0b9011ea4f9b8b75db0350013156a3c1ad 2.6.0 -1f53b2073b99ca85ae3cfda949ad11e46d9a321a 2.8.0 -5d3bb6417e5b5e32831188a35f3f4994f841cb9c 3.0.0 -b36076424542460b028304527e52a664acee34cb 3.2.0 -6792c5a658623db911446d624d7ba7a6be10450f 3.4.0 -db38fd97df4741f543c64c2371d27dcc12ca175e 3.6.0 -2d47260fb405bc5b2be67cd70ba9b9c1260cc355 3.8.0 -d0145d5733d77a0ac7cdd2797abd85ad7f78ad34 4.0.0 -eab1bdb9e0326314b762ddabe495eb932dce7c5f 4.2.0 -d152ecd3adbee600aedc3432447065e2f4ca4c4a 4.4.0 -aa34d5138bb0df6a17e50f6f510db5114990cdf4 4.6.0 -658a3cbfc0cf45ac4bd16cf3b9708bfca389dd8c 4.8.0 -f8512a0d623e08d0965b7ed00813b6221474d27b 5.0.0 -7767a1963ae999ba2e28808192e879d02385a92d 5.2.0 -76db6a535194e08795c029ac0cafb5cc840135d4 5.4.0 -6b2015595a63480309a20748b33a32e89f1d7997 5.6.0 -35b80525af9e1acb8fa6a483cb1becd99774e6f4 5.8.0 -5c981a8da0ee04fccb51cd36a2a9171b650e7f1b 6.0.0 -a3fb82fe5d3aa0b45c6176f254d98752d3fa91a9 6.0.1 -1bcfe233f7dfc10b3ed3d8e17ebe493ddb3fb1cc 6.0.2 -4704058d804ed5126b0cd40c2fc93144388cfb7c 6.0.3 -6199b9a7d6d6999e51c2de999d7065ccf0023a79 6.0.4 -1941b88b6947ff4803bdf860b61f1a855f819502 6.0.5 -7364141541adc80f56ee2a84448a2498f04b1ec6 6.0.6 -bbf530ea45a599d87f184f8b7520e8b3f6aeba00 6.0.7 -6a8ea1c1ab4a940c8c1d3e4f487605a16be8776e 6.0.8 -61169875694b908745a5f05c0b0849922e2a7ebd 6.0.9 -c2067dc0f948f1fcccec16b328029281ee7cd3b9 6.0.10 -c14b34ce88b5075f5f51626f3a26a50f7539af63 6.0.11 -ef3006913bf6116e88664c163085da7928dfe1f9 6.0.12 -df933ce59bf1aaf2ae42503d659d3b0ed561a039 6.0.13 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.13/CHANGELOG new/trytond_account-6.0.14/CHANGELOG --- old/trytond_account-6.0.13/CHANGELOG 2022-08-17 23:53:20.000000000 +0200 +++ new/trytond_account-6.0.14/CHANGELOG 2023-02-05 22:33:38.000000000 +0100 @@ -1,3 +1,7 @@ +Version 6.0.14 - 2023-02-05 +--------------------------- +* Bug fixes (see mercurial logs for details) + Version 6.0.13 - 2022-08-17 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.13/PKG-INFO new/trytond_account-6.0.14/PKG-INFO --- old/trytond_account-6.0.13/PKG-INFO 2022-08-17 23:53:22.852139500 +0200 +++ new/trytond_account-6.0.14/PKG-INFO 2023-02-05 22:33:42.045298300 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_account -Version: 6.0.13 +Version: 6.0.14 Summary: Tryton module for accounting 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_account-6.0.13/account.py new/trytond_account-6.0.14/account.py --- old/trytond_account-6.0.13/account.py 2022-08-13 19:00:10.000000000 +0200 +++ new/trytond_account-6.0.14/account.py 2023-02-05 21:50:06.000000000 +0100 @@ -1246,19 +1246,17 @@ for child in childs: if not child.template: continue - if not child.template.taxes: - continue values = {} tax_ids = [template2tax[x.id] for x in child.template.taxes if x.id in template2tax] old_tax_ids = [x.id for x in child.taxes] - for tax_id in tax_ids: - if tax_id not in old_tax_ids: - values['taxes'] = [ - ('add', [template2tax[x.id] - for x in child.template.taxes - if x.id in template2tax])] - break + taxes_to_add = [x for x in tax_ids if x not in old_tax_ids] + taxes_to_remove = [x for x in old_tax_ids if x not in tax_ids] + if taxes_to_add or taxes_to_remove: + values['taxes'] = [ + ('add', taxes_to_add), + ('remove', taxes_to_remove), + ] if child.template.parent: parent = template2account[child.template.parent.id] else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.13/doc/conf.py new/trytond_account-6.0.14/doc/conf.py --- old/trytond_account-6.0.13/doc/conf.py 2021-11-02 18:43:36.000000000 +0100 +++ new/trytond_account-6.0.14/doc/conf.py 2022-12-19 13:03:37.000000000 +0100 @@ -1,13 +1,20 @@ # This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. -modules_url = 'https://docs.tryton.org/projects/modules-{module}/en/{series}/' -trytond_url = 'https://docs.tryton.org/projects/server/en/{series}/' +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 configparser - import os import subprocess import sys @@ -57,5 +64,6 @@ module=m.replace('_', '-'), series=version), None) for m in info['modules'] }) +linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] -del get_info, info, modules_url, trytond_url +del get_info, info, base_url, modules_url, trytond_url diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.13/setup.py new/trytond_account-6.0.14/setup.py --- old/trytond_account-6.0.13/setup.py 2021-11-02 18:43:36.000000000 +0100 +++ new/trytond_account-6.0.14/setup.py 2022-12-19 13:03:45.000000000 +0100 @@ -42,23 +42,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/modules/%s#egg=%s-%s' % ( - name[8:], 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) requires = ['python-dateutil', 'python-sql >= 0.7', 'simpleeval'] for dep in info.get('depends', []): @@ -67,11 +50,6 @@ requires.append(get_require_version('trytond')) tests_require = [get_require_version('proteus')] -dependency_links = [] -if minor_version % 2: - dependency_links.append( - 'https://trydevpi.tryton.org/?local_version=' - + '.'.join(local_version)) setup(name=name, version=version, @@ -141,7 +119,6 @@ license='GPL-3', python_requires='>=3.6', install_requires=requires, - dependency_links=dependency_links, zip_safe=False, entry_points=""" [trytond.modules] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.13/tox.ini new/trytond_account-6.0.14/tox.ini --- old/trytond_account-6.0.13/tox.ini 2021-11-02 18:43:36.000000000 +0100 +++ new/trytond_account-6.0.14/tox.ini 2022-12-19 13:03:45.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_account-6.0.13/tryton.cfg new/trytond_account-6.0.14/tryton.cfg --- old/trytond_account-6.0.13/tryton.cfg 2022-08-04 00:06:14.000000000 +0200 +++ new/trytond_account-6.0.14/tryton.cfg 2022-12-19 13:03:45.000000000 +0100 @@ -1,5 +1,5 @@ [tryton] -version=6.0.13 +version=6.0.14 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.13/trytond_account.egg-info/PKG-INFO new/trytond_account-6.0.14/trytond_account.egg-info/PKG-INFO --- old/trytond_account-6.0.13/trytond_account.egg-info/PKG-INFO 2022-08-17 23:53:22.000000000 +0200 +++ new/trytond_account-6.0.14/trytond_account.egg-info/PKG-INFO 2023-02-05 22:33:41.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond-account -Version: 6.0.13 +Version: 6.0.14 Summary: Tryton module for accounting 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_account-6.0.13/trytond_account.egg-info/SOURCES.txt new/trytond_account-6.0.14/trytond_account.egg-info/SOURCES.txt --- old/trytond_account-6.0.13/trytond_account.egg-info/SOURCES.txt 2022-08-17 23:53:22.000000000 +0200 +++ new/trytond_account-6.0.14/trytond_account.egg-info/SOURCES.txt 2023-02-05 22:33:41.000000000 +0100 @@ -1,6 +1,3 @@ -.drone.yml -.flake8 -.hgtags CHANGELOG COPYRIGHT LICENSE