#4 Update to the latest stable release, 0.33.0
Closed 2 years ago by jpena. Opened 4 years ago by dmsimard.
rpms/ dmsimard/python-openstacksdk master  into  rawhide

file modified
+1
@@ -6,3 +6,4 @@ 

  /openstacksdk-0.11.3.tar.gz

  /openstacksdk-0.12.0.tar.gz

  /openstacksdk-0.27.0.tar.gz

+ /openstacksdk-0.33.0.tar.gz

file modified
+6 -2
@@ -14,8 +14,8 @@ 

  clouds - test files

  

  Name:           python-%{pypi_name}

- Version:        0.27.0

- Release:        2%{?dist}

+ Version:        0.33.0

+ Release:        1%{?dist}

  Summary:        An SDK for building applications to work with OpenStack

  

  License:        ASL 2.0
@@ -49,6 +49,7 @@ 

  BuildRequires:  python3-jsonpatch >= 1.16

  BuildRequires:  python3-subunit

  BuildRequires:  python3-oslotest

+ BuildRequires:  python3-oslo-config

  BuildRequires:  python3-stestr

  BuildRequires:  python3-mock

  BuildRequires:  python3-requests-mock
@@ -143,6 +144,9 @@ 

  %{python3_sitelib}/openstack/tests

  

  %changelog

+ * Mon Aug 12 2019 David Moreau-Simard <dmsimard@redhat.com> 0.33.0-1

+ - Update to 0.33.0

+ 

  * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.0-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (openstacksdk-0.27.0.tar.gz) = 3eb2b26dfa37713967d533b66abb27ac107524bc48c5fa7d475fbcc58291e7531518226acdb1e0c20537a24fc6008e287545d61b40e3f1104c80a04df014d566

+ SHA512 (openstacksdk-0.33.0.tar.gz) = 4b1ad2b2e9032cc5a28730db52f590eda03eba010469e32b5df0210c321adcf995ea166e451e506f6470997daade7d4c134810cf8a87458c73206409a256bb2d

This is the release from upstream Train, which is not released yet and current policy is to update all OpenStack clients and libs in all Fedora release when upstream OpenStack is released, hence 0.27, latest in Stein: https://releases.openstack.org/stein/index.html#stein-openstacksdk

Let's discuss updating Rawhide to the upstream release under development, due to deps we'll need to update all of them at once.
I've added it to the agenda https://etherpad.openstack.org/p/RDO-Meeting

:thumbsdown:
missing deps:
File "/builddir/build/BUILD/openstacksdk-0.33.0/openstack/tests/unit/test_stats.py", line 26, in <module>
import prometheus_client
ModuleNotFoundError: No module named 'prometheus_client'

Current policy for fedora is to build clients and libs from latest released OpenStack version, currently Stein. I'm inclined to keep it as-is, moving to last builds from release in development would require some degree of automation to keep it updated and mixing libraries between releases (stein+train) is not tested or supported upstream.

@dmsimard I guess you need this version as a dependency for some other package?

@apevec

👎
missing deps:
File "/builddir/build/BUILD/openstacksdk-0.33.0/openstack/tests/unit/test_stats.py", line 26, in <module>
import prometheus_client
ModuleNotFoundError: No module named 'prometheus_client'

Saw this only later because the scratch build was taking too long to start :)

Current policy for fedora is to build clients and libs from latest released OpenStack version, currently Stein. I'm inclined to keep it as-is, moving to last builds from release in development would require some degree of automation to keep it updated and mixing libraries between releases (stein+train) is not tested or supported upstream.
dmsimard I guess you need this version as a dependency for some other package?

@amoralej openstacksdk 0.13 that ships in Fedora 30 yields an exception from a simple network creation with the OpenStack Ansible modules:

DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    Traceback (most recent call last):
      File "<stdin>", line 114, in <module>
      File "<stdin>", line 106, in _ansiballz_main
      File "<stdin>", line 49, in invoke_module
      File "/usr/lib64/python3.7/imp.py", line 234, in load_module
        return load_source(name, filename, file)
      File "/usr/lib64/python3.7/imp.py", line 169, in load_source
        module = _exec(spec, sys.modules[name])
      File "<frozen importlib._bootstrap>", line 630, in _exec
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/tmp/ansible_os_network_payload_8gkn19m1/__main__.py", line 232, in <module>
      File "/tmp/ansible_os_network_payload_8gkn19m1/__main__.py", line 214, in main
    TypeError: create_network() got an unexpected keyword argument 'port_security_enabled'

0.27 (from rawhide) actually gets us past that point but we are still early and I wanted to put this up so we had something to test with.

Plan was to have latest stable OpenStack (currently Stein) in all current stable Fedora releases, so 0.27 should be pushed to F30 and F29, as a part of group Bodhi update since there are updated Oslo deps.

yes, if rawhide packages are fine, we could update F30. For F29 can be more complicated as it still includes python2 subpackages which are not in the rawhide packages, IIRC.

We are in a far newer version, closing this old PR.

Pull-Request has been closed by jpena

2 years ago