Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trytond_purchase for openSUSE:Factory checked in at 2023-03-12 19:47:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old) and /work/SRC/openSUSE:Factory/.trytond_purchase.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_purchase" Sun Mar 12 19:47:58 2023 rev:24 rq:1071010 version:6.0.10 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes 2022-10-25 11:20:47.914241858 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_purchase.new.31432/trytond_purchase.changes 2023-03-12 19:48:00.947525088 +0100 @@ -1,0 +2,5 @@ +Sun Mar 5 16:01:18 UTC 2023 - Axel Braun <axel.br...@gmx.de> + +- Version 6.0.10 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_purchase-6.0.9.tar.gz trytond_purchase-6.0.9.tar.gz.asc New: ---- trytond_purchase-6.0.10.tar.gz trytond_purchase-6.0.10.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_purchase.spec ++++++ --- /var/tmp/diff_new_pack.pCmViW/_old 2023-03-12 19:48:01.487527797 +0100 +++ /var/tmp/diff_new_pack.pCmViW/_new 2023-03-12 19:48:01.491527817 +0100 @@ -17,7 +17,7 @@ %define majorver 6.0 Name: trytond_purchase -Version: %{majorver}.9 +Version: %{majorver}.10 Release: 0 Summary: The "purchase" module for the Tryton ERP system License: GPL-3.0 ++++++ trytond_purchase-6.0.9.tar.gz -> trytond_purchase-6.0.10.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_purchase-6.0.9/.drone.yml new/trytond_purchase-6.0.10/.drone.yml --- old/trytond_purchase-6.0.9/.drone.yml 2021-11-02 18:42:28.000000000 +0100 +++ new/trytond_purchase-6.0.10/.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_purchase-6.0.9/.flake8 new/trytond_purchase-6.0.10/.flake8 --- old/trytond_purchase-6.0.9/.flake8 2021-11-02 18:42:28.000000000 +0100 +++ new/trytond_purchase-6.0.10/.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_purchase-6.0.9/.hgtags new/trytond_purchase-6.0.10/.hgtags --- old/trytond_purchase-6.0.9/.hgtags 2022-10-17 23:59:40.000000000 +0200 +++ new/trytond_purchase-6.0.10/.hgtags 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ -28f5e05376cda70f569743e695369f3dcb5462d0 1.0.0 -8411703acab8ab25c5b6a34cedbaa65d8edfb74d 1.2.0 -821a4e526a660debd9e815f866edeaef93026535 1.4.0 -eaeea51fd310f387cc5593ac03caa0a7926ed377 1.6.0 -c5a5d252430911794635b127796bb69727c4c50f 1.8.0 -cf37cf340aadf693703bb72cd9090349698f5eec 2.0.0 -155968df100be420b04452a4a66bff26d9b09d9c 2.2.0 -16f519261f4717b8311fab4525fe9b42624fb9d9 2.4.0 -9aa18c79df9b40d85456d01bdc67ed599c49ed65 2.6.0 -94e08118db32cc429b90c45ed6243a5485d927bb 2.8.0 -37e7ff56a2020b546a3ab4362de63fef916485b4 3.0.0 -775b22f5d584e37ecf96e20519c672cc2c78e137 3.2.0 -3b5b95037d900f173929b37a54cd4fc2cea18437 3.4.0 -f575cdd64cba4615ed28849f77b7991aee7f8e6b 3.6.0 -c9a20a9ab9833b4dec50884ab524d3dd331395c6 3.8.0 -4a507c55113e94fed4f23aeb299c354ab19f451f 4.0.0 -d26f28ad5629c320e6cb88caac8b28c7e335372b 4.2.0 -6ee112692f6ceb07547622c5c974e4f81ee14683 4.4.0 -15a64f104f322d0827d44773911d4e0a9aebba5f 4.6.0 -4221e2277ff99417e520483bfd5dc2157882249a 4.8.0 -a19d4f68a99f24f220200eef7949504a3849bfbb 5.0.0 -3f18592e924cdb2e3603229c416ac41cac11b485 5.2.0 -40575dbd381e65fbd0364f66c0ff45909ebd243d 5.4.0 -9aada510d43bd05d3c4c469c3ea203442d56829a 5.6.0 -38398542e536c292af1a5e144e0a8f70400e2ca1 5.8.0 -2d9779c9eb069dc9e840690bd9c7fa35f5a6bd54 6.0.0 -72b15615452bc64fd73b5caf3c0abc1351d94dec 6.0.1 -1f62b71cc7b791fb68b670f3b3999ceb92f42850 6.0.2 -59df785ea68a332dd6bab8eedec328fa13b26146 6.0.3 -86d73697a72fedc55d5fc130c17893faac5d0245 6.0.4 -6722bfa5576291e9dcdfa66878027a9799a0b9a2 6.0.5 -c517d4067ca5cef9b6eb07e6de4e466eae69b95c 6.0.6 -a0051c17a0717756b5607b9b0bf4947bc590c924 6.0.7 -71321aef73ceef792e178a8071ae6605615b7cfe 6.0.8 -1b10f0afea95bcd6b97b0548b9b2dac130a1163e 6.0.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_purchase-6.0.9/CHANGELOG new/trytond_purchase-6.0.10/CHANGELOG --- old/trytond_purchase-6.0.9/CHANGELOG 2022-10-17 23:59:39.000000000 +0200 +++ new/trytond_purchase-6.0.10/CHANGELOG 2023-03-04 12:46:12.000000000 +0100 @@ -1,3 +1,8 @@ + +Version 6.0.10 - 2023-03-04 +--------------------------- +* Bug fixes (see mercurial logs for details) + Version 6.0.9 - 2022-10-17 * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_purchase-6.0.9/COPYRIGHT new/trytond_purchase-6.0.10/COPYRIGHT --- old/trytond_purchase-6.0.9/COPYRIGHT 2022-10-17 23:59:39.000000000 +0200 +++ new/trytond_purchase-6.0.10/COPYRIGHT 2023-03-04 12:46:11.000000000 +0100 @@ -1,6 +1,6 @@ -Copyright (C) 2008-2022 Cédric Krier. +Copyright (C) 2008-2023 Cédric Krier. Copyright (C) 2008-2013 Bertrand Chenal. -Copyright (C) 2008-2022 B2CK SPRL. +Copyright (C) 2008-2023 B2CK SPRL. Copyright (C) 2004-2008 Tiny SPRL. This program is free software: you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_purchase-6.0.9/PKG-INFO new/trytond_purchase-6.0.10/PKG-INFO --- old/trytond_purchase-6.0.9/PKG-INFO 2022-10-17 23:59:41.801936900 +0200 +++ new/trytond_purchase-6.0.10/PKG-INFO 2023-03-04 12:46:18.689637000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_purchase -Version: 6.0.9 +Version: 6.0.10 Summary: Tryton module for purchase 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_purchase-6.0.9/doc/conf.py new/trytond_purchase-6.0.10/doc/conf.py --- old/trytond_purchase-6.0.9/doc/conf.py 2021-11-02 18:42:28.000000000 +0100 +++ new/trytond_purchase-6.0.10/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_purchase-6.0.9/purchase.py new/trytond_purchase-6.0.10/purchase.py --- old/trytond_purchase-6.0.9/purchase.py 2022-10-12 19:41:46.000000000 +0200 +++ new/trytond_purchase-6.0.10/purchase.py 2023-02-27 18:51:25.000000000 +0100 @@ -1743,9 +1743,14 @@ @classmethod def search_rec_name(cls, name, clause): - return ['OR', - ('purchase.rec_name',) + tuple(clause[1:]), - ('product.rec_name',) + tuple(clause[1:]), + _, operator, value = clause + if operator.startswith('!') or operator.startswith('not '): + bool_op = 'AND' + else: + bool_op = 'OR' + return [bool_op, + ('purchase.rec_name', *clause[1:]), + ('product.rec_name', *clause[1:]), ] @classmethod diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_purchase-6.0.9/setup.py new/trytond_purchase-6.0.10/setup.py --- old/trytond_purchase-6.0.9/setup.py 2021-11-02 18:42:28.000000000 +0100 +++ new/trytond_purchase-6.0.10/setup.py 2022-12-19 13:03:46.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-sql >= 0.4'] 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_purchase-6.0.9/tox.ini new/trytond_purchase-6.0.10/tox.ini --- old/trytond_purchase-6.0.9/tox.ini 2021-11-02 18:42:28.000000000 +0100 +++ new/trytond_purchase-6.0.10/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_purchase-6.0.9/tryton.cfg new/trytond_purchase-6.0.10/tryton.cfg --- old/trytond_purchase-6.0.9/tryton.cfg 2022-08-03 23:53:09.000000000 +0200 +++ new/trytond_purchase-6.0.10/tryton.cfg 2022-12-19 13:03:46.000000000 +0100 @@ -1,5 +1,5 @@ [tryton] -version=6.0.9 +version=6.0.10 depends: account account_invoice diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_purchase-6.0.9/trytond_purchase.egg-info/PKG-INFO new/trytond_purchase-6.0.10/trytond_purchase.egg-info/PKG-INFO --- old/trytond_purchase-6.0.9/trytond_purchase.egg-info/PKG-INFO 2022-10-17 23:59:41.000000000 +0200 +++ new/trytond_purchase-6.0.10/trytond_purchase.egg-info/PKG-INFO 2023-03-04 12:46:17.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond-purchase -Version: 6.0.9 +Version: 6.0.10 Summary: Tryton module for purchase 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_purchase-6.0.9/trytond_purchase.egg-info/SOURCES.txt new/trytond_purchase-6.0.10/trytond_purchase.egg-info/SOURCES.txt --- old/trytond_purchase-6.0.9/trytond_purchase.egg-info/SOURCES.txt 2022-10-17 23:59:41.000000000 +0200 +++ new/trytond_purchase-6.0.10/trytond_purchase.egg-info/SOURCES.txt 2023-03-04 12:46:18.000000000 +0100 @@ -1,6 +1,3 @@ -.drone.yml -.flake8 -.hgtags CHANGELOG COPYRIGHT LICENSE