Hello community,

here is the log from the commit of package python-pbr for openSUSE:Factory 
checked in at 2018-05-07 14:52:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pbr (Old)
 and      /work/SRC/openSUSE:Factory/.python-pbr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pbr"

Mon May  7 14:52:34 2018 rev:34 rq:603182 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pbr/python-pbr-doc.changes        
2018-03-30 12:00:56.543793351 +0200
+++ /work/SRC/openSUSE:Factory/.python-pbr.new/python-pbr-doc.changes   
2018-05-07 14:52:39.243957883 +0200
@@ -1,0 +2,10 @@
+Mon Apr 23 15:14:47 UTC 2018 - [email protected]
+
+- update to version 4.0.2:
+  * Better Sem-Ver header handling
+
+- changes from version 4.0.1:
+  * add lower-constraints job
+  * Explicitly read setup.cfg as utf-8 on Python 3
+
+-------------------------------------------------------------------
python-pbr.changes: same change

Old:
----
  pbr-4.0.0.tar.gz

New:
----
  pbr-4.0.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pbr-doc.spec ++++++
--- /var/tmp/diff_new_pack.nlZvX0/_old  2018-05-07 14:52:40.399921806 +0200
+++ /var/tmp/diff_new_pack.nlZvX0/_new  2018-05-07 14:52:40.399921806 +0200
@@ -18,21 +18,20 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pbr-doc
-Version:        4.0.0
+Version:        4.0.2
 Release:        0
 Summary:        Documentation for python-pbr
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            http://pypi.python.org/pypi/pbr
+URL:            http://pypi.python.org/pypi/pbr
 Source:         
https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz
 Source1:        python-pbr-rpmlintrc
 BuildRequires:  fdupes
 # Documentation requirements:
 BuildRequires:  python3-Sphinx >= 1.6.2
 BuildRequires:  python3-setuptools
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
 Provides:       %{python_module pbr-doc = %{version}}
+BuildArch:      noarch
 
 %description
 This package contains documentation files for python-pbr
@@ -51,8 +50,7 @@
 cp -r doc/build/html %{buildroot}%{_docdir}/python-pbr/
 
 %files
-%defattr(-,root,root,-)
-%doc LICENSE
+%license LICENSE
 %{_docdir}/python-pbr/
 
 %changelog

++++++ python-pbr.spec ++++++
--- /var/tmp/diff_new_pack.nlZvX0/_old  2018-05-07 14:52:40.427920933 +0200
+++ /var/tmp/diff_new_pack.nlZvX0/_new  2018-05-07 14:52:40.431920808 +0200
@@ -16,24 +16,27 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 # NOTE(saschpe): git invocation and pythonpath issues with testrepository
 # enable testing with a build conditional (off by default):
 %bcond_with test
-
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pbr
-Version:        4.0.0
+Version:        4.0.2
 Release:        0
 Summary:        Python Build Reasonableness
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            http://pypi.python.org/pypi/pbr
+URL:            http://pypi.python.org/pypi/pbr
 Source:         
https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz
 Source1:        python-pbr-rpmlintrc
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+BuildArch:      noarch
 # Test requirements:
 %if %{with test}
 #BuildRequires:  python-coverage >= 3.6
@@ -46,12 +49,6 @@
 BuildRequires:  %{python_module testscenarios >= 0.4}
 BuildRequires:  %{python_module testtools >= 1.4.0}
 %endif
-Requires:       python-setuptools
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -61,7 +58,6 @@
 files and generate AUTHORS and ChangeLog file all from git
 information.
 
-
 %prep
 %setup -q -n pbr-%{version}
 # Get rid of ugly build-time deps that require network:
@@ -93,8 +89,8 @@
 %python_uninstall_alternative pbr
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog CONTRIBUTING.rst LICENSE README.rst
+%license LICENSE
+%doc AUTHORS ChangeLog CONTRIBUTING.rst README.rst
 %python_alternative %{_bindir}/pbr
 %{python_sitelib}/pbr
 %{python_sitelib}/pbr-%{version}-py%{python_version}.egg-info

++++++ pbr-4.0.0.tar.gz -> pbr-4.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-4.0.0/.zuul.yaml new/pbr-4.0.2/.zuul.yaml
--- old/pbr-4.0.0/.zuul.yaml    1970-01-01 01:00:00.000000000 +0100
+++ new/pbr-4.0.2/.zuul.yaml    2018-04-11 11:51:46.000000000 +0200
@@ -0,0 +1,7 @@
+- project:
+    check:
+      jobs:
+        - openstack-tox-lower-constraints
+    gate:
+      jobs:
+        - openstack-tox-lower-constraints
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-4.0.0/ChangeLog new/pbr-4.0.2/ChangeLog
--- old/pbr-4.0.0/ChangeLog     2018-03-27 20:49:34.000000000 +0200
+++ new/pbr-4.0.2/ChangeLog     2018-04-11 11:54:40.000000000 +0200
@@ -1,11 +1,22 @@
 CHANGES
 =======
 
+4.0.2
+-----
+
+
+4.0.1
+-----
+
+* add lower-constraints job
+* Explicitly read setup.cfg as utf-8 on Python 3
+
 4.0.0
 -----
 
 * builddoc: Treat '[pbr] autodoc\_tree\_excludes' as a multi-line opt
 * update parse test to use reliable comparison
+* Better Sem-Ver header handling
 * Make docs on env vars a little clearer
 * Updated from global requirements
 * Updated from global requirements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-4.0.0/PKG-INFO new/pbr-4.0.2/PKG-INFO
--- old/pbr-4.0.0/PKG-INFO      2018-03-27 20:49:35.000000000 +0200
+++ new/pbr-4.0.2/PKG-INFO      2018-04-11 11:54:41.000000000 +0200
@@ -1,14 +1,14 @@
 Metadata-Version: 2.1
 Name: pbr
-Version: 4.0.0
+Version: 4.0.2
 Summary: Python Build Reasonableness
 Home-page: https://docs.openstack.org/pbr/latest/
 Author: OpenStack
 Author-email: [email protected]
 License: UNKNOWN
-Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/
-Project-URL: Documentation, https://docs.openstack.org/pbr/
 Project-URL: Source Code, https://git.openstack.org/cgit/openstack-dev/pbr/
+Project-URL: Documentation, https://docs.openstack.org/pbr/
+Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/
 Description: Introduction
         ============
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-4.0.0/doc/source/user/using.rst 
new/pbr-4.0.2/doc/source/user/using.rst
--- old/pbr-4.0.0/doc/source/user/using.rst     2018-03-27 20:46:51.000000000 
+0200
+++ new/pbr-4.0.2/doc/source/user/using.rst     2018-04-11 11:51:46.000000000 
+0200
@@ -119,6 +119,11 @@
            # A comment on a dedicated line
            value3
 
+.. note::
+
+   On Python 3 ``setup.cfg`` is explicitly read as UTF-8.  On Python 2 the
+   encoding is dependent on the terminal encoding.
+
 __ 
http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files
 __ http://babel.pocoo.org/en/latest/setup.html
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-4.0.0/lower-constraints.txt 
new/pbr-4.0.2/lower-constraints.txt
--- old/pbr-4.0.0/lower-constraints.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/pbr-4.0.2/lower-constraints.txt 2018-04-11 11:51:46.000000000 +0200
@@ -0,0 +1,36 @@
+alabaster==0.7.10
+Babel==2.3.4
+coverage==4.0
+docutils==0.11
+dulwich==0.15.0
+extras==1.0.0
+fixtures==3.0.0
+flake8==2.5.5
+hacking==0.12.0
+imagesize==0.7.1
+Jinja2==2.10
+linecache2==1.0.0
+MarkupSafe==1.0
+mccabe==0.2.1
+mock==2.0.0
+openstackdocstheme==1.18.1
+pep8==1.5.7
+pyflakes==0.8.1
+Pygments==2.2.0
+python-mimeparse==1.6.0
+python-subunit==1.0.0
+pytz==2013.6
+PyYAML==3.12
+reno==2.5.0
+requests==2.14.2
+six==1.10.0
+snowballstemmer==1.2.1
+Sphinx==1.6.5
+sphinxcontrib-websupport==1.0.1
+testrepository==0.0.18
+testresources==2.0.0
+testscenarios==0.4
+testtools==2.2.0
+traceback2==1.4.0
+unittest2==1.1.0
+virtualenv==14.0.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-4.0.0/pbr/packaging.py 
new/pbr-4.0.2/pbr/packaging.py
--- old/pbr-4.0.0/pbr/packaging.py      2018-03-27 20:46:51.000000000 +0200
+++ new/pbr-4.0.2/pbr/packaging.py      2018-04-11 11:51:46.000000000 +0200
@@ -622,10 +622,14 @@
         version_spec = tag + "..HEAD"
     else:
         version_spec = "HEAD"
-    changelog = git._run_git_command(['log', version_spec], git_dir)
-    header_len = len('    sem-ver:')
+    # Get the raw body of the commit messages so that we don't have to
+    # parse out any formatting whitespace and to avoid user settings on
+    # git log output affecting out ability to have working sem ver headers.
+    changelog = git._run_git_command(['log', '--pretty=%B', version_spec],
+                                     git_dir)
+    header_len = len('sem-ver:')
     commands = [line[header_len:].strip() for line in changelog.split('\n')
-                if line.lower().startswith('    sem-ver:')]
+                if line.lower().startswith('sem-ver:')]
     symbols = set()
     for command in commands:
         symbols.update([symbol.strip() for symbol in command.split(',')])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-4.0.0/pbr/util.py new/pbr-4.0.2/pbr/util.py
--- old/pbr-4.0.0/pbr/util.py   2018-03-27 20:46:51.000000000 +0200
+++ new/pbr-4.0.2/pbr/util.py   2018-04-11 11:51:46.000000000 +0200
@@ -214,7 +214,11 @@
     if not os.path.exists(path):
         raise errors.DistutilsFileError("file '%s' does not exist" %
                                         os.path.abspath(path))
-    parser.read(path)
+    try:
+        parser.read(path, encoding='utf-8')
+    except TypeError:
+        # Python 2 doesn't accept the encoding kwarg
+        parser.read(path)
     config = {}
     for section in parser.sections():
         config[section] = dict()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-4.0.0/pbr.egg-info/PKG-INFO 
new/pbr-4.0.2/pbr.egg-info/PKG-INFO
--- old/pbr-4.0.0/pbr.egg-info/PKG-INFO 2018-03-27 20:49:34.000000000 +0200
+++ new/pbr-4.0.2/pbr.egg-info/PKG-INFO 2018-04-11 11:54:40.000000000 +0200
@@ -1,14 +1,14 @@
 Metadata-Version: 2.1
 Name: pbr
-Version: 4.0.0
+Version: 4.0.2
 Summary: Python Build Reasonableness
 Home-page: https://docs.openstack.org/pbr/latest/
 Author: OpenStack
 Author-email: [email protected]
 License: UNKNOWN
-Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/
-Project-URL: Documentation, https://docs.openstack.org/pbr/
 Project-URL: Source Code, https://git.openstack.org/cgit/openstack-dev/pbr/
+Project-URL: Documentation, https://docs.openstack.org/pbr/
+Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/
 Description: Introduction
         ============
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-4.0.0/pbr.egg-info/SOURCES.txt 
new/pbr-4.0.2/pbr.egg-info/SOURCES.txt
--- old/pbr-4.0.0/pbr.egg-info/SOURCES.txt      2018-03-27 20:49:35.000000000 
+0200
+++ new/pbr-4.0.2/pbr.egg-info/SOURCES.txt      2018-04-11 11:54:41.000000000 
+0200
@@ -1,11 +1,13 @@
 .coveragerc
 .mailmap
 .testr.conf
+.zuul.yaml
 AUTHORS
 CONTRIBUTING.rst
 ChangeLog
 LICENSE
 README.rst
+lower-constraints.txt
 setup.cfg
 setup.py
 test-requirements.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-4.0.0/tox.ini new/pbr-4.0.2/tox.ini
--- old/pbr-4.0.0/tox.ini       2018-03-27 20:46:51.000000000 +0200
+++ new/pbr-4.0.2/tox.ini       2018-04-11 11:51:46.000000000 +0200
@@ -39,3 +39,10 @@
 ignore = H803,H904
 exclude = .venv,.tox,dist,doc,*.egg,build
 show-source = true
+
+[testenv:lower-constraints]
+basepython = python3
+deps =
+  -c{toxinidir}/lower-constraints.txt
+  -r{toxinidir}/test-requirements.txt
+


Reply via email to