Chris Jerdonek
e74fd24c71
Eliminate base_command.py's import dependency on PipSession.
2019-08-07 14:12:42 -07:00
Chris Jerdonek
5a1b97d572
Merge pull request #6835 from cjerdonek/requirement-command-import
...
Move RequirementCommand to a different module
2019-08-07 12:08:00 -07:00
Pradyun Gedam
476606425a
Add mypy's no-strict-optional configuration inline ( #6750 )
2019-08-04 21:59:42 +05:30
Chris Jerdonek
da9ebed9df
Move RequirementCommand to req_command.py.
2019-08-04 02:05:33 -07:00
Prabakaran Kumaresshan
b562531cc5
Add make_resolver() to RequirementCommand base class ( #6826 ).
2019-08-03 23:47:50 -07:00
Prabakaran Kumaresshan
82dbcdae87
Add make_requirement_preparer() to RequirementCommand base class ( #6810 )
2019-08-01 20:29:44 -07:00
Pradyun Gedam
f377148f6d
Use mypy's inline configuration syntax for opt-outs
2019-07-30 12:39:51 +05:30
Chris Jerdonek
1f09e67f34
Only import a Command class when it is actually needed.
...
This resulted in an approximate 24% speed-up of a vanilla `pip`
invocation on one system (0.477 secs before, 0.363 secs after).
2019-07-26 23:30:26 -04:00
Pradyun Gedam
537b0fca12
Change isort multi_line_output to 3
2019-07-22 10:15:27 +05:30
Pradyun Gedam
bf1b8216f0
Remove period from the end of URL
2019-07-20 09:37:48 +05:30
Pradyun Gedam
c80f94e192
Ignore line length for the link
2019-07-20 09:37:48 +05:30
Pradyun Gedam
6762a3d518
Add link to pip's Python 2 deprecation message
2019-07-20 09:37:48 +05:30
Xavier Fernandez
fc618bf3b1
Move virtualenv detection functions into their own module
2019-07-19 10:03:22 +02:00
Hugo
2c1010ee96
Drop support for EOL Python 3.4
2019-07-07 11:45:16 +03:00
Chris Jerdonek
a8510bc5e6
Merge pull request #6638 from cjerdonek/debug-command
...
Add a "pip debug" command
2019-07-02 02:00:02 -07:00
Chris Jerdonek
ae79b5bf5c
Add a SelectionPreferences class.
2019-06-28 11:14:55 -07:00
Chris Jerdonek
8af3f21a57
Filter out yanked links earlier when allow_yanked=False.
2019-06-27 19:50:25 -07:00
Chris Jerdonek
db213c04d7
Add add_target_python_options() and make_target_python().
2019-06-23 09:28:54 -07:00
Chris Jerdonek
cab7316e2b
Change PackageFinder.create() to accept a SearchScope object.
2019-06-21 14:41:49 -07:00
Chris Jerdonek
b8d693c71e
Add a TargetPython class.
2019-06-11 18:19:20 -07:00
Chris Jerdonek
798d814629
Change PackageFinder to use Tuple[int, ...] instead of List[str] for --python-version.
2019-05-28 03:05:14 -07:00
Chris Jerdonek
ad2b07898d
Fix pip-install to respect --ignore-requires-python.
2019-05-22 21:34:41 -07:00
Chris Jerdonek
cad71a7117
Add PackageFinder.create(), and simplify PackageFinder().
2019-05-17 11:55:21 -07:00
Steve Dower
49b9298a44
Improve import error handling
...
Fix --no-index usage
Fix missing type annotation type
2019-05-07 17:01:41 -04:00
Steve Dower
c63ee61027
Issue #5948 : Enable keyring support
...
This requires keyring and any backends to be installed separately.
Once discovered, it will be used to retrieve credentials by index URL
and netloc before prompting. If the user is prompted and the
credentials work, they will (optionally) be saved to keyring against
the netloc of the requested URL.
2019-05-07 09:55:02 -04:00
Chris Jerdonek
8d78ff0fce
Prefix warning and error log messages.
2019-02-27 03:22:26 -08:00
Pradyun Gedam
d4217f0cc3
Merge pull request #6129 from asottile/dead
...
delete some dead code
2019-02-24 22:08:16 +05:30
Maxim Kurnikov
f77b8ca051
remove #noqa: F401
2019-02-22 14:17:07 +03:00
Anthony Sottile
2c53b709cd
Remove hidden
...
last reference removed in 8447f39fe1
2019-02-20 11:51:24 -08:00
Julian Berman
77c989f377
Only show Python 2.7 EOL date on CPython.
...
Other Python implementations, notably PyPy, are not EOL'ing on January
1, 2020.
2019-01-31 08:27:47 -05:00
Chris Jerdonek
9d00420c16
Use the requested log level when handling broken stdout pipe.
2019-01-21 12:45:59 -08:00
Chris Jerdonek
7a9e1f344b
Handle BrokenPipeError gracefully.
2019-01-20 15:49:49 -08:00
Donald Stufft
f3b9cf2e8f
fix grammar, line lengths
2019-01-19 19:09:04 -05:00
Donald Stufft
71dbc9c3d5
Warn on Python 2.7
2019-01-19 14:54:07 -05:00
Xavier Fernandez
b268c67f84
Deprecate Python 3.4
2019-01-12 22:08:24 +01:00
Xavier Fernandez
a09913673f
Redact index password from logs
...
Closes #6124
2019-01-10 10:47:19 +01:00
Pradyun Gedam
7222cb8fdb
Remove --process-dependency-links and related support code
2019-01-02 17:27:06 +05:30
Maxim Kurnikov
028848574a
add type annotations for pip/_internal/cli/
2018-12-03 15:47:11 +03: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
cytolentino
12a2334429
Add mypy annotations to base_command.py
2018-10-27 13:28:06 +01:00
Pradyun Gedam
885a000775
Disable pip's version check for commands that do not touch the index
2018-09-06 00:23:52 +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
Pradyun Gedam
1694a5f1bf
Move status_codes to pip._internal.cli
2018-07-30 09:43:53 +05:30
Pradyun Gedam
8314dcb7d0
Rename baseparser to parser
2018-07-30 09:35:08 +05:30
Pradyun Gedam
21d9825efd
Rename basecommand -> base_command
2018-07-30 09:32:47 +05:30