Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trytond_stock for openSUSE:Factory checked in at 2023-04-15 22:32:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_stock (Old) and /work/SRC/openSUSE:Factory/.trytond_stock.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_stock" Sat Apr 15 22:32:49 2023 rev:33 rq:1079515 version:6.0.19 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_stock/trytond_stock.changes 2022-11-26 18:45:35.699263224 +0100 +++ /work/SRC/openSUSE:Factory/.trytond_stock.new.19717/trytond_stock.changes 2023-04-15 22:32:53.209447826 +0200 @@ -1,0 +2,5 @@ +Fri Apr 7 20:03:06 UTC 2023 - Axel Braun <axel.br...@gmx.de> + +- Version 6.0.19 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_stock-6.0.18.tar.gz trytond_stock-6.0.18.tar.gz.asc New: ---- trytond_stock-6.0.19.tar.gz trytond_stock-6.0.19.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_stock.spec ++++++ --- /var/tmp/diff_new_pack.hL37AV/_old 2023-04-15 22:32:53.709450711 +0200 +++ /var/tmp/diff_new_pack.hL37AV/_new 2023-04-15 22:32:53.713450734 +0200 @@ -1,7 +1,7 @@ # # spec file for package trytond_stock # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2014-2021 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define majorver 6.0 Name: trytond_stock -Version: %{majorver}.18 +Version: %{majorver}.19 Release: 0 Summary: The "stock" module for the Tryton ERP system License: GPL-3.0-only ++++++ trytond_stock-6.0.18.tar.gz -> trytond_stock-6.0.19.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.18/.drone.yml new/trytond_stock-6.0.19/.drone.yml --- old/trytond_stock-6.0.18/.drone.yml 2021-10-29 01:41:16.000000000 +0200 +++ new/trytond_stock-6.0.19/.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_stock-6.0.18/.flake8 new/trytond_stock-6.0.19/.flake8 --- old/trytond_stock-6.0.18/.flake8 2021-10-29 01:41:16.000000000 +0200 +++ new/trytond_stock-6.0.19/.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_stock-6.0.18/.hgtags new/trytond_stock-6.0.19/.hgtags --- old/trytond_stock-6.0.18/.hgtags 2022-11-17 18:56:34.000000000 +0100 +++ new/trytond_stock-6.0.19/.hgtags 1970-01-01 01:00:00.000000000 +0100 @@ -1,44 +0,0 @@ -36cc8c10a10e0df5e7a0ef2cb6d6cdda706c0180 1.0.0 -f1d720635a60692c9abeb972734482e01ebc4b87 1.2.0 -0571f5c67623c43272e5fc05cc381554d6bf3db0 1.4.0 -6a658c8f74a540a10272f5d7f311d6c61c04f3da 1.6.0 -902e4b31b9d56918b1e9eb6e9486f52d19820fa6 1.8.0 -c2e3b9e568b73f262ebf0b69c2ca98f97cbb886e 2.0.0 -3babec8ed968fa95e07a7d90351de0e23a1125bf 2.2.0 -6217a989c27b4780c99ae09ee8cd1bd99807f857 2.4.0 -be073cc040e1ea0eabf77e09eaa8c8c97062e3ab 2.6.0 -83de8e4076f99f7247dc034a909a85a0dc500d84 2.8.0 -1e2bd2e0ec24c7c6109d38625e90462dffb18c13 3.0.0 -bcb26eaee7652f9b11cc717402859b0c3c6d87d2 3.2.0 -70be46258bf1471f5712285ae1772941610aaf7b 3.4.0 -70c741dc67fb55b51b950b2c5fa383318e693e04 3.6.0 -1b17ff426586b71fc7df09353c6337abe409c7cc 3.8.0 -f8628e226bd36c24c4ba5fece3363a272d2090eb 4.0.0 -ba22e15da88bf5736b49a85f12d8d4c864f4bd3f 4.2.0 -03dc7be46d80699cc35528ffe1416d972868d830 4.4.0 -e987bc41694de75a4a74235c12d7a576083c24ba 4.6.0 -697136ec827439a97ba89764f6c4e603f44c2dde 4.8.0 -997d19b737f02756d91647bbcf2c244c75454a13 5.0.0 -72a0c9157ce92abc2aef770d49e4f4d2df334e53 5.2.0 -2d1eab94f8c1efa0b7c9008f333d3419d3afd92e 5.4.0 -942dd4faf224b4b7a4d24fa47488f9453c9d37de 5.6.0 -d1e67fbb11774d0a7ca3bd5761cf4ea11dbaa4b8 5.8.0 -07499733ef86626acae2c8249ea02eb14ac4990f 6.0.0 -d2ee66917e7a025dbe0a45c5e20246921f88e3ab 6.0.1 -e0f26d2d46f0b8d2466f74c572e7b3eac747ef6d 6.0.2 -39ab9008e2b31f3067ca193e97e6b4182a97dbf1 6.0.3 -c4559954273ed17956b9f424e506e004cad913a8 6.0.4 -a231e37aa2b8074e0a5ddc4957decd74d528268b 6.0.5 -bdbcc38971c21643796423e4fe7af1d487d7abc6 6.0.6 -95d6cbcf8e8e4c2661c872fbadfc031ed9294a57 6.0.7 -046cf4bde35642bf0dfd9701a4cf2fcfbd0599a7 6.0.8 -21767740f556a7cc537b4e1f39d2d709b7f5ea3a 6.0.9 -7eb0b3717a39da9388a90ed5aa6a84f68494c594 6.0.10 -642a659e1017214dd9559d3c1ab97ffdd5457d79 6.0.11 -a29dbdb162873ebdea451f6895f895b063b3bb07 6.0.12 -b2feddae43b362b85b5b70908cefcff96ba1b0dd 6.0.13 -3688ec9159b359be2fbb3b3de8a8fce97e9effb6 6.0.14 -0dd8675f2ca761e2f461cb96ba36ec5b841404b2 6.0.15 -95767dcfed28d7257ca79b81157006aa8cd78c51 6.0.16 -27b7111d95687f65648992b8c2bc09fdbc24aebe 6.0.17 -98b3979b26627af842f6552583a216346c4ece89 6.0.18 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.18/CHANGELOG new/trytond_stock-6.0.19/CHANGELOG --- old/trytond_stock-6.0.18/CHANGELOG 2022-11-17 18:56:33.000000000 +0100 +++ new/trytond_stock-6.0.19/CHANGELOG 2023-04-02 00:11:45.000000000 +0200 @@ -1,3 +1,8 @@ + +Version 6.0.19 - 2023-04-01 +--------------------------- +* Bug fixes (see mercurial logs for details) + Version 6.0.18 - 2022-11-17 --------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.18/PKG-INFO new/trytond_stock-6.0.19/PKG-INFO --- old/trytond_stock-6.0.18/PKG-INFO 2022-11-17 18:56:36.178964900 +0100 +++ new/trytond_stock-6.0.19/PKG-INFO 2023-04-02 00:11:51.513846600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_stock -Version: 6.0.18 +Version: 6.0.19 Summary: Tryton module for stock and inventory 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_stock-6.0.18/doc/conf.py new/trytond_stock-6.0.19/doc/conf.py --- old/trytond_stock-6.0.18/doc/conf.py 2021-10-29 01:41:16.000000000 +0200 +++ new/trytond_stock-6.0.19/doc/conf.py 2022-12-19 13:03:38.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_stock-6.0.18/inventory.py new/trytond_stock-6.0.19/inventory.py --- old/trytond_stock-6.0.18/inventory.py 2022-02-07 23:28:14.000000000 +0100 +++ new/trytond_stock-6.0.19/inventory.py 2023-03-12 10:33:39.000000000 +0100 @@ -263,7 +263,9 @@ product_ids = None else: product_ids = [l.product.id for l in inventory.lines] - with Transaction().set_context(stock_date_end=inventory.date): + with Transaction().set_context( + company=inventory.company.id, + stock_date_end=inventory.date): pbl = Product.products_by_location( [inventory.location.id], grouping=grouping, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.18/setup.py new/trytond_stock-6.0.19/setup.py --- old/trytond_stock-6.0.18/setup.py 2022-04-14 23:50:20.000000000 +0200 +++ new/trytond_stock-6.0.19/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 >= 1.3.0', '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, @@ -144,7 +122,6 @@ extras_require={ 'sparklines': ['pygal'], }, - dependency_links=dependency_links, zip_safe=False, entry_points=""" [trytond.modules] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.18/tox.ini new/trytond_stock-6.0.19/tox.ini --- old/trytond_stock-6.0.18/tox.ini 2021-10-29 01:41:16.000000000 +0200 +++ new/trytond_stock-6.0.19/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_stock-6.0.18/tryton.cfg new/trytond_stock-6.0.19/tryton.cfg --- old/trytond_stock-6.0.18/tryton.cfg 2022-10-17 23:54:21.000000000 +0200 +++ new/trytond_stock-6.0.19/tryton.cfg 2022-12-19 13:03:46.000000000 +0100 @@ -1,5 +1,5 @@ [tryton] -version=6.0.18 +version=6.0.19 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_stock-6.0.18/trytond_stock.egg-info/PKG-INFO new/trytond_stock-6.0.19/trytond_stock.egg-info/PKG-INFO --- old/trytond_stock-6.0.18/trytond_stock.egg-info/PKG-INFO 2022-11-17 18:56:35.000000000 +0100 +++ new/trytond_stock-6.0.19/trytond_stock.egg-info/PKG-INFO 2023-04-02 00:11:50.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond-stock -Version: 6.0.18 +Version: 6.0.19 Summary: Tryton module for stock and inventory 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_stock-6.0.18/trytond_stock.egg-info/SOURCES.txt new/trytond_stock-6.0.19/trytond_stock.egg-info/SOURCES.txt --- old/trytond_stock-6.0.18/trytond_stock.egg-info/SOURCES.txt 2022-11-17 18:56:35.000000000 +0100 +++ new/trytond_stock-6.0.19/trytond_stock.egg-info/SOURCES.txt 2023-04-02 00:11:51.000000000 +0200 @@ -1,6 +1,3 @@ -.drone.yml -.flake8 -.hgtags CHANGELOG COPYRIGHT LICENSE