1
0

- update to version 3.3.0

- baremetal: Decode 'config_drive' argument to 'set_provision_state'
  - cloud: Trivial fixes
  - Add Tap Mirrors to SDK
  - Allow project switching for Designate API
  - tox: Don't install package in pep8
  - image: Pass correct stores argument
  - compute: Add Server.clear_password action
  - Remove retired project Senlin job
  - Allow tags to be passed through to compute.create_server
  - docs: Add missing identity v3 proxy API docs
  - compute, block storage: Minor fixes to limits
  - compute: Add additional options to Server.rebuild
  - compute: Correct base path for default, detailed quotas
  - reno: Update master for unmaintained/zed
  - compute: Add additional server create parameters
  - compute, block storage: Add support for quota class sets
  - compute, volume: Improve 'update_quota_set'
  - pre-commit: Add pyupgrade hook
  - Fix multiple image_id query mappings
  - Combine 3 auto_allocated_topology tests into one test
  - compute: Add support for legacy 'onSharedStorage' param
  - Adding SDK support for ``glance md-namespace-objects-delete``
  - baremetal: Adds list node firmware support
  - Add support for federation service providers
  - Fix AttributeError in delete_limit method
  - volume: Allow passing a volume type object to retype_volume
  - cloud: Remove use of OpenStackCloudCreateException
  - Run auto_allocated_topology functional tests in the own project
  - Use mypy syntax compatible with older pythons.

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=66
This commit is contained in:
2024-09-02 17:35:27 +00:00
committed by Git OBS Bridge
commit 658e45fd2a
7 changed files with 2370 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

12
_service Normal file
View File

@@ -0,0 +1,12 @@
<services>
<service mode="manual" name="renderspec">
<param name="input-template">https://opendev.org/openstack/rpm-packaging/raw/master/openstack/openstacksdk/openstacksdk.spec.j2</param>
<param name="output-name">python-openstacksdk.spec</param>
<param name="requirements">https://opendev.org/openstack/openstacksdk/raw/master/requirements.txt</param>
<param name="changelog-email">cloud-devel@suse.de</param>
<param name="changelog-provider">gh,openstack,openstacksdk</param>
</service>
<service mode="manual" name="download_files">
</service>
<service name="format_spec_file" mode="manual"/>
</services>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:707f15d7ec074ab2434b9a5e1984facab00f822d272f4c2a5de0d22a09eb79cd
size 1215965

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0608690ca37ca73327b0fa3761d17e65395be37ff200b8735d8f24277b4f4980
size 1229640

2169
python-openstacksdk.changes Normal file

File diff suppressed because it is too large Load Diff

159
python-openstacksdk.spec Normal file
View File

@@ -0,0 +1,159 @@
#
# spec file for package python-openstacksdk
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-openstacksdk
Version: 3.3.0
Release: 0
Summary: An SDK for building applications to work with OpenStack
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/openstacksdk
Source0: https://files.pythonhosted.org/packages/source/o/openstacksdk/openstacksdk-3.3.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-PyYAML >= 3.13
BuildRequires: python3-appdirs
BuildRequires: python3-beautifulsoup4
BuildRequires: python3-ddt
BuildRequires: python3-decorator >= 4.4.1
BuildRequires: python3-deprecation
BuildRequires: python3-dogpile.cache >= 0.6.5
BuildRequires: python3-extras
BuildRequires: python3-fixtures
BuildRequires: python3-jmespath >= 0.9.0
BuildRequires: python3-jsonpatch >= 1.16
BuildRequires: python3-jsonschema
BuildRequires: python3-keystoneauth1 >= 3.18.0
BuildRequires: python3-munch
BuildRequires: python3-netifaces >= 0.10.4
BuildRequires: python3-os-service-types >= 1.7.0
BuildRequires: python3-oslo.config
BuildRequires: python3-oslotest
BuildRequires: python3-pbr >= 2.0.0
BuildRequires: python3-platformdirs >= 3
BuildRequires: python3-python-subunit
BuildRequires: python3-requests-mock
BuildRequires: python3-requestsexceptions >= 1.2.0
BuildRequires: python3-statsd
BuildRequires: python3-stestr
BuildRequires: python3-stevedore
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
BuildArch: noarch
%if 0%{?suse_version}
# RDO does not package prometheus_client
BuildRequires: python3-prometheus_client
%endif
%description
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 python3-openstacksdk
Summary: An SDK for building applications to work with OpenStack
Requires: python3-PyYAML >= 3.13
Requires: python3-appdirs
Requires: python3-cryptography >= 2.7
Requires: python3-decorator >= 4.4.1
Requires: python3-dogpile.cache >= 0.6.5
Requires: python3-iso8601 >= 0.1.11
Requires: python3-jmespath >= 0.9.0
Requires: python3-jsonpatch >= 1.16
Requires: python3-keystoneauth1 >= 3.18.0
Requires: python3-munch
Requires: python3-netifaces >= 0.10.4
Requires: python3-os-service-types >= 1.7.0
Requires: python3-platformdirs >= 3
Requires: python3-requestsexceptions >= 1.2.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
Requires: genisoimage
%endif
%else
Requires: genisoimage
%endif
%description -n python3-openstacksdk
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 the Python 3.x module
%package -n python-openstacksdk-doc
Summary: %{summary} - Documentation
Group: Documentation/HTML
BuildRequires: python3-Sphinx
BuildRequires: python3-openstackdocstheme
BuildRequires: python3-sphinxcontrib-svg2pdfconverter
%description -n python-openstacksdk-doc
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.
The openstacksdk is a collection of libraries for building
applications to work with OpenStack clouds.
%prep
%autosetup -p1 -n openstacksdk-3.3.0
%py_req_cleanup
sed -i -e 's,coverage.*,,' test-requirements.txt || true
sed -i -e "s,'sphinx.ext.intersphinx'\,,," doc/source/conf.py
%if !0%{?suse_version}
# RDO does not package prometheus_client
rm openstack/tests/unit/test_stats.py
%endif
%build
%py3_build
PBR_VERSION=3.3.0 %sphinx_build -b html doc/source doc/build/html
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
%py3_install
%check
export OS_LOG_CAPTURE=true
export OS_TEST_TIMEOUT=30
rm -v openstack/tests/unit/test_hacking.py
%{openstack_stestr_run}
%files -n python3-openstacksdk
%license LICENSE
%doc ChangeLog README.rst
%{_bindir}/openstack-inventory
%{python3_sitelib}/openstack
%{python3_sitelib}/*.egg-info
%files -n python-openstacksdk-doc
%license LICENSE
%doc doc/build/html
%changelog