New pip resolver breaks tox for some repos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Al Bailey |
Bug Description
The new pip resolver released on Dec 3 (and part of virtualenv released Dec 7) is aborting any time there is a violation for the requirements and the constraints.
The new resolver fails the setup phase.
enabling the legacy resolver will allow it to pass, but will also report the violations so they can be fixed.
This is a broader fix for the issues that are affecting the repos and are already reported in
https:/
https:/
Severity
--------
Major
Steps to Reproduce
------------------
cd stx/utilities
tox -e pylint
Expected Behavior
------------------
tox and zuul jobs should only fail if the new code causes them to fail, not when the same code that was working just randomly fails
Actual Behavior
----------------
tox and zuul jobs fail to setup their requirements.
Reproducibility
---------------
This will be seen every time on a system that is running a python3 tox job has a new virtualenv 20.2.2 installed
A developer can update their virtualenv to that virtualenv (like what zuuul is using) by running
python -m pip install virtualenv==20.2.2
System Configuration
-------
Development (zuul)
Branch/Pull Time/Commit
-------
Observed in a failed zuul report on Dec 9
Last Pass
---------
Passed prior to Dec 3
Timestamp/Logs
--------------
Running pylint for stx/utilities reports
astroid 2.3.3 requires typed-ast<
boto3 1.16.33 requires botocore<
sysinv 4.0.0.0rc1.dev170 requires Django<2,>=1.11.20, but you'll have django 2.0.13 which is incompatible.
sysinv 4.0.0.0rc1.dev170 requires eventlet==0.20.0, but you'll have eventlet 0.24.1 which is incompatible.
Test Activity
-------------
[Sanity, Feature Testing, Regression Testing, Developer Testing, Evaluation, Other - Please specify]
Workaround
add the following to the install_command in tox.ini for the area that is failing:
--use-deprecated legacy-resolver
Note: I plan to audit all the repos.
CVE References
Changed in starlingx: | |
assignee: | nobody → Al Bailey (albailey1974) |
tags: | added: stx.zuul |
Changed in starlingx: | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: stx.5.0 |
Changed in starlingx: | |
status: | Triaged → Fix Committed |
Changed in starlingx: | |
status: | Fix Committed → Fix Released |
stx/utilities fix is /review. opendev. org/c/starlingx /utilities/ +/766870
https:/
stx/config (sysinv) fix is: /review. opendev. org/c/starlingx /config/ +/766645
https:/