stx-openstack: k8sapp-openstack-tox-py39 failing due lib issues

Bug #1988043 reported by Rafael Falcão
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Rafael Falcão

Bug Description

Brief Description
-----------------
k8sapp-openstack-tox-py39 zuul build fail due some out-to-date libs.

Severity
--------
Provide the severity of the defect.
Major

Steps to Reproduce
------------------
Create a review that modifies the python-k8sapp-openstack plugin

Expected Behavior
------------------
zuul build performs successfully

Actual Behavior
----------------
zuul build fails on k8sapp-openstack-tox-py39

Reproducibility
---------------
Reproducible

System Configuration
--------------------
N/A

Timestamp/Logs

ack/test-requirements.txt (line 19)) to build tracker '/tmp/pip-build-tracker-dxn18543'
  Running setup.py (path:/tmp/pip-install-ohacsom9/ipaddr_259773baf5784a37a92ac50a432c1cd7/setup.py) egg_info for package ipaddr
  Created temporary directory: /tmp/pip-pip-egg-info-j05gdu3o
  Preparing metadata (setup.py): started
  Running command python setup.py egg_info
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/tmp/pip-install-ohacsom9/ipaddr_259773baf5784a37a92ac50a432c1cd7/setup.py", line 19, in <module>
      import ipaddr
    File "/tmp/pip-install-ohacsom9/ipaddr_259773baf5784a37a92ac50a432c1cd7/ipaddr.py", line 1450
      ip_int = 0L
                ^
  SyntaxError: invalid syntax
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1

--------------

The conflict is caused by:
    The user requested python-subunit>=0.0.18
    stestr 3.2.1 depends on python-subunit>=1.4.0

[...]

--------------

The conflict is caused by:
    The user requested PyYAML==3.13
    sysinv 4.0.0.0rc1.dev1499 depends on PyYAML>=3.10
    stestr 1.0.0 depends on PyYAML>=3.10.0
    oslo-config 8.3.3 depends on PyYAML>=3.12
    oslo-messaging 12.5.2 depends on PyYAML>=3.13
    kubernetes 24.2.0 depends on pyyaml>=5.4.1
[...]

--------------

Test Activity
-------------
Developer Testing

Workaround
----------
N/A

Changed in starlingx:
assignee: nobody → Rafael Falcão (rafaelvfalc)
Changed in starlingx:
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-armada-app (master)

Reviewed: https://review.opendev.org/c/starlingx/openstack-armada-app/+/855028
Committed: https://opendev.org/starlingx/openstack-armada-app/commit/0211e6e0e837603d7f79fa0ace3f0f585f666191
Submitter: "Zuul (22348)"
Branch: master

commit 0211e6e0e837603d7f79fa0ace3f0f585f666191
Author: Rafael Falcão <email address hidden>
Date: Mon Aug 29 10:07:22 2022 -0300

    Updating k8sapp_openstack related libs

    ipaddr has been superseded by ipaddress from the
    Python 3 standard library [1]. python-subunit and PyYAML
    updates was necessary due dependencies of internal
    libs.

    Test Plan:
    PASS - Build stx-openstack armada tarball (CentOS)
    PASS - Upload/apply/remove/delete stx-openstack app

    Closes-Bug: 1988043

    [1] https://pypi.org/project/ipaddr/

    Signed-off-by: Rafael Falcao <email address hidden>
    Change-Id: I02d29519a68483c728281a566e328043f5385d2c

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.8.0 stx.distro.openstack
Changed in starlingx:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.