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 Hunt
81d8005bd1
Change argument name to better reflect purpose.
...
Also assert on provided path, since it should have been created in all
cases.
2019-09-11 19:03:57 -04:00
Chris Hunt
82be4ee76a
Use application context manager for PipSession.
...
This removes a level of indentation from all commands without
introducing any dummy functions.
2019-09-07 09:46:48 -04:00
Chris Hunt
b63ea9cd08
Remove now-unused finder and format_control from WheelBuilder.
2019-09-04 21:10:34 -04:00
Chris Jerdonek
022a36662f
Remove WheelBuilder's dependence on PipSession.
2019-08-11 11:33:23 -07:00
Chris Jerdonek
698b27b875
Start type checking commands/install.py and commands/wheel.py.
2019-08-11 11:33:18 -07:00
Chris Jerdonek
23446f6d0e
Remove the unneeded name argument from populate_requirement_set().
2019-08-08 17:29:02 -07:00
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
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
Chris Jerdonek
cab7316e2b
Change PackageFinder.create() to accept a SearchScope object.
2019-06-21 14:41:49 -07:00
Pradyun Gedam
b05c66722e
Move Resolver to a legacy_resolve module
2019-05-25 12:35:31 -04:00
Paul Moore
6b7473d664
Pass --use-pep517 option to the resolver in the pip wheel command
2018-11-14 18:18:48 +00:00
Paul Moore
9d2b17854d
Add --[no-]use-pep517 command line flag
2018-10-29 23:33:21 +01:00
Paul Moore
b62284a81b
Build PEP 517 and legacy wheels separately
2018-10-29 23:32:13 +01:00
Pradyun Gedam
21d9825efd
Rename basecommand -> base_command
2018-07-30 09:32:47 +05:30
Pradyun Gedam
922f8d9857
Sort imports
2018-07-29 18:26:33 +05:30
Pradyun Gedam
8b4713f63c
Move cmdoptions to pip._internal.cli
2018-07-29 18:26:33 +05:30
Pradyun Gedam
8d45e0e647
Move basecommand to pip._internal.cli
2018-07-29 18:26:28 +05:30
Benoit Pierre
43b8ed4945
detect fork-bombs during build dependencies installs
2018-06-26 10:40:23 +02:00
Daniel Shaulov
d67d98dd91
Add a --prefer-binary flag. ( #5370 )
...
The flag makes pip prefer an older but valid binary distributions over a newer source distributions.
Fixes #3785 .
2018-05-11 11:17:32 +05:30
Benoit Pierre
6da1d9e47c
fix PEP 518 support
...
* fix build environment handling when using PyPy
* do use the build environment for all build commands
* allow installing and building a wheel of a PEP 518 enabled
package without prior installation of setuptools and/or wheels
* fix check for minimum supported requirements for PEP 518 support:
- correctly handle complex requirements
- both setuptools and wheels are needed
2018-04-08 14:06:11 +02:00
Pradyun Gedam
c08d4cc806
Add --no-build-isolation for disabling build isolation
2018-03-09 00:01:26 +05:30
Pradyun Gedam
01d97e71f0
Merge branch 'master' into cache/ephem-wheel-cache
2017-11-17 12:32:40 +05:30
Pradyun Gedam
24fd884672
Decouple WheelBuilder from RequirementSet ( #4860 )
2017-11-16 15:16:21 +05:30
Pradyun S. Gedam
ebf06ceb9d
Merge master
2017-10-04 16:58:31 +05:30
Donald Stufft
95bcf8c5f6
Move all internal APIs to pip._internal
2017-08-31 14:53:00 -04:00