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 2022-05-13 23:03:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-renderspec (Old)
and /work/SRC/openSUSE:Factory/.python-renderspec.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-renderspec"
Fri May 13 23:03:09 2022 rev:12 rq:976982 version:2.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-renderspec/python-renderspec.changes
2020-11-26 23:15:40.541050708 +0100
+++
/work/SRC/openSUSE:Factory/.python-renderspec.new.1538/python-renderspec.changes
2022-05-13 23:03:11.675124375 +0200
@@ -1,0 +2,11 @@
+Fri May 13 07:22:29 UTC 2022 - [email protected]
+
+- update to version 2.2.0
+ - Correct a typo in the document
+ - [community goal] Update contributor documentation
+ - Use py3 as the default runtime for tox
+ - drop mock from lower-constraints and requirements
+ - Add support for Jinja2 3.x filters
+ - Switch to OFTC
+
+-------------------------------------------------------------------
Old:
----
renderspec-2.1.0.tar.gz
New:
----
renderspec-2.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-renderspec.spec ++++++
--- /var/tmp/diff_new_pack.IQrkWU/_old 2022-05-13 23:03:12.203124861 +0200
+++ /var/tmp/diff_new_pack.IQrkWU/_new 2022-05-13 23:03:12.207124864 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-renderspec
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%global oldpython python
Name: python-renderspec
-Version: 2.1.0
+Version: 2.2.0
Release: 0
Summary: Generate spec files from Jinja2 templates
License: Apache-2.0
@@ -42,7 +42,6 @@
%package -n python3-renderspec
Summary: Generate spec files from Jinja2 templates
-Group: Development/Languages/Python
Requires: python3-Jinja2 >= 2.10
Requires: python3-PyYAML >= 3.10
Requires: python3-packaging >= 16.5
@@ -57,7 +56,6 @@
%package -n python-renderspec-doc
Summary: Documentation for the renderspec utility
-Group: Development/Languages/Python
BuildRequires: python3-Sphinx
BuildRequires: python3-openstackdocstheme
Requires: python3-renderspec = %{version}
@@ -67,13 +65,13 @@
a spec.j2 Jinja2 template into a rpm .spec file.
%prep
-%autosetup -p 1 -n renderspec-2.1.0
+%autosetup -p 1 -n renderspec-2.2.0
%py_req_cleanup
%build
%{py3_build}
-PBR_VERSION=2.1.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=2.2.0 %sphinx_build -b html doc/source doc/build/html
# remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
++++++ renderspec-2.1.0.tar.gz -> renderspec-2.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/AUTHORS new/renderspec-2.2.0/AUTHORS
--- old/renderspec-2.1.0/AUTHORS 2020-10-02 14:21:20.000000000 +0200
+++ new/renderspec-2.2.0/AUTHORS 2022-05-09 16:38:13.000000000 +0200
@@ -8,6 +8,7 @@
Flavio Percoco <[email protected]>
Ghanshyam Mann <[email protected]>
Haikel Guemar <[email protected]>
+Herv?? Beraud <[email protected]>
Igor Yozhikov <[email protected]>
Jakub Ruzicka <[email protected]>
Javier Pena <[email protected]>
@@ -21,3 +22,5 @@
huang.zhiping <[email protected]>
melissaml <[email protected]>
qingszhao <[email protected]>
+zhangboye <[email protected]>
+zhaoleilc <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/CONTRIBUTING.rst
new/renderspec-2.2.0/CONTRIBUTING.rst
--- old/renderspec-2.1.0/CONTRIBUTING.rst 1970-01-01 01:00:00.000000000
+0100
+++ new/renderspec-2.2.0/CONTRIBUTING.rst 2022-05-09 16:37:15.000000000
+0200
@@ -0,0 +1,22 @@
+The source repository for this project can be found at:
+
+ https://opendev.org/openstack/renderspec
+
+Pull requests submitted through GitHub are not monitored.
+
+To start contributing to OpenStack, follow the steps in the contribution guide
+to set up and use Gerrit:
+
+
https://docs.openstack.org/contributors/code-and-documentation/quick-start.html
+
+Bugs should be filed on Launchpad:
+
+ https://bugs.launchpad.net/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.1.0/ChangeLog
new/renderspec-2.2.0/ChangeLog
--- old/renderspec-2.1.0/ChangeLog 2020-10-02 14:21:20.000000000 +0200
+++ new/renderspec-2.2.0/ChangeLog 2022-05-09 16:38:13.000000000 +0200
@@ -1,10 +1,20 @@
CHANGES
=======
+2.2.0
+-----
+
+* [community goal] Update contributor documentation
+* Add support for Jinja2 3.x filters
+* Switch to OFTC
+* Use py3 as the default runtime for tox
+
2.1.0
-----
* Improve distro detection for recent Fedora releases
+* Correct a typo in the document
+* drop mock from lower-constraints and requirements
* Switch to newer openstackdocstheme version
* Cleanup py27 support
* Python 3.8 tests are passing, declare as supported
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/PKG-INFO
new/renderspec-2.2.0/PKG-INFO
--- old/renderspec-2.1.0/PKG-INFO 2020-10-02 14:21:20.000000000 +0200
+++ new/renderspec-2.2.0/PKG-INFO 2022-05-09 16:38:13.702052800 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: renderspec
-Version: 2.1.0
+Version: 2.2.0
Summary: Jinja2 template renderer for generating .spec files
Home-page: https://docs.openstack.org/renderspec/latest/
Author: OpenStack
@@ -53,7 +53,7 @@
or join the IRC channel on
- http://webchat.freenode.net/?channels=openstack-rpm-packaging
+ https://webchat.oftc.net/?channels=openstack-rpm-packaging
Platform: UNKNOWN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/README.rst
new/renderspec-2.2.0/README.rst
--- old/renderspec-2.1.0/README.rst 2020-10-02 14:20:22.000000000 +0200
+++ new/renderspec-2.2.0/README.rst 2022-05-09 16:37:15.000000000 +0200
@@ -45,4 +45,4 @@
or join the IRC channel on
- http://webchat.freenode.net/?channels=openstack-rpm-packaging
+ https://webchat.oftc.net/?channels=openstack-rpm-packaging
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/doc/source/usage.rst
new/renderspec-2.2.0/doc/source/usage.rst
--- old/renderspec-2.1.0/doc/source/usage.rst 2020-10-02 14:20:22.000000000
+0200
+++ new/renderspec-2.2.0/doc/source/usage.rst 2022-05-09 16:37:15.000000000
+0200
@@ -177,7 +177,7 @@
.. note:: For translating pypi names (the name a python package has on
`pypi.python.org`_
to distro specific names, internally a module called `pymod2pkg`_ is
used.
-The prefered way to use `py2name` is to set the context variable `pypi_name`
and
+The preferred way to use `py2name` is to set the context variable `pypi_name`
and
then call `py2name()` without any parameters. In that case, the context
variable
is used::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/renderspec/contextfuncs.py
new/renderspec-2.2.0/renderspec/contextfuncs.py
--- old/renderspec-2.1.0/renderspec/contextfuncs.py 2020-10-02
14:20:22.000000000 +0200
+++ new/renderspec-2.2.0/renderspec/contextfuncs.py 2022-05-09
16:37:15.000000000 +0200
@@ -13,16 +13,24 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+import jinja2
import os
-from jinja2 import contextfilter
-from jinja2 import contextfunction
from jinja2.exceptions import TemplateRuntimeError
from packaging.version import parse
import pymod2pkg
from renderspec import utils
+# NOTE(jpena): Jinja2 3.0 deprecated contextfilter and contextfuncion,
+# and will remove them in 3.1
+if hasattr(jinja2, "pass_context"):
+ contextfilter = jinja2.pass_context
+ contextfunction = jinja2.pass_context
+else:
+ from jinja2 import contextfilter
+ from jinja2 import contextfunction
+
# a variable that needs to be set for some functions in the context
CONTEXT_VAR_PYPI_NAME = "pypi_name"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/renderspec.egg-info/PKG-INFO
new/renderspec-2.2.0/renderspec.egg-info/PKG-INFO
--- old/renderspec-2.1.0/renderspec.egg-info/PKG-INFO 2020-10-02
14:21:20.000000000 +0200
+++ new/renderspec-2.2.0/renderspec.egg-info/PKG-INFO 2022-05-09
16:38:13.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: renderspec
-Version: 2.1.0
+Version: 2.2.0
Summary: Jinja2 template renderer for generating .spec files
Home-page: https://docs.openstack.org/renderspec/latest/
Author: OpenStack
@@ -53,7 +53,7 @@
or join the IRC channel on
- http://webchat.freenode.net/?channels=openstack-rpm-packaging
+ https://webchat.oftc.net/?channels=openstack-rpm-packaging
Platform: UNKNOWN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/renderspec.egg-info/SOURCES.txt
new/renderspec-2.2.0/renderspec.egg-info/SOURCES.txt
--- old/renderspec-2.1.0/renderspec.egg-info/SOURCES.txt 2020-10-02
14:21:20.000000000 +0200
+++ new/renderspec-2.2.0/renderspec.egg-info/SOURCES.txt 2022-05-09
16:38:13.000000000 +0200
@@ -1,6 +1,7 @@
.stestr.conf
.zuul.yaml
AUTHORS
+CONTRIBUTING.rst
ChangeLog
LICENSE
README.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/renderspec.egg-info/pbr.json
new/renderspec-2.2.0/renderspec.egg-info/pbr.json
--- old/renderspec-2.1.0/renderspec.egg-info/pbr.json 2020-10-02
14:21:20.000000000 +0200
+++ new/renderspec-2.2.0/renderspec.egg-info/pbr.json 2022-05-09
16:38:13.000000000 +0200
@@ -1 +1 @@
-{"git_version": "eb69d47", "is_release": true}
\ No newline at end of file
+{"git_version": "d9fdb64", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/test-requirements.txt
new/renderspec-2.2.0/test-requirements.txt
--- old/renderspec-2.1.0/test-requirements.txt 2020-10-02 14:20:22.000000000
+0200
+++ new/renderspec-2.2.0/test-requirements.txt 2022-05-09 16:37:15.000000000
+0200
@@ -5,4 +5,3 @@
testresources>=2.0.0 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
ddt>=1.0.1 # MIT
-mock>=2.0.0 # BSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/tests.py
new/renderspec-2.2.0/tests.py
--- old/renderspec-2.1.0/tests.py 2020-10-02 14:20:22.000000000 +0200
+++ new/renderspec-2.2.0/tests.py 2022-05-09 16:37:15.000000000 +0200
@@ -22,7 +22,7 @@
from jinja2 import Environment
from jinja2.exceptions import TemplateRuntimeError
-from mock import Mock, patch
+from unittest.mock import Mock, patch
import os
import renderspec
import renderspec.contextfuncs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.1.0/tox.ini new/renderspec-2.2.0/tox.ini
--- old/renderspec-2.1.0/tox.ini 2020-10-02 14:20:22.000000000 +0200
+++ new/renderspec-2.2.0/tox.ini 2022-05-09 16:37:15.000000000 +0200
@@ -1,5 +1,5 @@
[tox]
-envlist = py37,pypy,pep8
+envlist = py3,pypy,pep8
minversion = 3.1.1
skipsdist = True
ignore_basepython_conflict = True