stx/openstack-armada-app uses soon-to-be deprecated pip install --use-deprecated legacy-resolver

Bug #1966070 reported by Ghada Khalil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Douglas Lopes Pereira

Bug Description

Brief Description
-----------------
Opened on behalf of <email address hidden>

The pip team is planning to depreciate the '--use-deprecated legacy-resolver'
install option. While a firm date has yet to be set, We need to be ready for
the change.

Our usage seems to be confined to 'tox.ini' files. When the upstream pip change
change is delivered, we can expect.
- Build failures due to failed unit tests
- Zuul to vote -q on code reviews in some repos

This LP tracks addressing the issue with the following files:
cgcs-root/stx/openstack-armada-app/python-k8sapp-openstack/k8sapp_openstack/tox.ini

Severity
--------
Major:

Steps to Reproduce
------------------
Scan source code with ....
grep -r 'use-deprecated' $MY_REPO

Expected Behavior
------------------
Not found

Actual Behavior
----------------
Found 8 files using the offending option

Reproducibility
---------------
100%

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

Branch/Pull Time/Commit
-----------------------
March 9, 2022

Last Pass
---------
N/A

Timestamp/Logs
--------------
N/A

Test Activity
-------------
Build

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

Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.7.0 stx.distro.openstack stx.zuul
Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Douglas Lopes Pereira (douglaspereira)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-armada-app (master)
Changed in starlingx:
status: New → In Progress
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/+/835482
Committed: https://opendev.org/starlingx/openstack-armada-app/commit/d14bbb6500d000cb550b3db5e4fb329e6d81e0f2
Submitter: "Zuul (22348)"
Branch: master

commit d14bbb6500d000cb550b3db5e4fb329e6d81e0f2
Author: Thiago Brito <email address hidden>
Date: Mon Mar 28 15:05:36 2022 -0300

    Removing deprecated resolver on tox py39 job

    The pip team is planning to depreciate the '--use-deprecated
    legacy-resolver' install option. This commit removes the only occurrence
    of this legacy resolver on our tox files.

    Closes-Bug: #1966070

    Signed-off-by: Thiago Brito <email address hidden>
    Change-Id: I653851a096d06870deea4c25dffd26dd39d756ce

Changed in starlingx:
status: In Progress → Fix Released
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.