Hello community,
here is the log from the commit of package python-neutronclient for
openSUSE:Factory checked in at 2018-09-07 15:38:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-neutronclient (Old)
and /work/SRC/openSUSE:Factory/.python-neutronclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-neutronclient"
Fri Sep 7 15:38:02 2018 rev:19 rq:633083 version:6.9.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-neutronclient/python-neutronclient.changes
2018-03-19 23:35:01.608607322 +0100
+++
/work/SRC/openSUSE:Factory/.python-neutronclient.new/python-neutronclient.changes
2018-09-07 15:38:06.270619849 +0200
@@ -1,0 +2,40 @@
+Mon Sep 3 17:14:13 UTC 2018 - [email protected]
+
+- update to version 6.9.0
+ - Replace insecure function eval
+ - Remove mox/mox3 usage from test_cli20_port.py
+ - Update reno for stable/queens
+ - Add oslo.log to requirements.txt
+ - Remove mox/mox3 usage from fw modules
+ - Remove mox/mox3 usage from lb modules
+ - Remove PyPI downloads
+ - Fix the assertion of standard error text
+ - Remove mox/mox3 usage from test_cli20_securitygroup.py
+ - Fix incompatible requirement in lower-constraints
+ - Remove mox/mox3 usage from test_cli20_subnet.py
+ - Remove mox/mox3 usage from test_name_or_id.py
+ - Rename python-openstacksdk to openstacksdk
+ - osc, bgpvpn: add support for 'local_pref' BGPVPN attribute
+ - Remove mox/mox3 from test_cli20_agentschedulers.py
+ - Set or unset port pair group failed
+ - Fix pep8 error
+ - Trivial: Update pypi url to new url
+ - Remove mox/mox3 usage from test_cli20.py
+ - Fix list bgp speaker by agent ID
+ - Consume column utils from osc-lib
+ - Follow the new PTI for document build
+ - Drop neutronclient-specific cliff sphinx extension
+ - Remove bogus ID column from ListRoutesAdvertisedBySpeaker
+ - Remove mox3 from test-requirements.txt
+ - Remove mox/mox3 usage from bgp
+ - Remove mox/mox3 usage from test_quota
+ - add lower-constraints job
+ - Remove mox/mox3 usage from test_cli20_tag
+ - Remove mox/mox3 usage from test_cli20_network.py
+ - Remove mox/mox3 from test_cli20_address_scope.py
+ - Updated from global requirements
+ - Remove mox/mox3 usage from test_cli20_subnetpool.py
+ - Enable VPNaaS functional tests in the neutronclient gate
+- add 0001-Fix-broken-unittests.patch
+
+-------------------------------------------------------------------
Old:
----
python-neutronclient-6.7.0.tar.gz
New:
----
0001-Fix-broken-unittests.patch
python-neutronclient-6.9.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-neutronclient.spec ++++++
--- /var/tmp/diff_new_pack.OxEqUF/_old 2018-09-07 15:38:06.746619337 +0200
+++ /var/tmp/diff_new_pack.OxEqUF/_new 2018-09-07 15:38:06.750619333 +0200
@@ -17,21 +17,24 @@
Name: python-neutronclient
-Version: 6.7.0
+Version: 6.9.0
Release: 0
Summary: Python API and CLI for OpenStack Neutron
License: Apache-2.0
Group: Development/Languages/Python
-Url: http://launchpad.net/%{name}
-Source0:
https://files.pythonhosted.org/packages/source/p/python-neutronclient/python-neutronclient-6.7.0.tar.gz
+URL: https://launchpad.net/%{name}
+Source0:
https://files.pythonhosted.org/packages/source/p/python-neutronclient/python-neutronclient-6.9.0.tar.gz
+# https://review.openstack.org/585387
+# Needed for osprofiler==2.3.0
+Patch0: 0001-Fix-broken-unittests.patch
BuildRequires: openstack-macros
BuildRequires: python-devel
BuildRequires: python2-cliff >= 2.8.0
-BuildRequires: python2-fixtures >= 3.0.0
-BuildRequires: python2-keystoneauth1 >= 3.3.0
+BuildRequires: python2-fixtures
+BuildRequires: python2-keystoneauth1 >= 3.4.0
BuildRequires: python2-keystoneclient >= 3.8.0
-BuildRequires: python2-mock >= 2.0.0
-BuildRequires: python2-mox3 >= 0.20.0
+BuildRequires: python2-mock
+BuildRequires: python2-mox3
BuildRequires: python2-netaddr >= 0.7.18
BuildRequires: python2-os-client-config >= 1.28.0
BuildRequires: python2-osc-lib >= 1.8.0
@@ -39,21 +42,21 @@
BuildRequires: python2-oslo.log >= 3.36.0
BuildRequires: python2-oslo.serialization >= 2.18.0
BuildRequires: python2-oslo.utils >= 3.33.0
-BuildRequires: python2-oslotest >= 3.2.0
-BuildRequires: python2-osprofiler >= 1.4.0
+BuildRequires: python2-oslotest
+BuildRequires: python2-osprofiler
BuildRequires: python2-pbr >= 2.0.0
-BuildRequires: python2-requests-mock >= 1.1.0
-BuildRequires: python2-setuptools >= 16.0
-BuildRequires: python2-testrepository >= 0.0.18
-BuildRequires: python2-testscenarios >= 0.4
-BuildRequires: python2-testtools >= 2.2.0
+BuildRequires: python2-requests-mock
+BuildRequires: python2-setuptools
+BuildRequires: python2-testrepository
+BuildRequires: python2-testscenarios
+BuildRequires: python2-testtools
BuildRequires: python3-cliff >= 2.8.0
BuildRequires: python3-devel
-BuildRequires: python3-fixtures >= 3.0.0
-BuildRequires: python3-keystoneauth1 >= 3.3.0
+BuildRequires: python3-fixtures
+BuildRequires: python3-keystoneauth1 >= 3.4.0
BuildRequires: python3-keystoneclient >= 3.8.0
-BuildRequires: python3-mock >= 2.0.0
-BuildRequires: python3-mox3 >= 0.20.0
+BuildRequires: python3-mock
+BuildRequires: python3-mox3
BuildRequires: python3-netaddr >= 0.7.18
BuildRequires: python3-os-client-config >= 1.28.0
BuildRequires: python3-osc-lib >= 1.8.0
@@ -61,19 +64,19 @@
BuildRequires: python3-oslo.log >= 3.36.0
BuildRequires: python3-oslo.serialization >= 2.18.0
BuildRequires: python3-oslo.utils >= 3.33.0
-BuildRequires: python3-oslotest >= 3.2.0
-BuildRequires: python3-osprofiler >= 1.4.0
+BuildRequires: python3-oslotest
+BuildRequires: python3-osprofiler
BuildRequires: python3-pbr >= 2.0.0
-BuildRequires: python3-requests-mock >= 1.1.0
-BuildRequires: python3-setuptools >= 16.0
-BuildRequires: python3-testrepository >= 0.0.18
-BuildRequires: python3-testscenarios >= 0.4
-BuildRequires: python3-testtools >= 2.2.0
+BuildRequires: python3-requests-mock
+BuildRequires: python3-setuptools
+BuildRequires: python3-testrepository
+BuildRequires: python3-testscenarios
+BuildRequires: python3-testtools
Requires: python-Babel >= 2.3.4
Requires: python-cliff >= 2.8.0
Requires: python-debtcollector >= 1.2.0
Requires: python-iso8601 >= 0.1.11
-Requires: python-keystoneauth1 >= 3.3.0
+Requires: python-keystoneauth1 >= 3.4.0
Requires: python-keystoneclient >= 3.8.0
Requires: python-netaddr >= 0.7.18
Requires: python-os-client-config >= 1.28.0
@@ -104,8 +107,8 @@
Summary: Documentation for OpenStack Neutron API Client
Group: Documentation/HTML
BuildRequires: python-Sphinx
-BuildRequires: python-openstackdocstheme >= 1.18.1
-BuildRequires: python-reno >= 2.5.0
+BuildRequires: python-openstackdocstheme
+BuildRequires: python-reno
%description -n python-neutronclient-doc
Client library and command line utility for interacting with OpenStack
@@ -120,7 +123,8 @@
%{python_build}
# Build HTML docs and man page
-%{__python2} setup.py build_sphinx
+PBR_VERSION=6.9.0 sphinx-build -b html doc/source doc/build/html
+PBR_VERSION=6.9.0 sphinx-build -b man doc/source doc/build/man
%install
%{python_install}
++++++ 0001-Fix-broken-unittests.patch ++++++
>From bca82e2fba9505f1bffdd5cb4aa23f4bb3e05f84 Mon Sep 17 00:00:00 2001
From: Yushiro FURUKAWA <[email protected]>
Date: Tue, 24 Jul 2018 23:39:59 +0900
Subject: [PATCH] Fix broken unittests
_clean() method is renamed to clean() in osprofiler 2.3.0.
It was suggested in a past neutronclient review.
Closes-Bug: #1783789
Co-Authored-By: Akihiro Motoki <[email protected]>
Depends-On: https://review.openstack.org/#/c/592018/
Change-Id: Ic8e03db85dc08cfdcac5507e99ecdf7eac8eb972
---
lower-constraints.txt | 2 +-
neutronclient/tests/unit/test_http.py | 2 +-
test-requirements.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lower-constraints.txt b/lower-constraints.txt
index 81394e2..2bf9a31 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -63,7 +63,7 @@ oslo.serialization==2.18.0
oslo.service==1.24.0
oslo.utils==3.33.0
oslotest==3.2.0
-osprofiler==1.4.0
+osprofiler==2.3.0
paramiko==2.0.0
Paste==2.0.2
PasteDeploy==1.5.0
diff --git a/neutronclient/tests/unit/test_http.py
b/neutronclient/tests/unit/test_http.py
index 21b6155..d76e9bc 100644
--- a/neutronclient/tests/unit/test_http.py
+++ b/neutronclient/tests/unit/test_http.py
@@ -77,7 +77,7 @@ class TestHTTPClientMixin(object):
def test_osprofiler_headers_are_injected(self):
osprofiler.profiler.init('SWORDFISH')
- self.addCleanup(osprofiler.profiler._clean)
+ self.addCleanup(osprofiler.profiler.clean)
headers = {'Accept': 'application/json'}
headers.update(osprofiler.web.get_trace_id_headers())
diff --git a/test-requirements.txt b/test-requirements.txt
index eb3bcf1..77a33e6 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -9,7 +9,7 @@ fixtures>=3.0.0 # Apache-2.0/BSD
flake8-import-order==0.12 # LGPLv3
mock>=2.0.0 # BSD
oslotest>=3.2.0 # Apache-2.0
-osprofiler>=1.4.0 # Apache-2.0
+osprofiler>=2.3.0 # Apache-2.0
python-openstackclient>=3.12.0 # Apache-2.0
python-subunit>=1.0.0 # Apache-2.0/BSD
requests-mock>=1.2.0 # Apache-2.0
--
2.18.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.OxEqUF/_old 2018-09-07 15:38:06.794619286 +0200
+++ /var/tmp/diff_new_pack.OxEqUF/_new 2018-09-07 15:38:06.794619286 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/openstack/python-neutronclient/python-neutronclient.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/openstack/python-neutronclient/python-neutronclient.spec.j2</param>
<param name="output-name">python-neutronclient.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/python-neutronclient/stable/rocky/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,python-neutronclient</param>
</service>
++++++ python-neutronclient-6.7.0.tar.gz -> python-neutronclient-6.9.0.tar.gz
++++++
++++ 5402 lines of diff (skipped)