-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate requirements format "base>=1.0[extra]"
This requirements format does not conform to PEP-508. Currently the extras specified like this work by accident (because _strip_extras() also parses them). The version checks end up being done with a misparsed version '1.0[extra]' -- this is not changed in this commit. Add deprecation warning and fix the corresponding resolver test. Add a command line test. Note that we really only check that the Requirement has SpecifierSet with a specifier that ends in a ']'. A valid version number cannot contain ']' and no wheels currently on pypi have versions ending in ']'.
- Loading branch information
Jussi Kukkonen
committed
Jul 13, 2020
1 parent
8bf5731
commit 76b20d7
Showing
4 changed files
with
60 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add deprecation warning for invalid requirements format "base>=1.0[extra]" |
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