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
pkg_resources.find_on_path() thinks the zc.recipe.egg wheel is an egg #462
Comments
Original comment by iElectric (Bitbucket: iElectric, GitHub: Unknown): I've tried that and zc.recipe.egg will still claim to be unsupported wheel. |
Original comment by iElectric (Bitbucket: iElectric, GitHub: Unknown): Note that it occurs at multiple places:
|
The |
@jaraco Would updating just a bunch of conditionals be enough to fix this? |
Do not assume a directory named in `.egg` is an egg, unless it has an actual egg metadata directory. Closes pypa#462
Would appreciate reviewers for #1116, which I'm proposing to fix this issue. |
Do not assume a directory named in `.egg` is an egg, unless it has an actual egg metadata directory. Closes pypa#462
Do not assume a directory named in `.egg` is an egg, unless it has an actual egg metadata directory. Closes pypa#462
I think this issue was auto-closed due to #1116 merging. I suggest keeping it open until pip revendors the latest setuptools. |
Sorry, nevermind. Confused this with the related pip issue |
Originally reported by: mgedmin (Bitbucket: mgedmin, GitHub: mgedmin)
Steps to reproduce: try to
pip install zc.recipe.egg
. You'll get an error:If you hack pip's sources to expose the real traceback, you'll see this:
AFAIU the problem is the following check in pkg_resources.find_on_path():
This is wrong: the unpacked zc.recipe.egg wheel has a top-level directory called
zc.recipe.egg
.See pypa/pip#3028 for more background.
The text was updated successfully, but these errors were encountered: