Hello community,
here is the log from the commit of package python-openstacksdk for
openSUSE:Factory checked in at 2018-07-10 16:15:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openstacksdk (Old)
and /work/SRC/openSUSE:Factory/.python-openstacksdk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-openstacksdk"
Tue Jul 10 16:15:54 2018 rev:8 rq:621722 version:0.11.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-openstacksdk/python-openstacksdk.changes
2018-01-24 15:27:30.586765782 +0100
+++
/work/SRC/openSUSE:Factory/.python-openstacksdk.new/python-openstacksdk.changes
2018-07-10 16:16:45.617412592 +0200
@@ -1,0 +2,142 @@
+Fri Feb 23 13:17:17 UTC 2018 - [email protected]
+
+- Switch to stable/queens spec template
+ - adds 0001-Let-enforcer.py-work-under-both-py2-and-py3.patch
+
+-------------------------------------------------------------------
+Tue Feb 13 14:42:09 UTC 2018 - [email protected]
+
+- update to version 0.11.3 (bsc#1078607)
+ - Fix image task uploads
+ - Remove self argument from connect helper function
+ - Add notes about moving forward
+ - Fix batching for floating ips and ports
+ - Remove openstack-tox-pypy jobs
+ - v2 image update fix
+ - Prefer links dicts for pagination
+ - Remove meter service
+ - Update for new docs PTI
+ - Add ability to register non-official services
+ - Fix py35 and pypy tox env
+ - Do not apply format expansions to passwords
+ - Provide compatibility for people passing raw sessions
+ - Move shade and os-client-config python content
+ - Remove metric service
+ - Add group parameter to create_server
+ - Remove use of tox-siblings role
+ - Remove -U from pip install
+ - Add tag support to create_stack
+ - Add helper property to get the current user id
+ - Add resource2/proxy2 wrappers with deprecations
+ - Add clustering guides cluster file, examples cluster code
+ - Rename resource2 and proxy2 to resource and proxy
+ - Add pools attribute to load balancer heath monitor
+ - Move profile helper method to openstack.profile
+ - Fix TypeError for overrided get methods
+ - Implement availability_zone_hints for networks and routers.
+ - Add cluster support force delete parameter
+ - Rename CloudConfig to CloudRegion
+ - Add betacloud to the vendors
+ - Move task_manager and adapter up a level from cloud
+ - Use version definition from openstack.version
+ - Remove inner_exceptions plumbing
+ - Allow domain_id for roles
+ - Add deprecation warnings to profile
+ - Add block_store support single volume display image message
+ - Use Zuul v3 fetch-subunit-output
+ - Change update/create method options
+ - Added nat_source flag for networks.
+ - Use devstack functional test base job
+ - Clean up the release notes a bit
+ - Adds get encrypted password support
+ - Remove legacy client factory functions
+ - Update the shade-merge document
+ - Move role normalization to normalize.py
+ - Clean up a bit after the mapping inversion
+ - Add _query_mapping to identity resources
+ - Port wait_for_ methods to use iterate_timeout
+ - Complete move of baremetal machine tests
+ - Cleanup objects that we create on behalf of images
+ - Consume publish-openstack-sphinx-docs
+ - Handle resource deletion properly
+ - Add clustering guides node file, examples node code
+ - Fix typo in the external service loader code
+ - Make sure we use config defaults in profile compat code
+ - Add ability to work in other auth contexts
+ - Remove the deprecated "giturl" option
+ - Remove python-ironicclient
+ - Add server-side names to query param checking
+ - Temporarily disable volume and os_image functional tests
+ - Update UPPER_CONSTRAINTS_FILE for stable/queens
+ - Move openstack_cloud helper functions
+ - Avoid default mutable values in arguments
+ - Treat clouds.yaml with one cloud like envvars
+ - Invert the attribute mapping
+ - Start using Connection in openstack.cloud
+ - modify spelling error of resource
+ - change spell error
+ - Updated from global requirements
+ - Remove setting of version/release from releasenotes
+ - Make floating IP to be prefered over fixed when looking for IP
+ - Add subnet_id property for FloatingIP
+ - Replace clustering examples code cluster to clustering
+ - Remove resource and proxy
+ - Add method to cleanup autocreated image objects
+ - Raise error when supplying invalid query params
+ - Fix magnum functional test
+ - Add supported method for checking the network exts
+ - Support filtering servers in list_servers using arbitrary parameters
+ - Add function to make CloudRegion from session
+ - Add jobs for Zuul v3
+ - Make the get_service_type() overrides tolernat of no defaults
+ - Migrate to testtools for functional tests
+ - resource: don't early terminate list
+ - Pass through all_projects for get_server
+ - Adds support to retrieve cinder backend pools information
+ - Remove reference to context-managers from release note
+ - fix misspelling of 'configuration'
+ - Update docs and pep8 tox environments
+ - Update Release Notes links and add bugs links
+ - Add FloatingIP qos_policy_id attribute
+ - Rationalize logging helpers and docs
+ - Remove bogus and unneeded role from job definition
+ - Re-enable octavia functional tests
+ - Fixed a few nits in the README
+ - Sort image update results before comparing
+ - Rework config and rest layers
+ - Stop osSDK mangling Swift metadata keys
+ - Update make_rest_client to work with version discovery
+ - Make meta.find_best_address() more generic
+ - Add reno for tag support on heat stacks
+ - Throw OpenStackCloudCreateException on create errors
+ - Shift image tests from test_operator
+ - Baremetal NIC list should return a list
+ - Add a descriptor object for each service proxy
+ - Protect against p_opt not having prompt attribute
+ - Add clustering guides receiver file,examples receiver code
+ - Update .gitreview for stable/queens
+ - Add osc-tox-unit-tips jobs
+ - Allow to pass filters like domain to find_project/user
+ - Avoid tox_install.sh for constraints support
+ - Remove name from zuul project stanza
+ - Remove ansible functional tests for now
+ - Add OSC functional tips jobs
+ - Document current_user_id in a release note
+ - Fix releasenotes builds
+ - Fix regression for list_router_interfaces
+ - Add clustering guides file, Examples code.
+ - Update type conversion to handle subtypes more better
+ - Fix an error about listing projects in connection doc
+ - Fix clustering detach policy describe error
+ - Add retry logic mechanism
+ - Remove message v1 support
+ - Ensure Connection can be made from keyword arguments
+ - Image should be optional
+ - Set empty Tag list if Network Tag API extension not supported
+ - Handle glance image pagination links better
+ - Add method to set bootable flag on volumes
+ - Fix issue with missing url parameters
+ - Add some docs about not using Profile
+ - Migrate object_store to resource2/proxy2
+
+-------------------------------------------------------------------
Old:
----
openstacksdk-0.9.19.tar.gz
New:
----
0001-Let-enforcer.py-work-under-both-py2-and-py3.patch
openstacksdk-0.11.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-openstacksdk.spec ++++++
--- /var/tmp/diff_new_pack.0EbiIM/_old 2018-07-10 16:16:46.141411780 +0200
+++ /var/tmp/diff_new_pack.0EbiIM/_new 2018-07-10 16:16:46.145411774 +0200
@@ -16,56 +16,102 @@
#
-%global sname openstacksdk
Name: python-openstacksdk
-Version: 0.9.19
+Version: 0.11.3
Release: 0
Summary: An SDK for building applications to work with OpenStack
License: Apache-2.0
Group: Development/Languages/Python
-Url: https://launchpad.net/python-openstacksdk
-Source0:
https://files.pythonhosted.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
+Url: https://launchpad.net/openstacksdk
+Source0:
https://files.pythonhosted.org/packages/source/o/openstacksdk/openstacksdk-0.11.3.tar.gz
+# https://review.openstack.org/#/c/539685/
+Patch1: 0001-Let-enforcer.py-work-under-both-py2-and-py3.patch
BuildRequires: openstack-macros
-BuildRequires: python-Sphinx
BuildRequires: python-devel
+BuildRequires: python2-PyYAML >= 3.10
+BuildRequires: python2-appdirs >= 1.3.0
BuildRequires: python2-beautifulsoup4 >= 4.6.0
+BuildRequires: python2-decorator >= 3.4.0
BuildRequires: python2-deprecation >= 1.0
+BuildRequires: python2-dogpile.cache >= 0.6.2
+BuildRequires: python2-extras >= 1.0.0
BuildRequires: python2-fixtures >= 3.0.0
+BuildRequires: python2-futures >= 3.0.0
+BuildRequires: python2-ipaddress >= 1.0.16
+BuildRequires: python2-jmespath >= 0.9.0
BuildRequires: python2-jsonpatch >= 1.16
+BuildRequires: python2-jsonschema >= 2.6.0
+BuildRequires: python2-keystoneauth1 >= 3.3.0
BuildRequires: python2-mock >= 2.0.0
-BuildRequires: python2-os-testr >= 1.0.0
+BuildRequires: python2-munch >= 2.1.0
+BuildRequires: python2-netifaces >= 0.10.4
+BuildRequires: python2-os-service-types >= 1.1.0
+BuildRequires: python2-oslotest >= 3.2.0
BuildRequires: python2-pbr >= 2.0.0
-BuildRequires: python2-requests >= 2.14.2
+BuildRequires: python2-python-subunit >= 1.0.0
BuildRequires: python2-requests-mock >= 1.1.0
-BuildRequires: python2-setuptools >= 16.0
+BuildRequires: python2-requestsexceptions >= 1.2.0
BuildRequires: python2-six >= 1.10.0
+BuildRequires: python2-stestr >= 1.0.0
BuildRequires: python2-stevedore >= 1.20.0
BuildRequires: python2-testrepository >= 0.0.18
BuildRequires: python2-testscenarios >= 0.4
BuildRequires: python2-testtools >= 2.2.0
+BuildRequires: python3-PyYAML >= 3.10
+BuildRequires: python3-appdirs >= 1.3.0
BuildRequires: python3-beautifulsoup4 >= 4.6.0
+BuildRequires: python3-decorator >= 3.4.0
BuildRequires: python3-deprecation >= 1.0
BuildRequires: python3-devel
+BuildRequires: python3-dogpile.cache >= 0.6.2
+BuildRequires: python3-extras >= 1.0.0
BuildRequires: python3-fixtures >= 3.0.0
+BuildRequires: python3-jmespath >= 0.9.0
BuildRequires: python3-jsonpatch >= 1.16
+BuildRequires: python3-jsonschema >= 2.6.0
+BuildRequires: python3-keystoneauth1 >= 3.3.0
BuildRequires: python3-mock >= 2.0.0
-BuildRequires: python3-os-testr >= 1.0.0
+BuildRequires: python3-munch >= 2.1.0
+BuildRequires: python3-netifaces >= 0.10.4
+BuildRequires: python3-os-service-types >= 1.1.0
+BuildRequires: python3-oslotest >= 3.2.0
BuildRequires: python3-pbr >= 2.0.0
-BuildRequires: python3-requests >= 2.14.2
+BuildRequires: python3-python-subunit >= 1.0.0
BuildRequires: python3-requests-mock >= 1.1.0
-BuildRequires: python3-setuptools >= 16.0
+BuildRequires: python3-requestsexceptions >= 1.2.0
BuildRequires: python3-six >= 1.10.0
+BuildRequires: python3-stestr >= 1.0.0
BuildRequires: python3-stevedore >= 1.20.0
BuildRequires: python3-testrepository >= 0.0.18
BuildRequires: python3-testscenarios >= 0.4
BuildRequires: python3-testtools >= 2.2.0
+Requires: python-PyYAML >= 3.10
+Requires: python-appdirs >= 1.3.0
+Requires: python-decorator >= 3.4.0
Requires: python-deprecation >= 1.0
+Requires: python-dogpile.cache >= 0.6.2
+Requires: python-iso8601 >= 0.1.11
+Requires: python-jmespath >= 0.9.0
Requires: python-jsonpatch >= 1.16
-Requires: python-keystoneauth1 >= 3.2.0
-Requires: python-os-client-config >= 1.28.0
+Requires: python-keystoneauth1 >= 3.3.0
+Requires: python-munch >= 2.1.0
+Requires: python-netifaces >= 0.10.4
+Requires: python-os-service-types >= 1.1.0
+Requires: python-requestsexceptions >= 1.2.0
Requires: python-six >= 1.10.0
-Requires: python-stevedore >= 1.20.0
BuildArch: noarch
+%ifpython2
+Requires: python-futures >= 3.0.0
+Requires: python-ipaddress >= 1.0.16
+%endif
+%if 0%{?suse_version}
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%else
+# on RDO, update-alternatives is in chkconfig
+Requires(post): chkconfig
+Requires(postun): chkconfig
+%endif
%python_subpackages
%description
@@ -78,9 +124,7 @@
Summary: %{summary} - Documentation
Group: Documentation/HTML
BuildRequires: python-Sphinx
-BuildRequires: python-keystoneauth1 >= 3.2.0
-BuildRequires: python-openstackdocstheme >= 1.17.0
-BuildRequires: python-os-client-config >= 1.28.0
+BuildRequires: python-openstackdocstheme >= 1.18.1
Requires: %{name} = %{version}
%description -n python-openstacksdk-doc
@@ -92,9 +136,10 @@
This package contains documentation files for %{name}.
%prep
-%autosetup -p1 -n %{sname}-%{version}
-sed -i -e "s,'sphinx.ext.intersphinx'\,,," doc/source/conf.py
+%autosetup -p1 -n openstacksdk-0.11.3
%py_req_cleanup
+sed -i -e 's,coverage.*,,' test-requirements.txt || true
+sed -i -e "s,'sphinx.ext.intersphinx'\,,," doc/source/conf.py
# build fails with warnings
sed -i 's/^warning-is-error.*/warning-is-error=0/g' setup.cfg
@@ -106,17 +151,25 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/openstack-inventory
+
+%post
+%python_install_alternative openstack-inventory
+
+%postun
+%python_uninstall_alternative openstack-inventory
%check
%{python_expand rm -rf .testrepository
-$python setup.py test
+stestr run
}
%files %{python_files}
%license LICENSE
%doc ChangeLog README.rst
-%{python2_sitelib}/openstack
-%{python2_sitelib}/*.egg-info
+%python_alternative %{_bindir}/openstack-inventory
+%{python_sitelib}/openstack
+%{python_sitelib}/*.egg-info
%files -n python-openstacksdk-doc
%license LICENSE
++++++ 0001-Let-enforcer.py-work-under-both-py2-and-py3.patch ++++++
>From a523ac7fc25e618e01b86fb0350008cde821e37c Mon Sep 17 00:00:00 2001
From: Tim Burke <[email protected]>
Date: Wed, 31 Jan 2018 13:01:21 -0800
Subject: [PATCH] Let enforcer.py work under both py2 and py3
I guess the gate uses py3, but some of the post jobs still use py2?
Whatever, it's easy enough to support both.
See
http://logs.openstack.org/f9/f9b96861577e26f0540158e00706e2505213f4bf/post/publish-openstack-sphinx-docs/58260e1/ara/result/8a18f0c0-d4b0-4cef-9d31-4cf79f3b4999/
for an example failure.
Change-Id: I37e507d37d4a41f5c55f2314bc074556f6262b50
---
doc/source/enforcer.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/doc/source/enforcer.py b/doc/source/enforcer.py
index b8dc182b..5dc0c6d0 100644
--- a/doc/source/enforcer.py
+++ b/doc/source/enforcer.py
@@ -1,5 +1,4 @@
import importlib
-import itertools
import os
from bs4 import BeautifulSoup
@@ -113,7 +112,7 @@ def build_finished(app, exception):
# TEMPORARY: Ignore the wait_for names when determining what is missing.
app.info("ENFORCER: Ignoring wait_for_* names...")
- missing = set(itertools.filterfalse(is_ignored, missing))
+ missing = set(x for x in missing if not is_ignored(x))
missing_count = len(missing)
app.info("ENFORCER: Found %d missing proxy methods "
--
2.16.1
++++++ _service ++++++
--- /var/tmp/diff_new_pack.0EbiIM/_old 2018-07-10 16:16:46.177411724 +0200
+++ /var/tmp/diff_new_pack.0EbiIM/_new 2018-07-10 16:16:46.181411718 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/openstacksdk/openstacksdk.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/openstack/openstacksdk/openstacksdk.spec.j2</param>
<param name="output-name">python-openstacksdk.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,python-openstacksdk</param>
</service>
++++++ openstacksdk-0.9.19.tar.gz -> openstacksdk-0.11.3.tar.gz ++++++
++++ 114508 lines of diff (skipped)