-
-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle locking all direct reference URL forms. (#2060)
Previously, it was assumed that direct reference URLs were either VCS URLs or else wheel or sdist URLs. This neglected two remaining cases, both of which failed to lock with better or worse error messages. The two missed cases were: 1. URLs of source archives not conforming to the sdist quasi-standard naming convention of `<project name>-<version>.{.tar.gz,.zip}`. 2. Local `file://` URLs pointing at project directories. A notable case of the 1st are project archives provided by GitHub. A notable need for the 2nd case comes from Pants where Pip proprietary requirement strings are not handled (e.g.: `/path/to/project`) and a direct reference URL must be used instead (e.g.: `projectname @ file:///path/to/project`). Fixes #2057
- Loading branch information
Showing
13 changed files
with
513 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.