1
0

- add obsoletes

- update to version 0.36.2
  - Fix error handling in network trunks operations
  - Handle HTTP errors in add/remove router interface calls
  - Consistent normalization of Machine objects in the cloud layer
  - Fix error handling on add/remove router iface calls
  - Include "fields" to "SecurityGroup" query parameters
  - Use has_service in functional test's require_service
  - Update TOX/UPPER_CONSTRAINTS_FILE for stable/train
  - Fix microversion negotiation in some bare metal node call
  - Keep connection backrefs with weakref.proxy
  - Update .gitreview for stable/train
  - Fix server for later microversion
  - baremetal node: 'error' is a failed state

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=40
This commit is contained in:
2020-03-23 17:21:46 +00:00
committed by Git OBS Bridge
parent 1557996af3
commit d3e998ee12
4 changed files with 32 additions and 7 deletions

View File

@@ -19,13 +19,13 @@
# and cause timeouts due to swapping. Disabling for now
%define with_tests 0
Name: python-openstacksdk
Version: 0.36.0
Version: 0.36.2
Release: 0
Summary: An SDK for building applications to work with OpenStack
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/openstacksdk
Source0: https://files.pythonhosted.org/packages/source/o/openstacksdk/openstacksdk-0.36.0.tar.gz
Source0: https://files.pythonhosted.org/packages/source/o/openstacksdk/openstacksdk-0.36.2.tar.gz
# https://review.opendev.org/692323
Patch0: 0001-Increase-test-timeout-for-2-tests-in-TestImageProxy-.patch
BuildRequires: openstack-macros
@@ -89,6 +89,9 @@ Requires: python3-os-service-types >= 1.7.0
Requires: python3-requestsexceptions >= 1.2.0
Requires: python3-six >= 1.10.0
%if 0%{?suse_version}
Obsoletes: python2-openstacksdk < 1.0.0
%endif
%if 0%{?suse_version}
%if 0%{?sle_version} >= 150000 || 0%{?suse_version} > 1500
Requires: mkisofs
%else
@@ -125,7 +128,7 @@ The openstacksdk is a collection of libraries for building
applications to work with OpenStack clouds.
%prep
%autosetup -p1 -n openstacksdk-0.36.0
%autosetup -p1 -n openstacksdk-0.36.2
%py_req_cleanup
sed -i -e 's,coverage.*,,' test-requirements.txt || true
sed -i -e "s,'sphinx.ext.intersphinx'\,,," doc/source/conf.py
@@ -136,7 +139,7 @@ rm openstack/tests/unit/test_stats.py
%build
%py3_build
PBR_VERSION=0.36.0 %sphinx_build -b html doc/source doc/build/html
PBR_VERSION=0.36.2 %sphinx_build -b html doc/source doc/build/html
rm -rf doc/build/html/.{doctrees,buildinfo}
%install