Hello community, here is the log from the commit of package python-pymod2pkg for openSUSE:Factory checked in at 2018-01-02 16:35:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pymod2pkg (Old) and /work/SRC/openSUSE:Factory/.python-pymod2pkg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymod2pkg" Tue Jan 2 16:35:08 2018 rev:10 rq:561061 version:0.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pymod2pkg/python-pymod2pkg.changes 2017-10-13 14:18:04.366991530 +0200 +++ /work/SRC/openSUSE:Factory/.python-pymod2pkg.new/python-pymod2pkg.changes 2018-01-02 16:35:09.453076940 +0100 @@ -1,0 +2,11 @@ +Tue Jan 2 06:15:30 UTC 2018 - [email protected] + +- update to version 0.11.0 + - Change default translation for py2 in RDO + - Add RDO mapping for sysv_ipc + - Switch to newer flake8 / python 3.x version + - Avoid tox_install.sh for constraints support + - Add freezer for SUSE and RDO + - Updated from global requirements + +------------------------------------------------------------------- Old: ---- pymod2pkg-0.10.1.tar.gz New: ---- pymod2pkg-0.11.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pymod2pkg.spec ++++++ --- /var/tmp/diff_new_pack.eTKXnK/_old 2018-01-02 16:35:10.344779580 +0100 +++ /var/tmp/diff_new_pack.eTKXnK/_new 2018-01-02 16:35:10.348778247 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pymod2pkg # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,20 @@ %global sname pymod2pkg Name: python-pymod2pkg -Version: 0.10.1 +Version: 0.11.0 Release: 0 Summary: OpenStack Packaging - python module name to package name map License: Apache-2.0 Group: Development/Libraries/Python Url: https://wiki.openstack.org/wiki/Rpm-packaging -Source0: https://pypi.io/packages/source/p/%{sname}/%{sname}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/%{sname}/%{sname}-%{version}.tar.gz BuildRequires: openstack-macros BuildRequires: python-devel -BuildRequires: python-pbr >= 2.0.0 -BuildRequires: python-testrepository >= 0.0.18 -BuildRequires: python-testscenarios >= 0.4 -BuildRequires: python-testtools >= 1.4.0 -Requires: python-pbr >= 2.0.0 +BuildRequires: python-pbr +BuildRequires: python-testrepository +BuildRequires: python-testscenarios +BuildRequires: python-testtools +Requires: python-pbr BuildArch: noarch %description @@ -42,7 +42,7 @@ Summary: Documentation for python module name to package name map library Group: Development/Libraries/Python BuildRequires: python-Sphinx -BuildRequires: python-oslosphinx >= 4.7.0 +BuildRequires: python-oslosphinx Requires: %{name} = %{version} %description doc ++++++ pymod2pkg-0.10.1.tar.gz -> pymod2pkg-0.11.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/AUTHORS new/pymod2pkg-0.11.0/AUTHORS --- old/pymod2pkg-0.10.1/AUTHORS 2017-09-14 17:20:12.000000000 +0200 +++ new/pymod2pkg-0.11.0/AUTHORS 2017-12-21 23:53:13.000000000 +0100 @@ -1,6 +1,7 @@ Adam Spiers <[email protected]> Alberto Planas <[email protected]> Alexander Tsamutali <[email protected]> +Andreas Jaeger <[email protected]> Andrii Kroshchenko <[email protected]> Cao Xuan Hoang <[email protected]> Chandan Kumar <[email protected]> @@ -21,4 +22,5 @@ Thomas Bechtold <[email protected]> Tomasz Trębski <[email protected]> Tony Xu <[email protected]> +Zuul <[email protected]> loooosy <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/ChangeLog new/pymod2pkg-0.11.0/ChangeLog --- old/pymod2pkg-0.10.1/ChangeLog 2017-09-14 17:20:12.000000000 +0200 +++ new/pymod2pkg-0.11.0/ChangeLog 2017-12-21 23:53:13.000000000 +0100 @@ -1,6 +1,20 @@ CHANGES ======= +0.11.0 +------ + +* Add freezer for SUSE and RDO +* Avoid tox\_install.sh for constraints support +* Add RDO mapping for sysv\_ipc +* Updated from global requirements +* Switch to newer flake8 / python 3.x version + +0.10.2 +------ + +* Change default translation for py2 in RDO + 0.10.1 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/PKG-INFO new/pymod2pkg-0.11.0/PKG-INFO --- old/pymod2pkg-0.10.1/PKG-INFO 2017-09-14 17:20:13.000000000 +0200 +++ new/pymod2pkg-0.11.0/PKG-INFO 2017-12-21 23:53:13.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pymod2pkg -Version: 0.10.1 +Version: 0.11.0 Summary: python module name to package name map Home-page: https://docs.openstack.org/pymod2pkg/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/pymod2pkg/__init__.py new/pymod2pkg-0.11.0/pymod2pkg/__init__.py --- old/pymod2pkg-0.10.1/pymod2pkg/__init__.py 2017-09-14 17:17:20.000000000 +0200 +++ new/pymod2pkg-0.11.0/pymod2pkg/__init__.py 2017-12-21 23:51:08.000000000 +0100 @@ -79,7 +79,7 @@ pkg = pkg.replace('_', '-').replace('.', '-').lower() if not pkg.startswith('python-'): pkg = 'python-' + pkg - py2pkg = re.sub('python', 'python2', pkg) + py2pkg = pkg py3pkg = re.sub('python', 'python3', pkg) return (pkg, py2pkg, py3pkg) @@ -173,6 +173,7 @@ SingleRule('nosexcover', 'python-nose-xcover', py3pkg='python3-nose-xcover.'), SingleRule('posix_ipc', 'python-posix_ipc', py3pkg='python3-posix_ipc'), + SingleRule('sysv_ipc', 'python-sysv_ipc', py3pkg='python3-sysv_ipc'), SingleRule('oslosphinx', 'python-oslo-sphinx', py3pkg='python3-oslo-sphinx'), SingleRule('ovs', 'python-openvswitch', py3pkg='python3-openvswitch'), @@ -215,16 +216,16 @@ MultiRule( # keep lists in alphabetic order mods=['aodh', 'barbican', 'ceilometer', 'cinder', 'cloudkitty', - 'designate', 'ec2-api', 'glance', 'heat', 'heat-templates', - 'ironic', 'ironic-discoverd', 'ironic-inspector', - 'ironic-python-agent', 'karbor', 'keystone', 'magnum', 'manila', - 'masakari', 'masakari-monitors', 'mistral', 'monasca-agent', - 'monasca-api', 'monasca-ceilometer', 'monasca-log-api', - 'monasca-notification', 'monasca-persister', 'monasca-transform', - 'murano', 'neutron', 'neutron-fwaas', 'neutron-lbaas', - 'neutron-vpnaas', 'nova', 'octavia', 'rally', 'sahara', 'swift', - 'Tempest', 'tripleo-common', 'trove', 'tuskar', 'vitrage', - 'zaqar'], + 'designate', 'ec2-api', 'freezer', 'glance', 'heat', + 'heat-templates', 'ironic', 'ironic-discoverd', + 'ironic-inspector', 'ironic-python-agent', 'karbor', 'keystone', + 'magnum', 'manila', 'masakari', 'masakari-monitors', 'mistral', + 'monasca-agent', 'monasca-api', 'monasca-ceilometer', + 'monasca-log-api', 'monasca-notification', 'monasca-persister', + 'monasca-transform', 'murano', 'neutron', 'neutron-fwaas', + 'neutron-lbaas', 'neutron-vpnaas', 'nova', 'octavia', 'rally', + 'sahara', 'swift', 'Tempest', 'tripleo-common', 'trove', + 'tuskar', 'vitrage', 'zaqar'], pkgfun=openstack_prefix_tr), # Horizon plugins (normalized to openstack-<project>-ui) RegexRule(pattern=r'\w+-(dashboard|ui)', pkgfun=rdo_horizon_plugins_tr), @@ -242,7 +243,7 @@ # OpenStack services MultiRule( # keep lists in alphabetic order - mods=['ceilometer', 'cinder', 'designate', 'glance', + mods=['ceilometer', 'cinder', 'designate', 'freezer', 'glance', 'heat', 'ironic', 'karbor', 'keystone', 'manila', 'masakari', 'masakari-monitors', 'mistral', 'monasca-agent', 'monasca-api', 'monasca-ceilometer', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/pymod2pkg.egg-info/PKG-INFO new/pymod2pkg-0.11.0/pymod2pkg.egg-info/PKG-INFO --- old/pymod2pkg-0.10.1/pymod2pkg.egg-info/PKG-INFO 2017-09-14 17:20:12.000000000 +0200 +++ new/pymod2pkg-0.11.0/pymod2pkg.egg-info/PKG-INFO 2017-12-21 23:53:13.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pymod2pkg -Version: 0.10.1 +Version: 0.11.0 Summary: python module name to package name map Home-page: https://docs.openstack.org/pymod2pkg/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/pymod2pkg.egg-info/SOURCES.txt new/pymod2pkg-0.11.0/pymod2pkg.egg-info/SOURCES.txt --- old/pymod2pkg-0.10.1/pymod2pkg.egg-info/SOURCES.txt 2017-09-14 17:20:13.000000000 +0200 +++ new/pymod2pkg-0.11.0/pymod2pkg.egg-info/SOURCES.txt 2017-12-21 23:53:13.000000000 +0100 @@ -22,5 +22,4 @@ pymod2pkg.egg-info/not-zip-safe pymod2pkg.egg-info/pbr.json pymod2pkg.egg-info/requires.txt -pymod2pkg.egg-info/top_level.txt -tools/tox_install.sh \ No newline at end of file +pymod2pkg.egg-info/top_level.txt \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/pymod2pkg.egg-info/pbr.json new/pymod2pkg-0.11.0/pymod2pkg.egg-info/pbr.json --- old/pymod2pkg-0.10.1/pymod2pkg.egg-info/pbr.json 2017-09-14 17:20:12.000000000 +0200 +++ new/pymod2pkg-0.11.0/pymod2pkg.egg-info/pbr.json 2017-12-21 23:53:13.000000000 +0100 @@ -1 +1 @@ -{"git_version": "a5858ac", "is_release": true} \ No newline at end of file +{"git_version": "7347926", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/test-requirements.txt new/pymod2pkg-0.11.0/test-requirements.txt --- old/pymod2pkg-0.10.1/test-requirements.txt 2017-09-14 17:17:19.000000000 +0200 +++ new/pymod2pkg-0.11.0/test-requirements.txt 2017-12-21 23:51:08.000000000 +0100 @@ -1,10 +1,10 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -flake8<2.6.0,>=2.5.4 # MIT +flake8>=3.5.0 # MIT testrepository>=0.0.18 # Apache-2.0/BSD testresources>=2.0.0 # Apache-2.0/BSD -testtools>=1.4.0 # MIT +testtools>=2.2.0 # MIT sphinx>=1.6.2 # BSD oslosphinx>=4.7.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/tests.py new/pymod2pkg-0.11.0/tests.py --- old/pymod2pkg-0.10.1/tests.py 2017-09-14 17:17:19.000000000 +0200 +++ new/pymod2pkg-0.11.0/tests.py 2017-12-21 23:51:08.000000000 +0100 @@ -150,7 +150,11 @@ def test_default_translation_py2py3_rdo(self): self.assertEqual(pymod2pkg.module2package('oslo.db', 'fedora', py_vers=['py2', 'py3']), - ['python2-oslo-db', 'python3-oslo-db']) + ['python-oslo-db', 'python3-oslo-db']) + self.assertEqual(pymod2pkg.module2package('foobar', 'fedora', + py_vers=['py', 'py2', 'py3']), + ['python-foobar', 'python-foobar', 'python3-foobar']) + self.assertEqual(pymod2pkg.module2package('Babel', 'fedora', py_vers=['py2', 'py3']), ['python-babel', 'python3-babel']) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/tools/tox_install.sh new/pymod2pkg-0.11.0/tools/tox_install.sh --- old/pymod2pkg-0.10.1/tools/tox_install.sh 2017-09-14 17:17:19.000000000 +0200 +++ new/pymod2pkg-0.11.0/tools/tox_install.sh 1970-01-01 01:00:00.000000000 +0100 @@ -1,30 +0,0 @@ -#!/usr/bin/env bash - -# Client constraint file contains this client version pin that is in conflict -# with installing the client from source. We should remove the version pin in -# the constraints file before applying it for from-source installation. - -CONSTRAINTS_FILE=$1 -shift 1 - -set -e - -# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get -# published to logs.openstack.org for easy debugging. -localfile="$VIRTUAL_ENV/log/upper-constraints.txt" - -if [[ $CONSTRAINTS_FILE != http* ]]; then - CONSTRAINTS_FILE=file://$CONSTRAINTS_FILE -fi -# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep -curl $CONSTRAINTS_FILE --insecure --progress-bar --output $localfile - -pip install -c$localfile openstack-requirements - -# This is the main purpose of the script: Allow local installation of -# the current repo. It is listed in constraints file and thus any -# install will be constrained and we need to unconstrain it. -edit-constraints $localfile -- $CLIENT_NAME - -pip install -c$localfile -U $* -exit $? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymod2pkg-0.10.1/tox.ini new/pymod2pkg-0.11.0/tox.ini --- old/pymod2pkg-0.10.1/tox.ini 2017-09-14 17:17:19.000000000 +0200 +++ new/pymod2pkg-0.11.0/tox.ini 2017-12-21 23:51:08.000000000 +0100 @@ -5,19 +5,19 @@ [testenv] usedevelop = True -install_command = - {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} +install_command = pip install {opts} {packages} setenv = VIRTUAL_ENV={envdir} OS_STDOUT_NOCAPTURE=False OS_STDERR_NOCAPTURE=False PYTHONHASHSEED=0 - BRANCH_NAME=master - CLIENT_NAME=pymod2pkg -deps = -r{toxinidir}/requirements.txt +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --testr-args='{posargs}' [testenv:pep8] +basepython = python3 commands = flake8 [testenv:venv]
