pip is affected by wheel stripping PEP-508 markers #4614
Labels
auto-locked
Outdated issues that have been locked by automation
C: cache
Dealing with cache and files in it
type: bug
A confirmed bug or unintended behavior
Description:
Installing the attached package (actually via a private devpi repository) using pip works on the first attempt but fails on the second. This is actually a bug in wheel that we misattributed to pip. However, as only pip is called I think it inherits this bug and it should be tracked here.
What I've run:
The first installation (from local file as well as from devpi repository) works fine:
But pip will automatically use the wheel that it generated itself (using
python setup.py bdist_wheel
) and this will fail:The mean thing here is that it appears that pip does something wrong when caching the builds. We mistraced this at first, dropping the pip cache on our build machines as it seemed to repair this.
The next build of course failed again after one build reintroduced the package into the wheel cache.
Here is the example package I used for reproducing:
issue-env-markers-wheel-17.10.tar.gz
Upstream bug report:
The underlying problem appears to be in the wheel package:
https://bitbucket.org/pypa/wheel/issues/181/bdist_wheel-silently-discards-pep-508#comment-38120755
I think it is worthwhile to have this ticket here as a reminder and a link because wheel is much less visible than pip and I actually spent half an hour for tracing this.
The text was updated successfully, but these errors were encountered: