1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

116 commits

Author SHA1 Message Date
Pradyun Gedam c275e9d1ab Drop a useless import in favor of explicitness 2019-07-21 00:36:14 +02:00
Pradyun Gedam 21c4c4d5ee
Add a format_debug method to InstallRequirement 2019-07-20 10:29:14 +05:30
Xavier Fernandez fc618bf3b1 Move virtualenv detection functions into their own module 2019-07-19 10:03:22 +02:00
Xavier Fernandez 34092d3234 Move pip marker related constant & function in their own module
It didn't seem related with the rest of the locations module
2019-07-18 22:53:05 +02:00
Chris Jerdonek 0baec60bdc Address a couple strict_optional lines in req/req_install.py. 2019-07-14 23:07:48 -07:00
Chris Jerdonek 2b58bcde31 Remove strict_optional=False for download.py. 2019-07-14 23:07:48 -07:00
Prabakaran Kumaresshan 91b6b4ed54 Refactor SETUPTOOLS_SHIM with function make_setuptools_shim_args (#6691) 2019-07-12 01:29:41 -07:00
Bertil Hatt b47da272aa Set sys.argv[0] to the underlying setup.py in the setuptools shim. 2019-07-07 18:40:31 -07:00
Pradyun Gedam edbd0822dc Rename InstallRequirement.setup_py -> setup_py_path 2019-06-30 20:23:12 +02:00
Pradyun Gedam 0015089ed9 Suffix "_path" to InstallRequirement.pyproject_toml 2019-06-30 20:23:12 +02:00
Chris Jerdonek abe36d58da Simplify InstallRequirement.get_dist(). 2019-06-21 17:58:46 -07:00
Pradyun Gedam d5891784d1
Reduce indentation 2019-06-16 22:57:32 +05:30
Pradyun Gedam b1b097a307
pep517_data -> pyproject_toml_data 2019-06-16 22:57:07 +05:30
Pradyun Gedam 9c5eafc1c9
Simplify assignment of InstallRequirement.use_pep517 2019-06-16 22:56:40 +05:30
Chris Jerdonek 0ea639d644 Remove url as an instance attribute of the VersionControl class. 2019-05-06 22:59:18 -04:00
Chris Jerdonek fb2533a945 Revert "Error out if installing a pyproject.toml-style (PEP 517) project in editable mode."
This reverts commit cc2d299f76.
2019-04-26 20:19:24 -07:00
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 55f7a712aa
Merge pull request #6331 from cjerdonek/issue-6314-editable-with-pep517
Show a nice error if editable mode is attempted with a pyproject.toml source tree
2019-03-23 17:32:22 -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
Chris Jerdonek cc2d299f76 Error out if installing a pyproject.toml-style (PEP 517) project in editable mode. 2019-03-14 05:49:39 -07:00
Pi Delport 5f3c56e188 Fix some typos 2019-03-12 21:54:18 +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 d2051f14bb Change the default of call_subprocess()'s show_stdout from True to False. 2019-02-12 05:11:51 -08: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
Maxim Kurnikov 932fb539ef finish types for pip._internal.req, disallow untyped defs 2018-12-19 19:39:35 +03:00
Pradyun Gedam 89ef777c18
Cleanup for issues fixed with mypy upgrade 2018-12-18 15:10:40 +05:30
Pradyun Gedam 22fe45d462
Fix new issues found in mypy 0.620 -> 0.650 2018-12-18 11:20:14 +05:30
Pradyun Gedam be5f4afcfc
Fix inconsistencies in mypy annotations 2018-12-17 23:56:00 +05:30
Maxim Kurnikov 05eb7d8e92 Add type annotations for pip._internal.req (#6063) 2018-12-17 16:43:00 +05:30
Paul Moore f06a0cb560 Move setup.py egg_info logging into run_egg_info 2018-11-14 19:24:27 +00:00
Paul Moore 85e4f8ec41 Fix some remaining TODO comments 2018-11-14 18:24:55 +00:00
Paul Moore 3a0f9b1c71 Remove unneeded TODO 2018-11-14 14:31:24 +00:00
Paul Moore f805ac15a7 Properly wrap all hook calls in our subprocess runner 2018-10-29 23:33:21 +01:00
Paul Moore 83979fedaa Actually use the new --[no-]use-pep517 option 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
Paul Moore 8fbf78d407 Phase 2 - generate metadata using PEP 517 hook 2018-10-29 23:28:23 +01:00
Tom Forbes 78371cc950 Redact basic authentication passwords from log messages (#5773)
Redact basic authentication passwords from URLs.
2018-10-19 02:06:10 -07: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
Pradyun Gedam 7f3df6d2e2
Don't import Link from pip._internal.index 2018-08-16 14:29:24 +05:30
Paul Moore efa5ad31e7 Refactor load_pyproject_toml into a standalone module 2018-08-05 14:52:46 +01:00
Paul Moore ada59afaeb Fix bug in InstallRequirement: __str__ could return None 2018-08-04 08:50:35 +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 bb4688cb8f Cosmetic fixes 2018-08-01 16:15:11 +01:00