Open dragon788 opened 6 years ago
Please include a debug log from Chef, which shows what actual commands got run, that should help track things down.
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.
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.