You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.
Oddly when changing our recipe to do a fresh install of pex 1.28 instead of 1.26 our ami_spec tests started failing. After flailing around for a while (the ami_spec output is terrible) I finally discovered that the version of wheel that was getting installed somehow ended up as 0.29.0 instead of the 0.30.0 requested.
python_runtime '2' do
pip_version true
setuptools_version true
virtualenv_version '15.1.0'
wheel_version '0.30.0'
end
python_package 'pex' do
version '1.2.8'
end
# At this point the unit tests asserting `pex==1.28` pass, but `wheel==0.30.0` fails.
# This is what I added based on issue #62's suggestion and it *works* but is painful
python_package 'wheel' do
version '0.30.0'
action :upgrade
end
I'm not sure how/why it is getting downgraded, but it seems like the version we specified either never gets installed or gets dragged down which doesn't seem like how pip is supposed to behave either, if the requirement is there is should use the existing not perform a downgrade.
The text was updated successfully, but these errors were encountered:
I think I figured out the issue, we've pulled in python_runtime '2' a few places in our cookbooks, and one of the other instances had wheel_version true rather than a specific version, resulting in any checks that only look for the existence and not the version to pass. I'll dig in a little more and see if I can confirm that.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Oddly when changing our recipe to do a fresh install of
pex
1.28 instead of 1.26 ourami_spec
tests started failing. After flailing around for a while (the ami_spec output is terrible) I finally discovered that the version of wheel that was getting installed somehow ended up as 0.29.0 instead of the 0.30.0 requested.I'm not sure how/why it is getting downgraded, but it seems like the version we specified either never gets installed or gets dragged down which doesn't seem like how pip is supposed to behave either, if the requirement is there is should use the existing not perform a downgrade.
The text was updated successfully, but these errors were encountered: