We are excited to announce the release of: openstacksdk 0.40.0: An SDK for building applications to work with OpenStack This release is part of the ussuri release series. The source is available from: https://opendev.org/openstack/openstacksdk Download the package from: https://pypi.org/project/openstacksdk Please report issues through: https://storyboard.openstack.org/#!/project/openstack/openstacksdk For more details, please see below. 0.40.0 ^^^^^^ Prelude ******* As of this release, python v2 is neither tested nor supported. New Features ************ * "qos_network_policy_id" attribute support has been added to the network port resource * Add support for creating image from STDIN (i.e. from OSC). When creating from STDIN however, no checksum verification is possible, and thus validate_checksum must be also set to False. Changes in openstacksdk 0.39.0..0.40.0 -------------------------------------- a5368985 Use the bifrost bionic CI job 37ec1758 "qos_network_policy_id" attribute added to port resource 4d0d078e Replace six.iteritems() with .items() 999e38cf Bump min version of decorator 16502c0e Fix bug in object storage container creation setting metadata 13c6bc2b Add reset_interfaces argument to patch_node 8caa5ea8 Fix duplicated words issue like "was not not found" c0745ea4 Handle HTTP errors in add/remove router interface calls 29de7af0 Add return cluster_id when query actions list 63fe02bf Support uploading image from data and stdin 94585b81 Switch stable ansible job to 2.8 3bebbd38 Remove extra python2 test jobs e9107c19 Stop supporting python2 57308719 Remove python2 from project-template fb8267a8 Add dns_publish_fixed_ip attribute to subnets fc0465ce Remove duplicate job definition Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 58 ++++----- lower-constraints.txt | 4 +- openstack/baremetal/v1/_proxy.py | 9 +- openstack/baremetal/v1/node.py | 34 ++++++ openstack/cloud/_baremetal.py | 2 +- openstack/cloud/_compute.py | 2 +- openstack/cloud/_network.py | 2 +- openstack/cloud/_object_store.py | 22 +++- openstack/cloud/_utils.py | 4 +- openstack/clustering/v1/_proxy.py | 2 +- openstack/clustering/v1/action.py | 2 + openstack/image/_base_proxy.py | 43 +++++-- openstack/image/v1/_proxy.py | 7 +- openstack/image/v1/image.py | 55 +++++++++ openstack/image/v2/_proxy.py | 17 ++- openstack/network/v2/port.py | 3 + openstack/network/v2/router.py | 28 +++-- openstack/network/v2/subnet.py | 4 +- openstack/object_store/v1/container.py | 4 +- openstack/resource.py | 8 +- .../notes/drop-python27-b824f9ce51cb1ab7.yaml | 3 + .../qos-port-network-policy-cab43faa0f8bc036.yaml | 5 + ...upport_stdin_image_upload-305c04fb2daeb32c.yaml | 4 + requirements.txt | 2 +- setup.cfg | 2 - test-requirements.txt | 2 +- tox.ini | 5 +- 37 files changed, 560 insertions(+), 123 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 90f88ae8..90a88c6e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14 +14 @@ munch>=2.1.0 # MIT -decorator>=3.4.0 # BSD +decorator>=4.4.1 # BSD diff --git a/test-requirements.txt b/test-requirements.txt index ce8b81d8..bbd29048 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11 +11 @@ jsonschema>=2.6.0 # MIT -mock>=2.0.0 # BSD +mock>=3.0.0 # BSD