question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip wheel installer doesn't like case-sensitive extra requirements.

See original GitHub issue

I have a package that uses some extra requirements with mixed-case identifiers.

When I install the wheel from PyPI via pip install aiomas[MsgPack], the extra requirements don’t get installed.

It works when I install the source dist via pip install --no-use-wheel aiomas[MsgPack] or from source via pip install -e .[MsgPack].

I have:

  • pip 6.0.8
  • setuptools 12.0.5

Maybe it’s a problem with case-(in)sensitivity?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dstufftcommented, Mar 30, 2017

Closing this, I can’t reproduce this. If you’re still having issues please open a new issue with reproduction steps.

0reactions
wcooleycommented, Jun 28, 2016

@dholth Would that help in this case? The problem is with the extras requested from the command-line.

A quick fix would be to run the extras through pkg_resources.safe_extra; attached is a completely untested patch as demonstration. pip-req_set-2518.patch.txt

A more thorough patch would include additional tests and probably examine the other use of .extras in add_requirement, around line 255.

A better fix would be to refactor _prepare_file; at ~250 lines, it’s way too long. The extras processing itself could easily be extracted as it needs only dist and req_to_install.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Case sensitive issue on Windows · Issue #3309 · pypa/pip
pip install pycrypto -> Installs pycrypto to 'Crypto', but because the fs on windows is case-insensitive, it installs to the already existing crypto....
Read more >
Pip case sensitivity - python - Stack Overflow
No, pip is not case sensitive. All comparisons of distribution names must be case insensitive, and must consider hyphens ...
Read more >
PyPi Package Registry is case sensitive (#244412) - GitLab
PEP 426 states: All comparisons of distribution names MUST be case insensitive, and MUST consider hyphens and underscores to be equivalent.
Read more >
Packaging and distributing projects
This section covers some additional details on configuring, packaging and distributing Python ... Comparison of project names is case insensitive and treats ...
Read more >
Is PIP/PyPI Case Sensitive? - Finxter
PyPI and PIP are not case-sensitive. Instead, Python package names are case-insensitive. For example, it doesn't matter whether you run pip install Pandas...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found