Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package proteus for openSUSE:Factory checked in at 2025-09-15 19:53:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/proteus (Old) and /work/SRC/openSUSE:Factory/.proteus.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "proteus" Mon Sep 15 19:53:07 2025 rev:28 rq:1304778 version:7.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/proteus/proteus.changes 2025-07-02 18:17:10.346574377 +0200 +++ /work/SRC/openSUSE:Factory/.proteus.new.1977/proteus.changes 2025-09-15 19:57:12.461938588 +0200 @@ -1,0 +2,5 @@ +Sun Sep 14 13:41:56 UTC 2025 - Axel Braun <[email protected]> + +- Version 7.0.2 - Bugfix Release + +------------------------------------------------------------------- Old: ---- proteus-7.0.1.tar.gz New: ---- proteus-7.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ proteus.spec ++++++ --- /var/tmp/diff_new_pack.PCVT67/_old 2025-09-15 19:57:12.933958407 +0200 +++ /var/tmp/diff_new_pack.PCVT67/_new 2025-09-15 19:57:12.933958407 +0200 @@ -1,7 +1,7 @@ # # spec file for package proteus # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2014-2024 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -29,7 +29,7 @@ %define majorver 7.0 Name: proteus -Version: %{majorver}.1 +Version: %{majorver}.2 Release: 0 Summary: A library to access Tryton's modules like a client License: GPL-3.0-or-later ++++++ proteus-7.0.1.tar.gz -> proteus-7.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-7.0.1/.readthedocs.yaml new/proteus-7.0.2/.readthedocs.yaml --- old/proteus-7.0.1/.readthedocs.yaml 2023-10-30 18:06:38.000000000 +0100 +++ new/proteus-7.0.2/.readthedocs.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -version: 2 -build: - os: ubuntu-22.04 - tools: - python: "3" -python: - install: - - requirements: proteus/doc/requirements-doc.txt -sphinx: - configuration: proteus/doc/conf.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-7.0.1/CHANGELOG new/proteus-7.0.2/CHANGELOG --- old/proteus-7.0.1/CHANGELOG 2024-01-01 13:05:34.000000000 +0100 +++ new/proteus-7.0.2/CHANGELOG 2025-09-03 20:32:44.000000000 +0200 @@ -1,4 +1,9 @@ +Version 7.0.2 - 2025-09-03 +-------------------------- +* Bug fixes (see mercurial logs for details) + + Version 7.0.1 - 2024-01-01 -------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-7.0.1/COPYRIGHT new/proteus-7.0.2/COPYRIGHT --- old/proteus-7.0.1/COPYRIGHT 2024-01-01 13:05:34.000000000 +0100 +++ new/proteus-7.0.2/COPYRIGHT 2025-09-03 20:32:44.000000000 +0200 @@ -1,5 +1,5 @@ -Copyright (C) 2010-2023 Cédric Krier. -Copyright (C) 2010-2023 B2CK SPRL. +Copyright (C) 2010-2025 Cédric Krier. +Copyright (C) 2010-2025 B2CK SPRL. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-7.0.1/PKG-INFO new/proteus-7.0.2/PKG-INFO --- old/proteus-7.0.1/PKG-INFO 2024-01-01 13:05:37.020959600 +0100 +++ new/proteus-7.0.2/PKG-INFO 2025-09-03 20:32:47.546370700 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: proteus -Version: 7.0.1 +Version: 7.0.2 Summary: Library to access Tryton server as a client Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/7.0/ @@ -8,7 +8,7 @@ Author-email: [email protected] License: LGPL-3 Project-URL: Bug Tracker, https://bugs.tryton.org/ -Project-URL: Documentation, https://docs.tryton.org/ +Project-URL: Documentation, https://docs.tryton.org/latest/client-library/ Project-URL: Forum, https://www.tryton.org/forum Project-URL: Source Code, https://code.tryton.org/tryton Keywords: tryton library cli @@ -38,6 +38,21 @@ Provides-Extra: test Requires-Dist: trytond<7.1,>=7.0; extra == "test" Requires-Dist: trytond_party<7.1,>=7.0; extra == "test" +Dynamic: author +Dynamic: author-email +Dynamic: classifier +Dynamic: description +Dynamic: download-url +Dynamic: home-page +Dynamic: keywords +Dynamic: license +Dynamic: license-file +Dynamic: platform +Dynamic: project-url +Dynamic: provides-extra +Dynamic: requires-dist +Dynamic: requires-python +Dynamic: summary ======================= Tryton Scripting Client diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-7.0.1/doc/conf.py new/proteus-7.0.2/doc/conf.py --- old/proteus-7.0.1/doc/conf.py 2023-10-30 18:06:39.000000000 +0100 +++ new/proteus-7.0.2/doc/conf.py 2025-05-05 10:54:29.000000000 +0200 @@ -8,9 +8,8 @@ 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}/' + modules_url = 'https://docs.tryton.org/${series}/modules-{module}/' + trytond_url = 'https://docs.tryton.org/${series}/server/' def get_info(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-7.0.1/proteus/__init__.py new/proteus-7.0.2/proteus/__init__.py --- old/proteus-7.0.1/proteus/__init__.py 2023-12-27 11:39:54.000000000 +0100 +++ new/proteus-7.0.2/proteus/__init__.py 2025-08-23 20:35:53.000000000 +0200 @@ -10,7 +10,7 @@ import proteus.config -__version__ = "7.0.1" +__version__ = "7.0.2" __all__ = ['Model', 'Wizard', 'Report'] _MODELS = threading.local() @@ -973,8 +973,7 @@ fields = [x for x, y in self._fields.items() if y['loading'] == 'eager'] fields.append('_timestamp') - self._values.update( - self._proxy.read([self.id], fields, self._context)[0]) + self._set(self._proxy.read([self.id], fields, self._context)[0]) def _default_get(self): 'Set default values' @@ -982,13 +981,13 @@ self._default_set( self._proxy.default_get(fields, False, self._context)) - def _default_set(self, values): + def _set(self, values, _default=False): fieldnames = [] for field, value in values.items(): if '.' in field: continue - definition = self._fields[field] - if definition['type'] in ('one2many', 'many2many'): + if ((definition := self._fields.get(field)) + and definition['type'] in {'one2many', 'many2many'}): if value and len(value) and isinstance(value[0], int): self._values[field] = value else: @@ -997,12 +996,16 @@ definition, [], self, field) for vals in (value or []): record = Relation() - record._default_set(vals) + record._set(vals, _default=_default) records.append(record) else: self._values[field] = value fieldnames.append(field) - self._on_change(sorted(fieldnames)) + if _default: + self._on_change(sorted(fieldnames)) + + def _default_set(self, values): + return self._set(values, _default=True) def _get_eval(self): values = dict((x, getattr(self, '__%s_eval' % x)) @@ -1255,7 +1258,7 @@ if 'defaults' in view: self.form._default_set(view['defaults']) if 'values' in view: - self.form._values.update(view['values']) + self.form._set(view['values']) self.states = [b['state'] for b in view['buttons']] self.form_state = view['state'] else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-7.0.1/proteus.egg-info/PKG-INFO new/proteus-7.0.2/proteus.egg-info/PKG-INFO --- old/proteus-7.0.1/proteus.egg-info/PKG-INFO 2024-01-01 13:05:36.000000000 +0100 +++ new/proteus-7.0.2/proteus.egg-info/PKG-INFO 2025-09-03 20:32:47.000000000 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: proteus -Version: 7.0.1 +Version: 7.0.2 Summary: Library to access Tryton server as a client Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/7.0/ @@ -8,7 +8,7 @@ Author-email: [email protected] License: LGPL-3 Project-URL: Bug Tracker, https://bugs.tryton.org/ -Project-URL: Documentation, https://docs.tryton.org/ +Project-URL: Documentation, https://docs.tryton.org/latest/client-library/ Project-URL: Forum, https://www.tryton.org/forum Project-URL: Source Code, https://code.tryton.org/tryton Keywords: tryton library cli @@ -38,6 +38,21 @@ Provides-Extra: test Requires-Dist: trytond<7.1,>=7.0; extra == "test" Requires-Dist: trytond_party<7.1,>=7.0; extra == "test" +Dynamic: author +Dynamic: author-email +Dynamic: classifier +Dynamic: description +Dynamic: download-url +Dynamic: home-page +Dynamic: keywords +Dynamic: license +Dynamic: license-file +Dynamic: platform +Dynamic: project-url +Dynamic: provides-extra +Dynamic: requires-dist +Dynamic: requires-python +Dynamic: summary ======================= Tryton Scripting Client diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-7.0.1/proteus.egg-info/SOURCES.txt new/proteus-7.0.2/proteus.egg-info/SOURCES.txt --- old/proteus-7.0.1/proteus.egg-info/SOURCES.txt 2024-01-01 13:05:36.000000000 +0100 +++ new/proteus-7.0.2/proteus.egg-info/SOURCES.txt 2025-09-03 20:32:47.000000000 +0200 @@ -1,4 +1,3 @@ -.readthedocs.yaml CHANGELOG COPYRIGHT LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proteus-7.0.1/setup.py new/proteus-7.0.2/setup.py --- old/proteus-7.0.1/setup.py 2023-10-30 18:06:39.000000000 +0100 +++ new/proteus-7.0.2/setup.py 2025-05-05 10:54:29.000000000 +0200 @@ -55,7 +55,7 @@ download_url=download_url, project_urls={ "Bug Tracker": 'https://bugs.tryton.org/', - "Documentation": 'https://docs.tryton.org/', + "Documentation": 'https://docs.tryton.org/latest/client-library/', "Forum": 'https://www.tryton.org/forum', "Source Code": 'https://code.tryton.org/tryton', },
