Upgrade openstacksdk to 0.55.0

Upgrade openstacksdk to 0.55.0 to support
OpenStack-W.
This commit is contained in:
huangtianhua 2021-07-28 03:41:32 +00:00
parent af29299d81
commit 87b508dea3
3 changed files with 16 additions and 14 deletions

Binary file not shown.

BIN
openstacksdk-0.55.0.tar.gz Normal file

Binary file not shown.

View File

@ -3,13 +3,13 @@
%global with_doc 0
Name: python-openstacksdk
Version: 0.50.0
Release: 1%{?dist}
Version: 0.55.0
Release: 1
Summary: An SDK for building applications to work with OpenStack
License: ASL 2.0
URL: http://www.openstack.org/
Source0: https://pypi.io/packages/source/o/openstacksdk/openstacksdk-0.50.0.tar.gz
Source0: https://pypi.io/packages/source/o/openstacksdk/openstacksdk-%{version}.tar.gz
BuildArch: noarch
BuildRequires: git
@ -33,8 +33,8 @@ BuildRequires: python3-jsonschema
BuildRequires: python3-os-service-types
# Test requirements
BuildRequires: python3-importlib_metadata
BuildRequires: python3-iso8601 >= 0.1.11
BuildRequires: python3-jsonpatch >= 1.16
BuildRequires: python3-iso8601
BuildRequires: python3-jsonpatch
BuildRequires: python3-subunit
BuildRequires: python3-oslotest
BuildRequires: python3-oslo-config
@ -49,17 +49,17 @@ BuildRequires: python3-ddt
BuildRequires: python3-decorator
BuildRequires: python3-netifaces
Requires: python3-cryptography >= 2.7
Requires: python3-cryptography
Requires: python3-importlib_metadata
Requires: python3-jsonpatch >= 1.16
Requires: python3-keystoneauth1 >= 3.18.0
Requires: python3-pbr >= 2.0.0
Requires: python3-jsonpatch
Requires: python3-keystoneauth1
Requires: python3-pbr
Requires: python3-appdirs
Requires: python3-requestsexceptions >= 1.2.0
Requires: python3-requestsexceptions
Requires: python3-munch
Requires: python3-jmespath
Requires: python3-iso8601
Requires: python3-os-service-types >= 1.7.0
Requires: python3-os-service-types
Requires: python3-dogpile-cache
Requires: python3-decorator
Requires: python3-netifaces
@ -71,7 +71,7 @@ A collection of libraries for building applications to work with OpenStack cloud
%package -n python3-openstacksdk-tests
Summary: An SDK for building applications to work with OpenStack - test files
Requires: python3-openstacksdk = 0.50.0-1
Requires: python3-openstacksdk
%description -n python3-openstacksdk-tests
A collection of libraries for building applications to work with OpenStack - test files
@ -88,7 +88,7 @@ clouds - documentation.
%endif
%prep
%autosetup -n openstacksdk-0.50.0 -S git
%autosetup -n openstacksdk-%{version} -S git
rm -rf {,test-}requirements.txt
rm -f openstack/tests/unit/test_stats.py
@ -108,7 +108,7 @@ rm -f ./openstack/tests/unit/test_hacking.py
export OS_STDOUT_CAPTURE=true
export OS_STDERR_CAPTURE=true
export OS_TEST_TIMEOUT=20
PYTHON=python3 stestr --test-path ./openstack/tests/unit run --black-regex '(test_wait_for_task_.*|.*TestOsServiceTypesVersion.*|.*test_timeout_and_failures_not_fail.*)'
PYTHON=python3 stestr --test-path ./openstack/tests/unit run
%files -n python3-openstacksdk
%doc README.rst
@ -128,5 +128,7 @@ PYTHON=python3 stestr --test-path ./openstack/tests/unit run --black-regex '(tes
%endif
%changelog
* Wed Jul 28 2021 huangtianhua <huangtianhua@huawei.com> 0.55.0-1
- Upgrade to 0.55.0
* Thu Jan 26 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated