1
0

5 Commits

Author SHA256 Message Date
3da3457410 Accepting request 1316890 from Cloud:OpenStack:Factory
- update to 4.7.1:
  * image: Provide default import method
  * Remove dib-nodepool-functional-openstack-ubuntu-noble-src
  * Update TOX\_CONSTRAINTS\_FILE for stable/2025.2
  * Update .gitreview for stable/2025.2
  * Add id to query\_mapping for Networking
  * Add SDK support for \`\`glance image-tasks\`\`
  * tests: Use binary mode to open files
  * Replace CLA with DCO
  * tests: Cleanup volume attachment tests
  * tests: Streamline services functional test
  * tests: Streamline servers functional test
  * tests: Streamline (compute) images test
  * tests: Streamline hypervisor test
  * tests: Streamline flavor test
  * Remove commented out sections
  * create\_image: support other import methods
  * resource: add max\_items parameter to resource
  * Fix hostname attribute withing request body
  * Increase swap allocation for devstack-networking
  * Allow filtering of volumes by properties
  * Fix Volume.set\_image\_metadata
  * Remove loop variable
  * Fix create\_volume\_snapshot() description
  * Remove duplicate Python version declarations
  * Migrate setup configuration to pyproject.toml
  * zuul: Make openstacksdk-functional-devstack-masakari voting
  * zuul: Make openstacksdk-functional-devstack-ironic voting
  * Clean small nit comment
  * Bump python version from 3.9 to 3.13 in testing docs

OBS-URL: https://build.opensuse.org/request/show/1316890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-openstacksdk?expand=0&rev=25
2025-11-10 18:18:24 +00:00
cc9bc89875 OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=71 2025-11-10 09:18:32 +00:00
a7914d841e OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=70 2025-11-09 17:09:18 +00:00
c2b1d7ff58 OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=69 2025-11-09 16:27:31 +00:00
64c636f20c - update to 4.7.1:
* image: Provide default import method
  * Remove dib-nodepool-functional-openstack-ubuntu-noble-src
  * Update TOX\_CONSTRAINTS\_FILE for stable/2025.2
  * Update .gitreview for stable/2025.2
  * Add id to query\_mapping for Networking
  * Add SDK support for \`\`glance image-tasks\`\`
  * tests: Use binary mode to open files
  * Replace CLA with DCO
  * tests: Cleanup volume attachment tests
  * tests: Streamline services functional test
  * tests: Streamline servers functional test
  * tests: Streamline (compute) images test
  * tests: Streamline hypervisor test
  * tests: Streamline flavor test
  * Remove commented out sections
  * create\_image: support other import methods
  * resource: add max\_items parameter to resource
  * Fix hostname attribute withing request body
  * Increase swap allocation for devstack-networking
  * Allow filtering of volumes by properties
  * Fix Volume.set\_image\_metadata
  * Remove loop variable
  * Fix create\_volume\_snapshot() description
  * Remove duplicate Python version declarations
  * Migrate setup configuration to pyproject.toml
  * zuul: Make openstacksdk-functional-devstack-masakari voting
  * zuul: Make openstacksdk-functional-devstack-ironic voting
  * Clean small nit comment
  * Bump python version from 3.9 to 3.13 in testing docs

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=68
2025-11-09 14:56:45 +00:00
5 changed files with 338 additions and 94 deletions

View File

@@ -1,12 +0,0 @@
<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

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23348aa69c6cc6c1ed0e8f03fb42b156519ed8cfcd143e783ef5c1dd800ad9f1
size 1297628

View File

@@ -1,3 +1,263 @@
-------------------------------------------------------------------
Sun Nov 9 13:11:28 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 4.7.1:
* image: Provide default import method
* Remove dib-nodepool-functional-openstack-ubuntu-noble-src
* Update TOX\_CONSTRAINTS\_FILE for stable/2025.2
* Update .gitreview for stable/2025.2
* Add id to query\_mapping for Networking
* Add SDK support for \`\`glance image-tasks\`\`
* tests: Use binary mode to open files
* Replace CLA with DCO
* tests: Cleanup volume attachment tests
* tests: Streamline services functional test
* tests: Streamline servers functional test
* tests: Streamline (compute) images test
* tests: Streamline hypervisor test
* tests: Streamline flavor test
* Remove commented out sections
* create\_image: support other import methods
* resource: add max\_items parameter to resource
* Fix hostname attribute withing request body
* Increase swap allocation for devstack-networking
* Allow filtering of volumes by properties
* Fix Volume.set\_image\_metadata
* Remove loop variable
* Fix create\_volume\_snapshot() description
* Remove duplicate Python version declarations
* Migrate setup configuration to pyproject.toml
* zuul: Make openstacksdk-functional-devstack-masakari voting
* zuul: Make openstacksdk-functional-devstack-ironic voting
* Clean small nit comment
* Bump python version from 3.9 to 3.13 in testing docs
* Add support for inspection rules
* Add backup export command
* docs: Fix typo
* typing: Annotate openstack.config.openstackcloud
* config: Handle interface list in
CloudRegion.get\_all\_version\_data
* typing: Annotate openstack.config.cloud\_config
* typing: Annotate openstack.config.loader
* typing: Annotate openstack.config.vendors
* typing: Annotate openstack.config.cloud\_region
* Add shared field to security-groups
* Update .git-blame-ignore-revs
* Follow-up: Add support for runbooks
* tests: Fix random failure
* typing: Annotate openstack.common
* pre-commit: Bump versions
* typing: Correct import
* volume: Add volume group replication actions
* volume: Add missing fields to Volume
* Bump Python version used for linters to 3.10
* Drop support for Python 3.9
* Replace deprecated datetime.datetime.utcnow
* Fix: Quota show defaults
* tests: Add tests for v2 volume transfer module
* Add listing of groups for a user
* typing: Correct types for fake generator
* volume: Add Transfer to volume v2 API
* pre-commit: Enable bandit checks
* Add virtual media attachment and detachment support
* Adding basic implementation for Accelerator attribute
resource
* Add os-extend\_volume\_completion volume action
* identity: Add functional tests for limits, registered limits
* baremetal: Add 'details' parameter to various 'find' proxy
methods
* Add support for spice-direct console types
* tests: Streamline keypair tests
* tests: Use correct cloud
* test: Use specific cloud in functional test
* typing: Annotate openstack.connection
* typing: Annotate openstack.proxy
* tests: Remove redundant \_set\_operator\_cloud calls
* volume: Add update\_snapshot to v2 API
* volume: Stop setting microversion for block storage v2
* volume: Add Snapshot.manage, unmanage to volume v2 API
* volume: Add backup metadata helpers
* volume: Use consistent reset\_\*\_state functions
* Adds support for the 'description' field in ports
* Add QoS packet rate limit rule object and CRUD operations
* zuul: Replace removed jobs
* Refactor loader magic fixes
* Define the correct QoS rules deletion method
* Indicate providers that are dead/unresponsive
* Fix argparse integration
* Refactor and expand loader backward compat tests
* Fix token-based auth loading from config
* Update master for stable/2025.1
* volume: Use force delete param when possible
* volume: Add support for cascaded deletions
* docs: Sort proxy docs alphabetically
* volume: Add Service to volume v2 API
* volume: Add service 'set-log', 'get-log' actions
* resource: Drop 'action' arg for '\_get\_microversion'
* resource: Make \_assert\_microversion\_for a classmethod
* Bump hacking in unit tests
* Fix DNS secondary zone creation
* Do not pin openstacksdk to master
* Bump compute max microversion to 2.100
* Support server unshelve to specific availability zone
* tests: Drop support for testing identity v2
* tests: Rename cloud name variables
* exceptions: Deprecate http\_status, request\_id params
* identity: Fix limit, registered limit creation
* proxy: Remove '\_check\_resource' decorator
* typing: Add (more) missing proxy arguments
* typing: Remove duplicate TypeVar
* typing: Don't abuse Proxy.\_update
* typing: Add missing proxy arguments
* cloud: Deprecate jmespath-style filters
* cloud: Add missing parameter docs
* cloud: Switch remaining compute functions to proxy
* identity: Extract info from created registered limit
* zuul: Make openstacksdk-functional-devstack-masakari voting
* zuul: Make openstacksdk-functional-devstack-manila voting
* deps: Bump minimum keystoneauth
* cloud: Switch remaining identity functions to proxy
* cloud: Replace use of cloud methods in identity cloud layer
* cloud: Switch remaining block storage functions to proxy
* cloud: Switch remaining image functions to proxy
* Fix baremetal get\_node\_console
* typing: Adapt to typed keystoneauth
* network: Set If-Match header properly
* volume: Remove \_base\_proxy module
* typing: Annotate openstack.utils
* typing: Annotate openstack.exceptions
* typing: Don't rely on kwargs for \_translate\_response
* typing: Annotate openstack.fields (2/2)
* typing: Annotate openstack.fields (1/2)
* typing: Annotate openstack.format
* fields: Be more explicit in our conversion
* fields: Tweak \_convert\_type
* resource: Rework fields
* proxy: Add 'wait\_for\_\*' helpers to all proxy APIs
* typing: Annotate Resource.wait\_for\_\* utils
* mypy: Enable disallow\_incomplete\_defs
* mypy: Enable stricter mode
* mypy: Add keystoneauth1 as dependency
* mypy: Move configuration to pyproject.toml
* cloud: Remove object container cache
* pre-commit: Bump versions
* pre-commit: Prepare for bump
* Support streaming download of the image
* Correct docstrings for multiple find\_\* methods
* cloud floating ip: fix add\_ip\_list() for single ip
* Add "vlan\_qinq" attribute to the "network" resource
* Fix TestKeypairAdmin tests and compute.\*\_keypair
* BGP: remove debug print added in [1]
* dns: Add zone nameservers support
* Skip add\_tags test when tag-creation extension disabled
* identity: Add support for endpoint/project associations
* identity: Add support for project endpoints
* identity: Extract info from created limit
* compute: Use security group name or ID
* docs: Update authentication configuration examples
* Replace netifaces library
* Skip disabling compute service
* Remove reference to removed nova services
* Fix swift metadata setting documentation
* Add port bindings to SDK
* reno: Update master for unmaintained/2023.1
* identity: Add tags, options to Domain
* pre-commit: Migrate pyupgrade to ruff-format
* pre-commit: Bump versions
* Timing tests should use a threshold
* identity: Add support for endpoint projects
* doc: Add multiple examples of authentication configuration
* block storage: Add user\_id query param for Volume
* compute: Add additional migration parameters
* identity: Add functional tests for projects
* Add method to create network resource tags
* Skip disabling compute service
* Fix missing 'f' prefix in exception message
* Identity: Support assigning inherited roles
* Add options property to User
* Add functional test for tags in Neutron resources
* Add \`\`trunk\_details\`\` to \`\`ports\`\` resource
* compute: Add locked filter for Server
* Add TSIG key support for DNS zones in SDK
* Fix volume backup restore response
* Avoid race condition between rule removal and share deletion
in tearDown
* Add getting info about the Limit in a DNS SDK
* Add support for default volume types
* tox: Fix functional tests
* cloud: Don't raise error on missing domain
* Deprecate unnecessary options, aliases
* Add "trusted" attribute to "port" resource
* Add create, delete, find, list and UPDATE example connect
code
* cloud: Stop reimplementing ignore\_missing=False
* cloud: Consistently set 'ignore\_missing' arguments
* pre-commit: Bump versions
* compute, volume: Tweak 'update\_quota\_set' compat shim
* Identity: Support \`options\` property for roles
* Add getting the status of the services in designate system
* tests: Add functional tests for block storage quotas
* Fix internal error when floating ip network is not found by
name
* tests: Add helpers to create, delete temp projects
* tests: Migrate quota tests to use a new project
* compute: Add support for targeting host during migrate
* Followup to I0e5ac1288c0d0423fa3a7a4e63173675b78aae79
* Return payload as text only for text/plain secrets
* Add timeline for removal of deprecated features
* Do not create a class in runtime on a potentially hot path
* cloud: Deprecate passing dicts
* cloud: Re-add support for passing objects
* Fix volume summary passing non-existent all\_projects
* Update master for stable/2024.2
* stack event loops: handle get None result
* pre-commit: Bump mypy
* Remove unexpected Resource.update overrides
* Fix override of ShareAccessRule.delete
* pre-commit: Migrate from black to ruff format
* trivial: Remove unnecessary trailing comma
* pre-commit: Migrate from flake8 to ruff
* pre-commit: Bump versions
* Add support for the runbooks feature
* config: Minimal validation of config files
* Deprecate 'use\_direct\_get' parameter
* Support server unshelve to specific host
* Remove redundant code
* mypy: Run under minimum Python version
* Drop support for Python 3.8
* Drop support for Python 3.7
* Add Python 3.12 classifier
* image: Check path is a file before attempting to use it
(redux)
* Fix parameter name clashing in resource lock query
* mypy: Enable checks for openstack.tests.functional
* tests: Remove TestClustering functional tests
* mypy: Enable checks for openstack.cloud
* cloud: Combine networking-related classes
* cloud: Misc type fixes
* cloud: Reorganize \_OpenStackCloudMixin, Connection (2/2)
* cloud: Reorganize \_OpenStackCloudMixin, Connection (1/2)
* Added missing stack documentation and rewrite stack proxy
document
* cloud: Make service mixins subclass \_OpenStackCloudMixin
* cloud: Make \_OpenStackCloudMixin subclass ServicesMixin
* mypy: Enable checks for openstack.tests.fixtures
* cloud: Fix annotations for proxy method
* cloud: Remove check for nova extensions
* pre-commit: Bump versions
* cloud: Replace reference to removed variable
* BGP: return list for get\_dragents and
get\_bgp\_speakers\_hosted\_by\_dragent
* block storage: Add missing 'find\_type' proxy API to v2
* block storage: Add 'set\_readonly' action to v2
* Cast all header values to string
* Allow to override \_max\_microversion for Volume.\_action
function
* baremetal: Enhance VIF attachment with port and portgroup
UUIDs
* block\_storage: Add support for project\_id in Limits
- switch to singlespec
-------------------------------------------------------------------
Mon Sep 2 17:35:16 UTC 2024 - cloud-devel@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-openstacksdk
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,73 +17,66 @@
Name: python-openstacksdk
Version: 3.3.0
Version: 4.7.1
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
Source0: https://files.pythonhosted.org/packages/source/o/openstacksdk/openstacksdk-%{version}.tar.gz
BuildRequires: %{python_module PyYAML >= 3.13}
BuildRequires: %{python_module appdirs}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module ddt}
BuildRequires: %{python_module decorator >= 4.4.1}
BuildRequires: %{python_module deprecation}
BuildRequires: %{python_module dogpile.cache >= 0.6.5}
BuildRequires: %{python_module extras}
BuildRequires: %{python_module fixtures}
BuildRequires: %{python_module jmespath >= 0.9.0}
BuildRequires: %{python_module jsonpatch >= 1.16}
BuildRequires: %{python_module jsonschema}
BuildRequires: %{python_module keystoneauth1 >= 5.12.0}
BuildRequires: %{python_module munch}
BuildRequires: %{python_module netifaces >= 0.10.4}
BuildRequires: %{python_module os-service-types >= 1.8.0}
BuildRequires: %{python_module oslo.config}
BuildRequires: %{python_module oslotest}
BuildRequires: %{python_module pbr >= 2.0.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module platformdirs >= 3}
BuildRequires: %{python_module prometheus_client}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module python-subunit}
BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module requestsexceptions >= 1.2.0}
BuildRequires: %{python_module statsd}
BuildRequires: %{python_module stestr}
BuildRequires: %{python_module stevedore}
BuildRequires: %{python_module testscenarios}
BuildRequires: %{python_module testtools}
BuildRequires: %{python_module wheel}
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
Requires: python-PyYAML >= 3.13
Requires: python-appdirs
Requires: python-cryptography >= 2.7
Requires: python-decorator >= 4.4.1
Requires: python-dogpile.cache >= 0.6.5
Requires: python-iso8601 >= 0.1.11
Requires: python-jmespath >= 0.9.0
Requires: python-jsonpatch >= 1.16
Requires: python-keystoneauth1 >= 5.12.0
Requires: python-munch
Requires: python-netifaces >= 0.10.4
Requires: python-os-service-types >= 1.8.0
Requires: python-platformdirs >= 3
Requires: python-psutil
Requires: python-requestsexceptions >= 1.2.0
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
%if "python%{python_nodots_ver}" == "%{primary_python}"
Obsoletes: python3-openstacksdk < %{version}
%else
Conflicts: python3-openstacksdk < %{version}
%endif
%if 0%{?suse_version}
%if 0%{?sle_version} >= 150000 || 0%{?suse_version} > 1500
@@ -94,16 +87,15 @@ Requires: genisoimage
%else
Requires: genisoimage
%endif
%python_subpackages
%description -n python3-openstacksdk
%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.
This package contains the Python 3.x module
%package -n python-openstacksdk-doc
Summary: %{summary} - Documentation
Group: Documentation/HTML
@@ -122,35 +114,39 @@ 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
%autosetup -p1 -n openstacksdk-%{version}
%build
%py3_build
PBR_VERSION=3.3.0 %sphinx_build -b html doc/source doc/build/html
%pyproject_wheel
PBR_VERSION=%{version} sphinx-build -b html doc/source doc/build/html
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
%py3_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/openstack-inventory
%pre
%python_libalternatives_reset_alternative openstack-inventory
%post
%python_install_alternative openstack-inventory
%postun
%python_uninstall_alternative openstack-inventory
%check
export OS_LOG_CAPTURE=true
export OS_TEST_TIMEOUT=30
rm -v openstack/tests/unit/test_hacking.py
rm -v openstack/tests/unit/test_utils.py
%{openstack_stestr_run}
%files -n python3-openstacksdk
%files %{python_files}
%license LICENSE
%doc ChangeLog README.rst
%{_bindir}/openstack-inventory
%{python3_sitelib}/openstack
%{python3_sitelib}/*.egg-info
%python_alternative %{_bindir}/openstack-inventory
%{python_sitelib}/openstack
%{python_sitelib}/openstacksdk-%{version}.dist-info
%files -n python-openstacksdk-doc
%license LICENSE