Deepak Sharma
d31cf696e8
string_formatting
2020-01-30 20:33:00 +05:30
Chris Hunt
60f6ed9387
Move wheel.Wheel to models.wheel.Wheel
...
This aligns more closely with how the class is used and makes it easier
to move the rest of the wheel module to a dedicated module for
installation.
2019-12-02 11:52:51 +08:00
Christopher Hunt
1b4c0866ab
Remove untyped defs ( #7382 )
2019-11-19 11:46:26 +08:00
Maxim Kurnikov
3692097cca
add per-file disallow_untyped_defs=False, and set it to True globally
2019-09-29 23:31:15 +02:00
Chris Jerdonek
0435316fde
Move path_to_url() to utils/urls.py.
2019-09-24 02:01:52 -07:00
Chris Hunt
ad82dd0981
Move RequirementParts above new function
2019-09-22 12:03:47 -04:00
Chris Hunt
8fe2eb068a
Factor out editable parsing into a function
2019-09-22 12:02:14 -04:00
Chris Hunt
903580cace
Use RequirementParts to populate editable InstallRequirement
2019-09-22 09:51:25 -04:00
Christopher Hunt
16f1b4b5dd
Merge pull request #7046 from chrahunt/refactor/constructors-req-parsing
...
Refactoring req.constructors requirement parsing
2019-09-20 12:16:03 -04:00
Chris Hunt
d0336be3ee
Move requirement parsing to separate function in req.constructors
2019-09-19 21:30:00 -04:00
Chris Hunt
1ae28f6946
Add RequirementParts to hold parsed requirement info
2019-09-19 21:23:13 -04:00
Chris Hunt
8d19b31b66
Remove unnecessary else in convert_extras
2019-09-19 19:28:54 -04:00
Pradyun Gedam
83780a2991
Merge pull request #7025 from chrahunt/refactor-1
...
Clean up req.constructors.install_req_from_line
2019-09-19 11:17:23 +05:30
Chris Hunt
6a8b47d20b
Move file type info to utils.filetypes.
2019-09-17 23:40:02 -04:00
Chris Hunt
0555261087
Move extra conversion to function.
2019-09-17 19:02:59 -04:00
Chris Hunt
ec8bf2cc22
Clean up source location message creation.
2019-09-17 19:02:59 -04:00
Christopher Hunt
82c2dd40eb
Merge pull request #6203 from vinicyusmacedo/fix-pep-508
...
Fix is_url from splitting the scheme incorrectly when using PEP 440's direct references
2019-09-16 09:52:40 -04:00
Chris Jerdonek
3303c11828
Remove index.py and req/constructors.py's dependence on download.py.
2019-09-13 09:57:04 -07:00
Vinicyus Macedo
16af35c613
Adding improvements to the _get_path_to_url function
2019-08-12 14:32:03 -03:00
Vinicyus Macedo
5b93c09199
Added test to fail pep508
2019-08-12 14:32:03 -03:00
Pradyun Gedam
f377148f6d
Use mypy's inline configuration syntax for opt-outs
2019-07-30 12:39:51 +05:30
Savio Jomton
1b331851f1
Improve error message for invalid editable requirement. ( #6679 )
2019-07-11 20:07:54 +05:30
Chris Jerdonek
e5a730a89f
Improve the error message when reading a bad requirements file.
2019-06-15 10:47:24 -07:00
Chris Jerdonek
99228e503a
Import path_to_url() from utils/misc.py instead of download.py.
2019-06-03 02:31:40 -07:00
Andy Freeland
bb14ff42b0
Fix NameError when handling InvalidRequirement in install_req_from_req_string ( #6419 )
...
Previously, an InvalidRequirement would raise a NameError while trying
to raise an InstallationError because `req` was not defined.
Discovered while working on #6402 .
2019-04-19 02:37:33 -07:00
Chris Jerdonek
1bb21fd3ff
Merge pull request #6093 from mkurnikov/req-types-finished
...
Finish types for pip._internal.req, set disallow_untyped_defs flag
2019-03-23 02:16:35 -07:00
Alex Loosley
d245434c02
Fix #5889 : AttributeError: 'NoneType' object has no attribute 'netloc' ( #6336 )
2019-03-20 16:59:24 +01:00
Maxim Kurnikov
8c70363262
add missing trailing commas on multiline imports
2019-02-25 14:24:55 +03:00
Maxim Kurnikov
2d3cd4de86
merge latest master
2019-02-23 16:58:54 +03:00
Maxim Kurnikov
c4dfdbe265
remove unused imports
2019-02-22 14:18:46 +03:00
Maxim Kurnikov
f77b8ca051
remove #noqa: F401
2019-02-22 14:17:07 +03:00
Chris Jerdonek
d619aba150
Provide a better error message for a pyproject.toml editable install.
...
The message looks like this:
File "setup.py" not found. Directory cannot be installed in editable
mode: <absolute-dir-path>
(A "pyproject.toml" file was found, but editable mode currently
requires a setup.py based build.)
2019-01-26 07:00:22 -08:00
Maxim Kurnikov
c4cf730145
sort imports under TYPE_CHECKING alphabetically
2019-01-25 20:08:59 +03:00
Pradyun Gedam
22fe45d462
Fix new issues found in mypy 0.620 -> 0.650
2018-12-18 11:20:14 +05:30
Maxim Kurnikov
05eb7d8e92
Add type annotations for pip._internal.req ( #6063 )
2018-12-17 16:43:00 +05:30
Paul Moore
e8f7aa1446
Pass use_pep517 option to resolver
2018-11-14 14:06:35 +00:00
Paul Moore
4ca38e0c38
Merge with master
2018-11-11 13:49:35 +00:00
Paul Moore
83979fedaa
Actually use the new --[no-]use-pep517 option
2018-10-29 23:33:21 +01:00
Prabhjyotsing Surjit Singh Sodhi
e34b19b02a
Don't print stacktrace due to invalid req
2018-10-26 12:03:31 -04:00
Pradyun Gedam
688bc1ee6f
Move InstallRequirement.from_req to constructors module
2018-08-21 20:41:36 +05:30
Pradyun Gedam
a5a07fe61c
Move InstallRequirement.from_line to constructors module
2018-08-21 20:37:40 +05:30
Pradyun Gedam
69b494aa29
Move InstallRequirement.from_editable to a constructors module
2018-08-21 20:27:22 +05:30