Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-renderspec for openSUSE:Factory checked in at 2024-01-07 21:42:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-renderspec (Old) and /work/SRC/openSUSE:Factory/.python-renderspec.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-renderspec" Sun Jan 7 21:42:40 2024 rev:15 rq:1137434 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-renderspec/python-renderspec.changes 2023-09-08 21:16:14.727981154 +0200 +++ /work/SRC/openSUSE:Factory/.python-renderspec.new.28375/python-renderspec.changes 2024-01-07 21:42:47.729460889 +0100 @@ -1,0 +2,10 @@ +Sun Jan 7 20:05:34 UTC 2024 - cloud-de...@suse.de + +- removed 0001-Allow-selecting-suse_39-template.patch +- update to version 2.3.0 + - Allow selecting suse_39 template + - Allow suse_py311 to be selected as template + - setup.cfg: Replace dashes with underscores + - Switch to Python3 zed unit test jobs + +------------------------------------------------------------------- Old: ---- 0001-Allow-selecting-suse_39-template.patch renderspec-2.2.0.tar.gz New: ---- renderspec-2.3.0.tar.gz BETA DEBUG BEGIN: Old: - removed 0001-Allow-selecting-suse_39-template.patch - update to version 2.3.0 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-renderspec.spec ++++++ --- /var/tmp/diff_new_pack.DKoUFt/_old 2024-01-07 21:42:48.441486799 +0100 +++ /var/tmp/diff_new_pack.DKoUFt/_new 2024-01-07 21:42:48.441486799 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-renderspec # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,13 @@ %global oldpython python Name: python-renderspec -Version: 2.2.0 +Version: 2.3.0 Release: 0 Summary: Generate spec files from Jinja2 templates License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/renderspec Source0: https://files.pythonhosted.org/packages/source/r/renderspec/renderspec-%{version}.tar.gz -Patch1: 0001-Allow-selecting-suse_39-template.patch BuildRequires: openstack-macros BuildRequires: python3-Jinja2 >= 2.10 BuildRequires: python3-ddt @@ -64,13 +63,13 @@ a spec.j2 Jinja2 template into a rpm .spec file. %prep -%autosetup -p 1 -n renderspec-2.2.0 +%autosetup -p 1 -n renderspec-2.3.0 %py_req_cleanup %build %{py3_build} -PBR_VERSION=2.2.0 %sphinx_build -b html doc/source doc/build/html +PBR_VERSION=2.3.0 %sphinx_build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} @@ -85,7 +84,7 @@ %doc README.rst ChangeLog %{_bindir}/renderspec %{python3_sitelib}/renderspec -%{python3_sitelib}/*.egg-info +%{python3_sitelib}/renderspec-%{version}-py*.egg-info %files -n python-renderspec-doc %doc doc/build/html ++++++ _service ++++++ --- /var/tmp/diff_new_pack.DKoUFt/_old 2024-01-07 21:42:48.469487817 +0100 +++ /var/tmp/diff_new_pack.DKoUFt/_new 2024-01-07 21:42:48.469487817 +0100 @@ -1,14 +1,14 @@ <services> - <service mode="disabled" name="renderspec"> + <service mode="manual" name="renderspec"> <param name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/master/openstack/renderspec/renderspec.spec.j2</param> <param name="output-name">python-renderspec.spec</param> <param name="requirements">https://opendev.org/openstack/renderspec/raw/branch/master/requirements.txt</param> <param name="changelog-email">cloud-de...@suse.de</param> <param name="changelog-provider">gh,openstack,renderspec</param> </service> - <service mode="disabled" name="download_files"> + <service mode="manual" name="download_files"> <param name="changesgenerate">enable</param> </service> - <service name="format_spec_file" mode="disabled"/> + <service name="format_spec_file" mode="manual"/> </services> ++++++ renderspec-2.2.0.tar.gz -> renderspec-2.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/.zuul.yaml new/renderspec-2.3.0/.zuul.yaml --- old/renderspec-2.2.0/.zuul.yaml 2022-05-09 16:37:15.000000000 +0200 +++ new/renderspec-2.3.0/.zuul.yaml 2024-01-07 16:57:16.000000000 +0100 @@ -1,4 +1,4 @@ - project: templates: - - openstack-python3-ussuri-jobs + - openstack-python3-zed-jobs - publish-openstack-docs-pti diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/AUTHORS new/renderspec-2.3.0/AUTHORS --- old/renderspec-2.2.0/AUTHORS 2022-05-09 16:38:13.000000000 +0200 +++ new/renderspec-2.3.0/AUTHORS 2024-01-07 16:57:26.000000000 +0100 @@ -4,6 +4,7 @@ Andrii Kroshchenko <akroshche...@mirantis.com> Corey Bryant <corey.bry...@canonical.com> Dirk Mueller <d...@dmllr.de> +Dirk Müller <d...@dmllr.de> Doug Hellmann <d...@doughellmann.com> Flavio Percoco <flape...@gmail.com> Ghanshyam Mann <gm...@ghanshyammann.com> @@ -20,6 +21,7 @@ avnish <avnish....@nectechnologies.in> gecong1973 <ge.c...@zte.com.cn> huang.zhiping <huang.zhip...@99cloud.net> +liyou01 <liyo...@inspur.com> melissaml <ma....@99cloud.net> qingszhao <zhao.daq...@99cloud.net> zhangboye <zhangb...@inspur.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/ChangeLog new/renderspec-2.3.0/ChangeLog --- old/renderspec-2.2.0/ChangeLog 2022-05-09 16:38:13.000000000 +0200 +++ new/renderspec-2.3.0/ChangeLog 2024-01-07 16:57:26.000000000 +0100 @@ -1,6 +1,14 @@ CHANGES ======= +2.3.0 +----- + +* Allow suse\_py311 to be selected as template +* Allow selecting suse\_39 template +* setup.cfg: Replace dashes with underscores +* Switch to Python3 zed unit test jobs + 2.2.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/PKG-INFO new/renderspec-2.3.0/PKG-INFO --- old/renderspec-2.2.0/PKG-INFO 2022-05-09 16:38:13.702052800 +0200 +++ new/renderspec-2.3.0/PKG-INFO 2024-01-07 16:57:26.495327700 +0100 @@ -1,62 +1,10 @@ -Metadata-Version: 1.2 +Metadata-Version: 2.1 Name: renderspec -Version: 2.2.0 +Version: 2.3.0 Summary: Jinja2 template renderer for generating .spec files Home-page: https://docs.openstack.org/renderspec/latest/ Author: OpenStack Author-email: openstack-disc...@lists.openstack.org -License: UNKNOWN -Description: ======================== - Team and repository tags - ======================== - - .. image:: https://governance.openstack.org/tc/badges/renderspec.svg - :target: https://governance.openstack.org/tc/reference/tags/index.html - - .. Change things from this point on - - renderspec - ========== - - renderspec is a tool to convert a .spec.j2 Jinja2 template to - a rpm .spec file which is usable for different distributions - and follow their policies and processes. - - Documentation for renderspec can be found at - - https://docs.openstack.org/renderspec/latest/ - - For more information about the OpenStack rpm packaging initiative, please - follow the link to the wiki page: - - https://wiki.openstack.org/wiki/Rpm-packaging - - In the unfortunate event that bugs are discovered, they should - be reported to the appropriate bug tracker. If you obtained - the software from a 3rd party operating system vendor, it is - often wise to use their own bug tracker for reporting problems. - In all other cases use the master OpenStack bug tracker, - available at: - - https://bugs.launchpad.net/renderspec - - Developers wishing to work on renderspec should always base - their work on the latest code, available from the master GIT - repository at: - - https://opendev.org/openstack/renderspec - - Developers should also join the discussion on the mailing list, - at: - - http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss - - or join the IRC channel on - - https://webchat.oftc.net/?channels=openstack-rpm-packaging - - -Platform: UNKNOWN Classifier: Environment :: Console Classifier: Environment :: OpenStack Classifier: Intended Audience :: Information Technology @@ -67,7 +15,61 @@ Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 -Requires-Python: >=3.6 +Classifier: Programming Language :: Python :: 3.9 +Requires-Python: >=3.8 +License-File: LICENSE +Requires-Dist: pymod2pkg!=0.8.0,>=0.7.0 +Requires-Dist: Jinja2>=2.10 +Requires-Dist: PyYAML>=3.10 +Requires-Dist: packaging>=16.5 + +======================== +Team and repository tags +======================== + +.. image:: https://governance.openstack.org/tc/badges/renderspec.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + +.. Change things from this point on + +renderspec +========== + +renderspec is a tool to convert a .spec.j2 Jinja2 template to +a rpm .spec file which is usable for different distributions +and follow their policies and processes. + +Documentation for renderspec can be found at + + https://docs.openstack.org/renderspec/latest/ + +For more information about the OpenStack rpm packaging initiative, please +follow the link to the wiki page: + + https://wiki.openstack.org/wiki/Rpm-packaging + +In the unfortunate event that bugs are discovered, they should +be reported to the appropriate bug tracker. If you obtained +the software from a 3rd party operating system vendor, it is +often wise to use their own bug tracker for reporting problems. +In all other cases use the master OpenStack bug tracker, +available at: + + https://bugs.launchpad.net/renderspec + +Developers wishing to work on renderspec should always base +their work on the latest code, available from the master GIT +repository at: + + https://opendev.org/openstack/renderspec + +Developers should also join the discussion on the mailing list, +at: + + http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss + +or join the IRC channel on + + https://webchat.oftc.net/?channels=openstack-rpm-packaging + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/renderspec/__init__.py new/renderspec-2.3.0/renderspec/__init__.py --- old/renderspec-2.2.0/renderspec/__init__.py 2022-05-09 16:37:15.000000000 +0200 +++ new/renderspec-2.3.0/renderspec/__init__.py 2024-01-07 16:57:16.000000000 +0100 @@ -90,18 +90,18 @@ if not distname and 'Linux' in platform.system(): try: with open('/etc/os-release', 'r') as lsb_release: - for l in lsb_release: - if l.startswith('ID_LIKE='): - distname = l.partition('=')[2].strip( + for line in lsb_release: + if line.startswith('ID_LIKE='): + distname = line.partition('=')[2].strip( string.punctuation + string.whitespace) break # Later Fedora versions (e.g. Fedora 32) do not include ID_LIKE # in /etc/os-release, so we need to rely on ID if not distname: with open('/etc/os-release', 'r') as lsb_release: - for l in lsb_release: - if l.startswith('ID='): - distname = l.partition('=')[2].strip( + for line in lsb_release: + if line.startswith('ID='): + distname = line.partition('=')[2].strip( string.punctuation + string.whitespace) break except OSError: @@ -172,7 +172,7 @@ "default: autodetect") parser.add_argument("--spec-style", help="distro style you want to use. " "default: %s" % (distro), default=distro, - choices=['suse', 'fedora']) + choices=['suse', 'suse_py39', 'suse_py311', 'fedora']) parser.add_argument("--skip-pyversion", help='Skip requirements for this pyversion', default=_get_default_pyskips(distro), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/renderspec/contextfuncs.py new/renderspec-2.3.0/renderspec/contextfuncs.py --- old/renderspec-2.2.0/renderspec/contextfuncs.py 2022-05-09 16:37:15.000000000 +0200 +++ new/renderspec-2.3.0/renderspec/contextfuncs.py 2024-01-07 16:57:16.000000000 +0100 @@ -250,9 +250,9 @@ if context['spec_style'] == 'fedora': return mapping[value] - else: - # just use the spdx license name - return value + + # just use the spdx license name + return value ############### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/renderspec.egg-info/PKG-INFO new/renderspec-2.3.0/renderspec.egg-info/PKG-INFO --- old/renderspec-2.2.0/renderspec.egg-info/PKG-INFO 2022-05-09 16:38:13.000000000 +0200 +++ new/renderspec-2.3.0/renderspec.egg-info/PKG-INFO 2024-01-07 16:57:26.000000000 +0100 @@ -1,62 +1,10 @@ -Metadata-Version: 1.2 +Metadata-Version: 2.1 Name: renderspec -Version: 2.2.0 +Version: 2.3.0 Summary: Jinja2 template renderer for generating .spec files Home-page: https://docs.openstack.org/renderspec/latest/ Author: OpenStack Author-email: openstack-disc...@lists.openstack.org -License: UNKNOWN -Description: ======================== - Team and repository tags - ======================== - - .. image:: https://governance.openstack.org/tc/badges/renderspec.svg - :target: https://governance.openstack.org/tc/reference/tags/index.html - - .. Change things from this point on - - renderspec - ========== - - renderspec is a tool to convert a .spec.j2 Jinja2 template to - a rpm .spec file which is usable for different distributions - and follow their policies and processes. - - Documentation for renderspec can be found at - - https://docs.openstack.org/renderspec/latest/ - - For more information about the OpenStack rpm packaging initiative, please - follow the link to the wiki page: - - https://wiki.openstack.org/wiki/Rpm-packaging - - In the unfortunate event that bugs are discovered, they should - be reported to the appropriate bug tracker. If you obtained - the software from a 3rd party operating system vendor, it is - often wise to use their own bug tracker for reporting problems. - In all other cases use the master OpenStack bug tracker, - available at: - - https://bugs.launchpad.net/renderspec - - Developers wishing to work on renderspec should always base - their work on the latest code, available from the master GIT - repository at: - - https://opendev.org/openstack/renderspec - - Developers should also join the discussion on the mailing list, - at: - - http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss - - or join the IRC channel on - - https://webchat.oftc.net/?channels=openstack-rpm-packaging - - -Platform: UNKNOWN Classifier: Environment :: Console Classifier: Environment :: OpenStack Classifier: Intended Audience :: Information Technology @@ -67,7 +15,61 @@ Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 -Requires-Python: >=3.6 +Classifier: Programming Language :: Python :: 3.9 +Requires-Python: >=3.8 +License-File: LICENSE +Requires-Dist: pymod2pkg!=0.8.0,>=0.7.0 +Requires-Dist: Jinja2>=2.10 +Requires-Dist: PyYAML>=3.10 +Requires-Dist: packaging>=16.5 + +======================== +Team and repository tags +======================== + +.. image:: https://governance.openstack.org/tc/badges/renderspec.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + +.. Change things from this point on + +renderspec +========== + +renderspec is a tool to convert a .spec.j2 Jinja2 template to +a rpm .spec file which is usable for different distributions +and follow their policies and processes. + +Documentation for renderspec can be found at + + https://docs.openstack.org/renderspec/latest/ + +For more information about the OpenStack rpm packaging initiative, please +follow the link to the wiki page: + + https://wiki.openstack.org/wiki/Rpm-packaging + +In the unfortunate event that bugs are discovered, they should +be reported to the appropriate bug tracker. If you obtained +the software from a 3rd party operating system vendor, it is +often wise to use their own bug tracker for reporting problems. +In all other cases use the master OpenStack bug tracker, +available at: + + https://bugs.launchpad.net/renderspec + +Developers wishing to work on renderspec should always base +their work on the latest code, available from the master GIT +repository at: + + https://opendev.org/openstack/renderspec + +Developers should also join the discussion on the mailing list, +at: + + http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss + +or join the IRC channel on + + https://webchat.oftc.net/?channels=openstack-rpm-packaging + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/renderspec.egg-info/entry_points.txt new/renderspec-2.3.0/renderspec.egg-info/entry_points.txt --- old/renderspec-2.2.0/renderspec.egg-info/entry_points.txt 2022-05-09 16:38:13.000000000 +0200 +++ new/renderspec-2.3.0/renderspec.egg-info/entry_points.txt 2024-01-07 16:57:26.000000000 +0100 @@ -1,3 +1,2 @@ [console_scripts] renderspec = renderspec:main - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/renderspec.egg-info/pbr.json new/renderspec-2.3.0/renderspec.egg-info/pbr.json --- old/renderspec-2.2.0/renderspec.egg-info/pbr.json 2022-05-09 16:38:13.000000000 +0200 +++ new/renderspec-2.3.0/renderspec.egg-info/pbr.json 2024-01-07 16:57:26.000000000 +0100 @@ -1 +1 @@ -{"git_version": "d9fdb64", "is_release": true} \ No newline at end of file +{"git_version": "6d55b2f", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/renderspec.egg-info/requires.txt new/renderspec-2.3.0/renderspec.egg-info/requires.txt --- old/renderspec-2.2.0/renderspec.egg-info/requires.txt 2022-05-09 16:38:13.000000000 +0200 +++ new/renderspec-2.3.0/renderspec.egg-info/requires.txt 2024-01-07 16:57:26.000000000 +0100 @@ -1,4 +1,4 @@ +pymod2pkg!=0.8.0,>=0.7.0 Jinja2>=2.10 PyYAML>=3.10 packaging>=16.5 -pymod2pkg!=0.8.0,>=0.7.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/setup.cfg new/renderspec-2.3.0/setup.cfg --- old/renderspec-2.2.0/setup.cfg 2022-05-09 16:38:13.702052800 +0200 +++ new/renderspec-2.3.0/setup.cfg 2024-01-07 16:57:26.495327700 +0100 @@ -4,9 +4,9 @@ description-file = README.rst author = OpenStack -author-email = openstack-disc...@lists.openstack.org -home-page = https://docs.openstack.org/renderspec/latest/ -python-requires = >=3.6 +author_email = openstack-disc...@lists.openstack.org +home_page = https://docs.openstack.org/renderspec/latest/ +python_requires = >=3.8 classifier = Environment :: Console Environment :: OpenStack @@ -18,9 +18,8 @@ Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 [entry_points] console_scripts = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/renderspec-2.2.0/tox.ini new/renderspec-2.3.0/tox.ini --- old/renderspec-2.2.0/tox.ini 2022-05-09 16:37:15.000000000 +0200 +++ new/renderspec-2.3.0/tox.ini 2024-01-07 16:57:16.000000000 +0100 @@ -20,11 +20,11 @@ [testenv:pep8] deps = {[testenv]deps} - flake8<3.8.0,>=3.7.0 + flake8<7.1.0,>=7.0.0 bandit>=1.1.0 commands = flake8 - bandit -r -s B701 renderspec -x tests + bandit -r -s B701,B202 renderspec -x tests [testenv:venv] commands = {posargs}