summaryrefslogtreecommitdiff
path: root/src/pip/_internal/utils/direct_url_helpers.py
Commit message (Collapse)AuthorAgeFilesLines
* Add PEP 660 support (build_editable)Stéphane Bidoul2021-09-281-0/+8
|
* Complete the annotations: `pip/_internal/utils` (#10159)Diego Ramirez2021-07-231-4/+4
| | | Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
* Remove pkg_resources usage in direct_url_helperTzu-ping Chung2021-07-221-39/+1
|
* Blacken src/pip/_internal/utils directoryJon Dufresne2021-02-211-3/+3
|
* Remove typing.TYPE_CHECKING guardsJon Dufresne2021-02-191-8/+4
| | | | | | | | | | | The typing module has been available since Python 3.5. Guarding the import has been unnecessary since dropping Python 2. Some guards remain to either: - Avoid circular imports - Importing objects that are also guarded by typing.TYPE_CHECKING - Avoid mypy_extensions dependency
* Replace pip._internal.utils.typing with stdlib typingJon Dufresne2021-02-181-2/+2
| | | | | | | | The stdlib module has been available since Python 3.5 and the TYPE_CHECKING constant has been available since 3.5.2. By using stdlib, this removes the need for pip to maintain its own Python 2 typing compatibility shim.
* Merge pull request #9361 from jdufresne/f-stringsPradyun Gedam2020-12-261-1/+1
|\ | | | | Use f-strings for simple string formatting
| * Use f-strings for simple string formattingJon Dufresne2020-12-251-1/+1
| | | | | | | | | | | | | | Use pyupgrade to convert simple string formatting to use f-string syntax. pyupgrade is intentionally timid and will not create an f-string if it would make the expression longer or if the substitution parameters are anything but simple names or dotted names.
* | Remove Python 2 compatibility shim for json.JSONDecodeErrorJon Dufresne2020-12-251-7/+2
|/ | | | | | JSONDecodeError has been available since Python 3.5. https://docs.python.org/3/library/json.html#json.JSONDecodeError
* Avoid AssertionError in pip freeze with editable direct URLsStéphane Bidoul2020-10-251-4/+0
|
* Update linter: isortPradyun Gedam2020-09-231-2/+2
|
* Add helper to get DirectUrl metadata from DistrributionStéphane Bidoul2020-04-011-0/+41
|
* Add helper to create a DirectUrl from a LinkStéphane Bidoul2020-04-011-0/+55
|
* Add helper to convert DirectUrl to PEP 440 direct referenceStéphane Bidoul2020-04-011-0/+34