1
0

- update to version 0.17.2

- Network: Add tag support for security group
  - Fix clustering profile type miss list operation
  - Add ipaddress and futures to lower-constraints
  - Allow cascade deletion of load balancer
  - Add ansible functional tests
  - Use valid filters to list floating IPs in neutron
  - Switch to providing created_at field for servers
  - Flavor: added is_public query parameter and description property
  - Add Magnum /certificates support
  - Add tests to verify behavior on '' in self link
  - Refactor _get_version_arguments
  - Hardcode v2.0 onto end of neutron endpoints
  - Add ability to pass data to create_object
  - Add connection backreference to proxy instances
  - Add python 3.6 jobs
  - meta: don't throw KeyError on misconfigured floating IPs
  - Fix DNS Recordset CRUD
  - Fix devstack tests
  - Fix typo in README.rst
  - Add release note for added masakari support
  - Finish migrating image tests to requests-mock
  - Remove default values of router's is_ha and is_distributed arguments
  - Allow explicitly setting enable_snat to either value
  - create_subnet: Add filter on tenant_id if specified
  - Add missing release note about vexxhost auth_url
  - Use 'none' auth plugin
  - Fix path for Limestone Networks vendor file
  - Move clustering additions from shade directories
  - Update create_object to handled chunked data

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=27
This commit is contained in:
2018-09-01 09:06:18 +00:00
committed by Git OBS Bridge
parent 882fe3d7a3
commit 96442e4279
6 changed files with 205 additions and 101 deletions

View File

@@ -17,75 +17,71 @@
Name: python-openstacksdk
Version: 0.11.3
Version: 0.17.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.11.3.tar.gz
# https://review.openstack.org/#/c/539685/
Patch1: 0001-Let-enforcer.py-work-under-both-py2-and-py3.patch
URL: https://launchpad.net/openstacksdk
Source0: https://files.pythonhosted.org/packages/source/o/openstacksdk/openstacksdk-0.17.2.tar.gz
BuildRequires: openstack-macros
BuildRequires: python-devel
BuildRequires: python2-PyYAML >= 3.10
BuildRequires: python2-PyYAML >= 3.12
BuildRequires: python2-appdirs >= 1.3.0
BuildRequires: python2-beautifulsoup4 >= 4.6.0
BuildRequires: python2-beautifulsoup4
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-extras
BuildRequires: python2-fixtures
BuildRequires: python2-futures >= 3.0.0
BuildRequires: python2-ipaddress >= 1.0.16
BuildRequires: python2-ipaddress >= 1.0.17
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-jsonschema
BuildRequires: python2-keystoneauth1 >= 3.8.0
BuildRequires: python2-mock
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-os-service-types >= 1.2.0
BuildRequires: python2-oslotest
BuildRequires: python2-pbr >= 2.0.0
BuildRequires: python2-python-subunit >= 1.0.0
BuildRequires: python2-requests-mock >= 1.1.0
BuildRequires: python2-python-subunit
BuildRequires: python2-requests-mock
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: python2-stestr
BuildRequires: python2-stevedore
BuildRequires: python2-testscenarios
BuildRequires: python2-testtools
BuildRequires: python3-PyYAML >= 3.12
BuildRequires: python3-appdirs >= 1.3.0
BuildRequires: python3-beautifulsoup4 >= 4.6.0
BuildRequires: python3-beautifulsoup4
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-extras
BuildRequires: python3-fixtures
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-jsonschema
BuildRequires: python3-keystoneauth1 >= 3.8.0
BuildRequires: python3-mock
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-os-service-types >= 1.2.0
BuildRequires: python3-oslotest
BuildRequires: python3-pbr >= 2.0.0
BuildRequires: python3-python-subunit >= 1.0.0
BuildRequires: python3-requests-mock >= 1.1.0
BuildRequires: python3-python-subunit
BuildRequires: python3-requests-mock
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
BuildRequires: python3-stestr
BuildRequires: python3-stevedore
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
Requires: python-PyYAML >= 3.12
Requires: python-appdirs >= 1.3.0
Requires: python-decorator >= 3.4.0
Requires: python-deprecation >= 1.0
@@ -93,16 +89,16 @@ 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.3.0
Requires: python-keystoneauth1 >= 3.8.0
Requires: python-munch >= 2.1.0
Requires: python-netifaces >= 0.10.4
Requires: python-os-service-types >= 1.1.0
Requires: python-os-service-types >= 1.2.0
Requires: python-requestsexceptions >= 1.2.0
Requires: python-six >= 1.10.0
BuildArch: noarch
%ifpython2
Requires: python-futures >= 3.0.0
Requires: python-ipaddress >= 1.0.16
Requires: python-ipaddress >= 1.0.17
%endif
%if 0%{?suse_version}
Requires(post): update-alternatives
@@ -115,28 +111,31 @@ Requires(postun): chkconfig
%python_subpackages
%description
The python-openstacksdk is a collection of libraries for building
applications to work with OpenStack clouds. The project aims to
provide a consistent and complete set of interactions with OpenStack's
many services, along with complete documentation, examples, and tools.
The openstacksdk is a library for building applications to work
with OpenStack clouds.
The project aims to provide a consistent and complete set of
interactions with OpenStack's many services, along with complete
documentation, examples, and tools.
%package -n python-openstacksdk-doc
Summary: %{summary} - Documentation
Group: Documentation/HTML
BuildRequires: python-Sphinx
BuildRequires: python-openstackdocstheme >= 1.18.1
BuildRequires: python-openstackdocstheme
Requires: %{name} = %{version}
%description -n python-openstacksdk-doc
The python-openstacksdk is a collection of libraries for building
applications to work with OpenStack clouds. The project aims to
provide a consistent and complete set of interactions with OpenStack's
many services, along with complete documentation, examples, and tools.
The openstacksdk is a library for building applications to work
with OpenStack clouds.
The project aims to provide a consistent and complete set of
interactions with OpenStack's many services, along with complete
documentation, examples, and tools.
This package contains documentation files for %{name}.
The openstacksdk is a collection of libraries for building
applications to work with OpenStack clouds.
%prep
%autosetup -p1 -n openstacksdk-0.11.3
%autosetup -p1 -n openstacksdk-0.17.2
%py_req_cleanup
sed -i -e 's,coverage.*,,' test-requirements.txt || true
sed -i -e "s,'sphinx.ext.intersphinx'\,,," doc/source/conf.py
@@ -145,8 +144,7 @@ sed -i 's/^warning-is-error.*/warning-is-error=0/g' setup.cfg
%build
%python_build
export PYTHONPATH=.
%{__python2} setup.py build_sphinx
PBR_VERSION=0.17.2 sphinx-build -b html doc/source doc/build/html
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
@@ -160,9 +158,8 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%python_uninstall_alternative openstack-inventory
%check
%{python_expand rm -rf .testrepository
stestr run
}
export OS_LOG_CAPTURE=true
%python_exec -m stestr.cli run
%files %{python_files}
%license LICENSE