1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/tests/data/src
YAMAMOTO Takashi 742b9258d2 Normalize file URLs
It seems pip distinguishes paths with .. or extra / for constraints.
For example, the following directories are considered different.

    /path/to/dir
    /path/to//dir
    /path/to/dir/subdir/..

It can lead "Could not satisfy constraints for 'xxxx':
installation from path or url cannot be constrained to a version"
error, whose cause is not obvious to users. [1]

This commit tries to normalize the given directory name to avoid
the error.

[1] https://bugs.launchpad.net/devstack/+bug/1542545
2016-03-22 21:17:55 +09:00
..
chattymodule Merge pull request #3505 from njsmith/fix-verbose-subprocess-output 2016-02-24 23:15:21 +01:00
compilewheel Silence byte compile errors when installation succeed. 2014-08-21 16:40:02 +03:00
requires_simple build wheels for dependencies of editables 2014-05-03 10:12:57 -07:00
requires_simple_extra query installed requirements for extras 2014-06-25 22:45:28 -04:00
sample don't install empty dirs during wheel installs 2014-04-21 23:07:25 -07:00
simplewheel-1.0 when installing from wheel files, parse the filename to build the requirement 2014-05-25 21:00:39 -07:00
simplewheel-2.0 when installing from wheel files, parse the filename to build the requirement 2014-05-25 21:00:39 -07:00
singlemodule Normalize file URLs 2016-03-22 21:17:55 +09:00
TopoRequires move pkg src to the src dir 2015-04-01 16:37:15 -07:00
TopoRequires2 move pkg src to the src dir 2015-04-01 16:37:15 -07:00
TopoRequires3 move pkg src to the src dir 2015-04-01 16:37:15 -07:00
TopoRequires4 move pkg src to the src dir 2015-04-01 16:37:15 -07:00