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
cf7ebdbbc2
Move PipSession to network.session
2019-09-27 01:02:52 -04:00
Chris Hunt
892b58f244
Move helper functions into Link
2019-09-22 00:08:10 -04:00
Pradyun Gedam
ab6d550592
Remove link.is_artifact
2019-09-21 14:30:14 +05:30
Chris Hunt
ee8cc0e648
Use unpack_file instead of unpack_file_url in wheel
2019-09-19 20:19:24 -04:00
Chris Hunt
59b0a79bde
Add Link.file_path property
2019-09-19 20:14:10 -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
Chris Hunt
997c9b71b3
Move non-throwing code outside try/except.
2019-09-06 19:55:57 -04:00
Chris Hunt
b72d9f1477
Move autodelete_unpacked to more logical place.
2019-09-06 19:55:57 -04:00
Chris Hunt
a20a06cd34
Move unpack_url above irrelevant checks.
2019-09-06 19:55:57 -04:00
Chris Hunt
aef01d25cc
Remove unused argument from unpack_url.
2019-09-06 19:55:57 -04:00
Chris Hunt
45283a332f
Move delete marker file creation from unpack_url to caller.
2019-09-06 19:55:38 -04:00
Pradyun Gedam
a217f550e1
Remove duplicate line in comment. ( #6965 )
2019-09-05 13:03:24 +05:30
Christopher Hunt
0a246b98a9
Update src/pip/_internal/operations/prepare.py
...
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2019-09-04 02:54:23 -04:00
Chris Hunt
efd43fd0fe
Minor comment typo.
2019-09-02 19:37:33 -04:00
Chris Hunt
b719cc0033
Fix indentation: fix indentation
2019-09-02 19:36:57 -04:00
Chris Hunt
b1978bc608
Fix indentation: move expanduser to constructor
2019-09-02 19:36:00 -04:00
Chris Hunt
d45a544b47
Remove duplicate line in comment.
2019-09-02 15:52:26 -04:00
Stéphane Bidoul (ACSONE)
2e1dfbef76
consolidate vcs link detection
2019-08-16 08:14:33 +02:00
Pradyun Gedam
476606425a
Add mypy's no-strict-optional configuration inline ( #6750 )
2019-08-04 21:59:42 +05:30
Pradyun Gedam
f18ec526db
Unify calls to prepare_distribution_metadata to one callsite
2019-08-04 11:16:16 +05:30
Pradyun Gedam
f377148f6d
Use mypy's inline configuration syntax for opt-outs
2019-07-30 12:39:51 +05:30
Pradyun Gedam
b43c71cbc7
Simplify references to req.link
2019-07-29 20:30:55 +05:30
Pradyun Gedam
ec725cb1a0
Populate InstallRequirement.link before preparing it
2019-07-29 20:29:34 +05:30
Pradyun Gedam
537b0fca12
Change isort multi_line_output to 3
2019-07-22 10:15:27 +05:30
Pradyun Gedam
a0670a9c98
Rename AbstractDistribution.prep_for_dist()
...
Use a better name prepare_distribution_metadata()
2019-06-16 05:29:00 +05:30
Pradyun Gedam
534a102564
Rename make_abstract_dist
...
Use a more descriptive name make_distribution_for_install_requirement()
2019-06-16 05:23:16 +05:30
Pradyun Gedam
d43e31802b
Add distributions sub-package for holding build logic
...
This moves the DistAbstraction logic into a dedicated 'distributions'
sub-package, with separated modules for the concrete implementations of
various distribution handling logic.
2019-06-14 23:27:42 +05:30
Pradyun Gedam
d3987fe114
Sort imports
2019-06-14 23:27:42 +05:30
Chris Jerdonek
24688ee8e8
Revert "Require --no-use-pep517 if using editable mode with pyproject.toml."
...
This reverts commit 71f506e71e
.
2019-04-26 20:19:05 -07:00
Chris Jerdonek
71f506e71e
Require --no-use-pep517 if using editable mode with pyproject.toml.
2019-03-31 05:40:08 -07:00
Chris Jerdonek
f47d012970
Refactor install_backend_dependencies() out from prep_for_dist().
2019-03-31 01:11:30 -07:00
Albert Tugushev
f0f31998d5
Use is_artifact prop instead of scheme checking
2019-02-23 11:55:37 +03:00
Maxim Kurnikov
f77b8ca051
remove #noqa: F401
2019-02-22 14:17:07 +03:00
Pradyun Gedam
b7a4d70b25
Don't instantiate NotImplementedError
2019-01-02 17:27:34 +05:30
Pradyun Gedam
f9b66cacb3
Stop passing finder to DistAbstraction.dist
2019-01-02 17:27:34 +05:30
Pradyun Gedam
7222cb8fdb
Remove --process-dependency-links and related support code
2019-01-02 17:27:06 +05:30
Maxim Kurnikov
7ee388178a
Add type annotations for pip._internal.operations ( #6066 )
...
References https://github.com/pypa/pip/issues/4748 , https://github.com/pypa/pip/pull/6038 .
2018-12-17 16:41:47 +05:30
Paul Moore
f805ac15a7
Properly wrap all hook calls in our subprocess runner
2018-10-29 23:33:21 +01:00
Paul Moore
41b07c9fb5
Include backend-provided requirements in build environment
2018-10-29 23:33:19 +01:00
Paul Moore
8fbf78d407
Phase 2 - generate metadata using PEP 517 hook
2018-10-29 23:28:23 +01:00
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
Paul Moore
efa5ad31e7
Refactor load_pyproject_toml into a standalone module
2018-08-05 14:52:46 +01:00
Paul Moore
4e018d76e2
Check for assumed requirements once the build environment is created
2018-08-02 20:08:04 +01:00
Paul Moore
8cdf6564fd
Stop trying to lazy-load pyproject.toml, it isn't worth it.
2018-08-02 20:07:52 +01:00
Paul Moore
c5a6843c08
Corrections to use_pep517 implementation
2018-07-31 16:21:20 +01:00
Paul Moore
fc7bbf1b39
Make pyproject.toml values into properties of the requirement
2018-07-31 16:21:19 +01:00
Paul Moore
695be300bc
Make args for prep_for_dist consistent
2018-07-30 09:42:11 +01:00
Pradyun Gedam
4fc697847a
Update imports for the moved compat module
2018-07-29 18:32:20 +05:30
Benoit Pierre
43b8ed4945
detect fork-bombs during build dependencies installs
2018-06-26 10:40:23 +02:00