Devesh Kumar Singh
2d22608809
Type annotations for pip._internal.build_env
2020-05-22 03:00:55 +05:30
Nitesh Sharma
ce1e0f470a
Move UI helpers to cli subpackage ( #6727 )
2020-02-21 14:01:13 +05:30
Chris Hunt
e800cb1604
Make BuildEnvironment._temp_dir a local variable
2020-02-04 20:32:58 -05:00
Chris Hunt
d99462a067
Remove unused BuildEnvironment.cleanup
2020-02-04 20:32:29 -05:00
Chris Hunt
39d1c51fdb
Globally-manage BuildEnvironment._temp_dir
2020-02-04 20:32:27 -05:00
Chris Hunt
bdde27bfd8
Add BuildEnvironment._temp_dir to tempdir registry
...
Similar to the InstallRequirement temp build dir, now we'll be able to
refactor this to be globally managed.
2020-02-04 20:31:34 -05:00
Pradyun Gedam
2db6f428bf
Update imports to {index -> index.package_finder}
2019-10-19 22:24:01 +05:30
Pradyun Gedam
2eafb0218b
Update all the imports as needed
2019-09-30 11:15:24 +05:30
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
85dcaa74bb
Unconditionally create TempDirectory.path
2019-09-22 00:02:46 -04:00
Pradyun Gedam
f377148f6d
Use mypy's inline configuration syntax for opt-outs
2019-07-30 12:39:51 +05:30
Chris Jerdonek
7d08bb37a5
Add SearchScope class.
2019-06-18 00:47:10 -07:00
Chris Jerdonek
4c1ccaec73
Store PackageFinder.trusted_hosts instead of secure_origins.
2019-06-12 02:18:23 -07:00
Maxim Kurnikov
f77b8ca051
remove #noqa: F401
2019-02-22 14:17:07 +03:00
Chris Jerdonek
d2051f14bb
Change the default of call_subprocess()'s show_stdout from True to False.
2019-02-12 05:11:51 -08:00
Pradyun Gedam
7222cb8fdb
Remove --process-dependency-links and related support code
2019-01-02 17:27:06 +05:30
Maxim Kurnikov
8fc393a2d1
Add type annotations for pip._internal.pyproject, pip._internal.build_env, pip._internal.index, pip._internal.resolve ( #6072 )
2018-12-17 16:43:23 +05:30
Benoit Pierre
744b8cf96e
improve build environment
...
- check build requirements for conflicts
- better isolation (ignore system site packages)
- support 2 prefixes: a "normal" one, and an "overlay" one
(with higher priority over "normal")
2018-10-29 23:17:51 +01:00
Pradyun Gedam
b47b2fa8e6
Merge pull request #5841 from benoit-pierre/fix_python_src/pip
...
fix support for invoking pip using `python src/pip ...`
2018-10-28 12:35:53 +00:00
Benoit Pierre
83b879b1ec
Improve PEP 518 build isolation ( #5824 )
...
Handle .pth files, so namespace packages are correctly supported under Python 3.2 and earlier, and more.
2018-10-16 12:04:28 +05:30
Benoit Pierre
464b2f30a8
fix support for invoking pip using python src/pip ...
...
Ensure the subprocess call to pip for installing the PEP 518
build dependencies is using the same version of pip.
2018-10-02 12:15:03 +02:00
Paul Moore
4e018d76e2
Check for assumed requirements once the build environment is created
2018-08-02 20:08:04 +01:00
Pradyun Gedam
0bd01d9462
Merge pull request #5336 from benoit-pierre/src_build_reqs_in_pep518
...
PEP 518: enable source installs for build dependencies
2018-07-20 09:36:52 +05:30
Pradyun Gedam
8a565aac75
Sort imports as per newer isort
2018-06-27 12:53:31 +05:30
Benoit Pierre
3ae521974f
enable source installs for build dependencies
2018-06-26 10:40:23 +02:00
Benoit Pierre
77f6ac676a
forward verbose flag to build dependencies installs
2018-05-18 23:45:55 +02:00
Benoit Pierre
1ac5f09911
tweak output when installing PEP 518 build dependencies
...
Suppress warnings about out-of-PATH script installs.
2018-05-18 23:45:55 +02:00
Benoit Pierre
7b4790d0ca
cleanup PEP 518 implementation
...
- remove unused `BuildEnvironment` parameter: `no_clean`
- move helper to install build requirement to the `BuildEnvironment` class
- simplify a little the 2 different code paths (with and without build isolation)
2018-05-18 23:45:55 +02:00
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
84d70fb6ec
Move all enviroment management into BuildEnvironment
2018-03-03 02:26:14 +05:30
xoviat
163149fff3
Install build requirements before calling setup.py ( #4799 )
...
Setup build environment before first invocation of setup.py and improve test to actually make check that build requirements are installed upon invocation.
2018-03-01 14:20:06 +05:30
Pradyun Gedam
cb6aa5be26
Use a property
2018-01-23 22:08:38 +05:30
Pradyun Gedam
470d48ad6e
Move BuildEnvironment out of wheel.py
2018-01-23 22:08:21 +05:30