Hello community,

here is the log from the commit of package python-pbr for openSUSE:Factory 
checked in at 2019-07-28 10:17:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pbr (Old)
 and      /work/SRC/openSUSE:Factory/.python-pbr.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pbr"

Sun Jul 28 10:17:31 2019 rev:48 rq:717892 version:5.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pbr/python-pbr.changes    2019-06-24 
21:45:23.547739014 +0200
+++ /work/SRC/openSUSE:Factory/.python-pbr.new.4126/python-pbr.changes  
2019-07-28 10:17:35.080600026 +0200
@@ -1,0 +2,6 @@
+Tue Jul 23 13:10:51 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 5.4.1:
+  * Various fixes
+
+-------------------------------------------------------------------

Old:
----
  pbr-5.3.0.tar.gz

New:
----
  pbr-5.4.1.tar.gz

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

Other differences:
------------------
++++++ python-pbr.spec ++++++
--- /var/tmp/diff_new_pack.Pj49Q8/_old  2019-07-28 10:17:36.404600078 +0200
+++ /var/tmp/diff_new_pack.Pj49Q8/_new  2019-07-28 10:17:36.444600080 +0200
@@ -26,7 +26,7 @@
 %bcond_with test
 %endif
 Name:           python-pbr%{psuffix}
-Version:        5.3.0
+Version:        5.4.1
 Release:        0
 Summary:        Python Build Reasonableness
 License:        Apache-2.0

++++++ pbr-5.3.0.tar.gz -> pbr-5.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-5.3.0/ChangeLog new/pbr-5.4.1/ChangeLog
--- old/pbr-5.3.0/ChangeLog     2019-06-14 06:06:42.000000000 +0200
+++ new/pbr-5.4.1/ChangeLog     2019-07-18 04:39:01.000000000 +0200
@@ -1,12 +1,27 @@
 CHANGES
 =======
 
+5.4.1
+-----
+
+
+5.4.0
+-----
+
+* option to print only the version of a package
+
+5.3.1
+-----
+
+* Resolve some issue with tox.ini, setup.cfg
+
 5.3.0
 -----
 
 * Stop using pbr sphinx integration
 * Switch to release.o.o for constraints
 * Make WSGI tests listen on localhost
+* Fix Windows support
 * Allow git-tags to be SemVer compliant
 * Read description file as utf-8
 
@@ -16,6 +31,7 @@
 * Add openstack-tox-py37 job
 * Set subparser argument required
 * Remove neutron-lbaas
+* Install more dependencies for integration testing
 * Update Sphinx requirement
 * Fix white space handling in file names
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-5.3.0/PKG-INFO new/pbr-5.4.1/PKG-INFO
--- old/pbr-5.3.0/PKG-INFO      2019-06-14 06:06:43.000000000 +0200
+++ new/pbr-5.4.1/PKG-INFO      2019-07-18 04:39:01.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pbr
-Version: 5.3.0
+Version: 5.4.1
 Summary: Python Build Reasonableness
 Home-page: https://docs.openstack.org/pbr/latest/
 Author: OpenStack
@@ -65,7 +65,7 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Description-Content-Type: text/x-rst; charset=UTF-8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-5.3.0/pbr/cmd/main.py 
new/pbr-5.4.1/pbr/cmd/main.py
--- old/pbr-5.3.0/pbr/cmd/main.py       2019-06-14 06:04:42.000000000 +0200
+++ new/pbr-5.4.1/pbr/cmd/main.py       2019-07-18 04:38:21.000000000 +0200
@@ -40,8 +40,11 @@
 
 
 def get_info(args):
-    print("{name}\t{version}\t{released}\t{sha}".format(
-        **_get_info(args.name)))
+    if args.short:
+        print("{version}".format(**_get_info(args.name)))
+    else:
+        print("{name}\t{version}\t{released}\t{sha}".format(
+            **_get_info(args.name)))
 
 
 def _get_info(name):
@@ -98,6 +101,8 @@
         'info', help='print version info for package')
     cmd_info.set_defaults(func=get_info)
     cmd_info.add_argument('name', help='package to print info of')
+    cmd_info.add_argument('-s', '--short', action="store_true",
+                          help='only display package version')
 
     cmd_freeze = subparsers.add_parser(
         'freeze', help='print version info for all installed packages')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-5.3.0/pbr/hooks/files.py 
new/pbr-5.4.1/pbr/hooks/files.py
--- old/pbr-5.3.0/pbr/hooks/files.py    2019-06-14 06:04:42.000000000 +0200
+++ new/pbr-5.4.1/pbr/hooks/files.py    2019-07-18 04:38:21.000000000 +0200
@@ -41,6 +41,13 @@
     # strip the quotes off individual path components because os.walk cannot
     # handle paths like: "'i like spaces'/'another dir'", so we will pass it
     # "i like spaces/another dir" instead.
+
+    if os.name == 'nt':
+        # shlex cannot handle paths that contain backslashes, treating those
+        # as escape characters.
+        path = path.replace("\\", "/")
+        return "".join(shlex.split(path)).replace("/", "\\")
+
     return "".join(shlex.split(path))
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-5.3.0/pbr/util.py new/pbr-5.4.1/pbr/util.py
--- old/pbr-5.3.0/pbr/util.py   2019-06-14 06:04:42.000000000 +0200
+++ new/pbr-5.4.1/pbr/util.py   2019-07-18 04:38:21.000000000 +0200
@@ -162,6 +162,16 @@
 CSV_FIELDS = ()
 
 
+def shlex_split(path):
+    if os.name == 'nt':
+        # shlex cannot handle paths that contain backslashes, treating those
+        # as escape characters.
+        path = path.replace("\\", "/")
+        return [x.replace("/", "\\") for x in shlex.split(path)]
+
+    return shlex.split(path)
+
+
 def resolve_name(name):
     """Resolve a name like ``module.object`` to an object and return it.
 
@@ -374,22 +384,22 @@
                 for line in in_cfg_value:
                     if '=' in line:
                         key, value = line.split('=', 1)
-                        key_unquoted = shlex.split(key.strip())[0]
+                        key_unquoted = shlex_split(key.strip())[0]
                         key, value = (key_unquoted, value.strip())
                         if key in data_files:
                             # Multiple duplicates of the same package name;
                             # this is for backwards compatibility of the old
                             # format prior to d2to1 0.2.6.
                             prev = data_files[key]
-                            prev.extend(shlex.split(value))
+                            prev.extend(shlex_split(value))
                         else:
-                            prev = data_files[key.strip()] = shlex.split(value)
+                            prev = data_files[key.strip()] = shlex_split(value)
                     elif firstline:
                         raise errors.DistutilsOptionError(
                             'malformed package_data first line %r (misses '
                             '"=")' % line)
                     else:
-                        prev.extend(shlex.split(line.strip()))
+                        prev.extend(shlex_split(line.strip()))
                     firstline = False
                 if arg == 'data_files':
                     # the data_files value is a pointlessly different structure
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-5.3.0/pbr.egg-info/PKG-INFO 
new/pbr-5.4.1/pbr.egg-info/PKG-INFO
--- old/pbr-5.3.0/pbr.egg-info/PKG-INFO 2019-06-14 06:06:43.000000000 +0200
+++ new/pbr-5.4.1/pbr.egg-info/PKG-INFO 2019-07-18 04:39:01.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pbr
-Version: 5.3.0
+Version: 5.4.1
 Summary: Python Build Reasonableness
 Home-page: https://docs.openstack.org/pbr/latest/
 Author: OpenStack
@@ -65,7 +65,7 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Description-Content-Type: text/x-rst; charset=UTF-8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-5.3.0/pbr.egg-info/SOURCES.txt 
new/pbr-5.4.1/pbr.egg-info/SOURCES.txt
--- old/pbr-5.3.0/pbr.egg-info/SOURCES.txt      2019-06-14 06:06:43.000000000 
+0200
+++ new/pbr-5.4.1/pbr.egg-info/SOURCES.txt      2019-07-18 04:39:01.000000000 
+0200
@@ -92,6 +92,7 @@
 playbooks/legacy/pbr-installation-devstack/run.yaml
 playbooks/legacy/pbr-installation-upstream-devstack/post.yaml
 playbooks/legacy/pbr-installation-upstream-devstack/run.yaml
+releasenotes/notes/cmd-e6664dcbd42d3935.yaml
 releasenotes/notes/deprecate-pyN-requirements-364655c38fa5b780.yaml
 releasenotes/notes/deprecate-testr-nose-integration-56e3e11248d946fc.yaml
 
releasenotes/notes/fix-global-replace-of-src-prefix-in-glob-eb850b94ca96993e.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pbr-5.3.0/releasenotes/notes/cmd-e6664dcbd42d3935.yaml 
new/pbr-5.4.1/releasenotes/notes/cmd-e6664dcbd42d3935.yaml
--- old/pbr-5.3.0/releasenotes/notes/cmd-e6664dcbd42d3935.yaml  1970-01-01 
01:00:00.000000000 +0100
+++ new/pbr-5.4.1/releasenotes/notes/cmd-e6664dcbd42d3935.yaml  2019-07-18 
04:38:21.000000000 +0200
@@ -0,0 +1,11 @@
+---
+features:
+  - |
+    Add an option to print only the version of a package
+
+    Example:
+
+    .. code-block:: bash
+
+        $ pbr info -s pkgname
+        1.2.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-5.3.0/setup.cfg new/pbr-5.4.1/setup.cfg
--- old/pbr-5.3.0/setup.cfg     2019-06-14 06:06:43.000000000 +0200
+++ new/pbr-5.4.1/setup.cfg     2019-07-18 04:39:01.000000000 +0200
@@ -24,9 +24,9 @@
        Programming Language :: Python :: 2
        Programming Language :: Python :: 2.7
        Programming Language :: Python :: 3
-       Programming Language :: Python :: 3.3
-       Programming Language :: Python :: 3.4
        Programming Language :: Python :: 3.5
+       Programming Language :: Python :: 3.6
+       Programming Language :: Python :: 3.7
 
 [files]
 packages = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-5.3.0/tools/integration.sh 
new/pbr-5.4.1/tools/integration.sh
--- old/pbr-5.3.0/tools/integration.sh  2019-06-14 06:04:42.000000000 +0200
+++ new/pbr-5.4.1/tools/integration.sh  2019-07-18 04:38:21.000000000 +0200
@@ -30,7 +30,7 @@
 
 # TODO: Figure out how to get this on to the box properly
 sudo apt-get update
-sudo apt-get install -y --force-yes libvirt-dev libxml2-dev libxslt-dev 
libmysqlclient-dev libpq-dev libnspr4-dev pkg-config libsqlite3-dev libffi-dev 
libldap2-dev libsasl2-dev ccache libkrb5-dev liberasurecode-dev libjpeg-dev
+sudo apt-get install -y --force-yes libvirt-dev libxml2-dev libxslt-dev 
libmysqlclient-dev libpq-dev libnspr4-dev pkg-config libsqlite3-dev libffi-dev 
libldap2-dev libsasl2-dev ccache libkrb5-dev liberasurecode-dev libjpeg-dev 
libsystemd-dev libnss3-dev libssl-dev
 
 # FOR numpy / pyyaml
 # The source list has been removed from our apt config so rather than
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pbr-5.3.0/tox.ini new/pbr-5.4.1/tox.ini
--- old/pbr-5.3.0/tox.ini       2019-06-14 06:04:42.000000000 +0200
+++ new/pbr-5.4.1/tox.ini       2019-07-18 04:38:24.000000000 +0200
@@ -1,12 +1,11 @@
 [tox]
 minversion = 3.1
-envlist = pep8,py{37,36,35,27},docs
+envlist = pep8,py27,py36,py37,docs
 ignore_basepython_conflict = True
-skip_missing_interpreters = True
 
 [testenv]
 usedevelop = True
-install_command = pip install {opts} {packages}
+basepython = python3
 passenv = PBR_INTEGRATION PIPFLAGS PIPVERSION PBRVERSION REPODIR WHEELHOUSE 
PROJECTS
 setenv =
   OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:1}
@@ -18,11 +17,9 @@
 commands = stestr run --suppress-attachments {posargs}
 
 [testenv:pep8]
-basepython = python3
 commands = flake8 {posargs}
 
 [testenv:docs]
-basepython = python3
 whitelist_externals = rm
 deps =
   
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
@@ -32,21 +29,16 @@
   sphinx-build -W -b html doc/source doc/build/html {posargs}
 
 [testenv:releasenotes]
-basepython = python3
 whitelist_externals = rm
-deps =
-  
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-  -r{toxinidir}/doc/requirements.txt
+deps = {[testenv:docs]deps}
 commands =
   rm -rf releasenotes/build
   sphinx-build -W -b html -d releasenotes/build/doctrees releasenotes/source 
releasenotes/build/html
 
 [testenv:venv]
-basepython = python3
 commands = {posargs}
 
 [testenv:cover]
-basepython = python3
 setenv =
   PYTHON=coverage run --source pbr --parallel-mode
 commands =
@@ -64,7 +56,6 @@
 show-source = true
 
 [testenv:lower-constraints]
-basepython = python3
 deps =
   -c{toxinidir}/lower-constraints.txt
   -r{toxinidir}/test-requirements.txt


Reply via email to