New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restrict setuptools on Python 2 to make CI work again #66405
Conversation
openshift | ||
|
||
# setuptools 45.0.0 no longer works with Python 2 | ||
setuptools<45.0.0 ; python_version < '3' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setuptools<45.0.0 ; python_version < '3' | |
setuptools<45; python_version < "3.0" | |
setuptools; python_version >= "3.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the first line.
Why should setuptools
also be specified for Python >= 3.0? The test needs openshift
; I only added setuptools
because somewhere in the dependencies of openshift
, a newer setuptools
is mentioned than is currently installed.
name: | ||
- distribute | ||
# setuptools 45.0.0 no longer works with Python 2 | ||
- setuptools<45.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- setuptools<45.0.0 | |
- setuptools<45; python_version < "3.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The task is contained in a block with when: ansible_python.version.major == 2
.
Closing in favor of #66426. |
SUMMARY
Fixes #66401.
ISSUE TYPE
COMPONENT NAME
test/integration/targets/pip/tasks/pip.yml
test/integration/targets/inventory_kubevirt_conformance/runme.sh