-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Installing a wheel may fail due to case sensitivity on Windows #1350
Comments
wiggin15
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 13, 2018
package_name is read from the filename, which can be case-insensitive (on Windows). zipfile is case-sensitive, so trying to read the dist-info from it can fail if the filename case does not match the project name case. Extracting the files first allows us to read dist-info from the filesystem, which is also case insensitive on Windows. Fixes issue pypa#1350
wiggin15
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 14, 2018
package_name is read from the filename, which can be case-insensitive (on Windows). zipfile is case-sensitive, so trying to read the dist-info from it can fail if the filename case does not match the project name case. Extracting the files first allows us to read dist-info from the filesystem, which is also case insensitive on Windows. Fixes issue pypa#1350
wiggin15
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 14, 2018
wiggin15
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 14, 2018
wiggin15
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 14, 2018
wiggin15
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 15, 2018
wiggin15
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 15, 2018
wiggin15
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 15, 2018
pganssle
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 15, 2018
wiggin15
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 16, 2018
wiggin15
pushed a commit
to Infinidat/setuptools
that referenced
this issue
May 16, 2018
This was fixed by #1360. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to install a package with wrong letter case (on Windows) causes the installation to fail. For example, "Logbook" is a package that is registered with a capital "L", but on Windows we can try to install its whl file with a lower-case "L". This makes "easy_install" fail, like this:
The whl file contains a directory called "Logbook-1.3.3.dist-info" (case sensitive).
pip installs the wheel file successfully.
System information: Windows Server 2012 64-bit, Python 2.7.8, setuptools 39.1.0 and "wheel" 0.31.0
The text was updated successfully, but these errors were encountered: