Christopher Hunt
cba5f11057
Merge pull request #8524 from chrahunt/remove-always-applicable-comments
...
Remove encouraging comments
2020-07-03 09:17:53 -04:00
Christopher Hunt
8097de5364
Merge pull request #8528 from chrahunt/simplify-get-entrypoints
...
Remove redundant entrypoint text normalization
2020-07-03 09:10:10 -04:00
Chris Hunt
541ce8748a
Remove redundant entrypoint text normalization
...
Currently we do processing in `get_entrypoints` so incoming text is more compatible
with `pkg_resources`. It turns out that `pkg_resources` is already doing the same normalization,
so we can omit it.
This simplifies `get_entrypoints`, opening the way for us to pass it a plain string instead
of a file path.
2020-07-02 21:50:11 -04:00
Chris Hunt
7c2fa59cd3
Add early return in fix_script
...
No behavior change, just making this function easier to refactor.
2020-07-02 20:57:51 -04:00
Chris Hunt
09d75b8a58
Remove encouraging comments
...
These comments are relevant to this function, since it is long
overdue for refactoring. This code isn't special in that regard, and we
should feel free to consider any piece of code eligible to be broken up
or put into a class. So we remove these comments in fairness to the rest
of the code, and to remove a distraction during upcoming code reviews.
2020-07-02 20:40:02 -04:00
Xavier Fernandez
09f9b0030d
Merge pull request #8096 from deveshks/list-config-files
...
Add option to list config files with pip config
2020-07-02 15:01:35 +02:00
Pradyun Gedam
e774eccf46
Merge pull request #8343 from uranusjr/entrypoint-unicode
2020-06-30 14:33:24 +00:00
Pradyun Gedam
0b23b772d5
Merge pull request #8411 from McSinyx/refactor-prepare-linked-req
2020-06-30 13:41:11 +00:00
Pradyun Gedam
18431be48f
Merge pull request #8467 from McSinyx/lazy-wheel
2020-06-30 13:39:04 +00:00
Pradyun Gedam
93b0683d65
Merge pull request #8470 from deveshks/remove-always-unzip
2020-06-30 13:33:30 +00:00
Pradyun Gedam
17608c43d1
Merge pull request #8465 from deveshks/collector-debug-to-warn
2020-06-29 18:28:10 +00:00
Pradyun Gedam
9e7087645a
Merge pull request #8332 from McSinyx/vendor-license-compat
2020-06-29 18:27:25 +00:00
Devesh Kumar Singh
6c899ed0c8
Update warning message to specify HTTP request
2020-06-29 22:20:11 +05:30
Pradyun Gedam
ecda6650ff
Apply suggestions from code review
...
Co-authored-by: Xavier Fernandez <xav.fernandez@gmail.com>
2020-06-29 16:31:52 +00:00
Pradyun Gedam
3a22663ab2
Merge pull request #8320 from McSinyx/pools
2020-06-29 07:54:14 +00:00
Devesh Kumar Singh
46790a4f3c
Improve warning message for invalid vcs schemes
2020-06-28 16:23:07 +05:30
Devesh Kumar Singh
51f4c03221
Warn if package url is a vcs or an archive url with invalid scheme
2020-06-28 16:23:07 +05:30
Devesh Kumar Singh
6e62481568
Add unit tests for pip config debug
2020-06-28 16:22:01 +05:30
Devesh Kumar Singh
f0f692e8e9
Add env and env var values
2020-06-28 16:22:00 +05:30
Devesh Kumar Singh
2fcad8ffa7
Rename subcommand from list-files to debug
2020-06-28 16:22:00 +05:30
Devesh Kumar Singh
b9d19a64d7
List values per configuration file
2020-06-28 16:22:00 +05:30
Devesh Kumar Singh
7a8f374c39
Add option to list config files with pip config
2020-06-28 16:22:00 +05:30
Stéphane Bidoul
69a811cec6
Merge pull request #8337 from deveshks/mypy/pip/internal
...
Complete type annotations in "pip._internal.wheel_builder"
2020-06-27 10:55:59 +02:00
Xavier Fernandez
9a3c082070
Merge pull request #8182 from deveshks/no-input-tests
...
Enable --no-input option by adding docs and tests
2020-06-26 21:29:19 +02:00
e1438d06b5
Rename and wrap LazyZipOverHTTP
2020-06-26 15:15:28 +07:00
3eb85a0619
Draft lazy zip over HTTP
2020-06-26 15:15:28 +07:00
Devesh Kumar Singh
a833914387
Add help text to --no-input option
2020-06-26 07:21:56 +05:30
Devesh Kumar Singh
9a8bcf3f34
Add type: ignore to requirements loop
2020-06-25 23:27:50 +05:30
Devesh Kumar Singh
be75ed8566
Type annotations for pip._internal.wheel_builder
2020-06-25 20:52:33 +05:30
cef064dc4b
Require vendored libraries to be MIT-compatibly licensed
2020-06-25 22:01:48 +07:00
0a3b20f9b8
Drop parallel map for Python 2 and the non-lazy variant
...
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-06-25 21:10:49 +07:00
13539d00f8
Wrap lazy map as well
2020-06-25 21:10:49 +07:00
134ae32a16
Add utilities for paralleliztion
2020-06-25 21:10:49 +07:00
Paul Moore
f162236360
Fix deletion of temp dir when exception occurs
2020-06-25 13:00:11 +01:00
Devesh Kumar Singh
3e0b8f18cc
Remove --always-unzip option from command-line
2020-06-25 16:52:15 +05:30
Devesh Kumar Singh
17b1c76ff5
Remove --always-unzip usage in source code
2020-06-25 16:52:15 +05:30
Pradyun Gedam
439e16f106
Merge pull request #8445 from uranusjr/hash-error-message
...
Set the requirement context on hash error
2020-06-24 18:41:03 +05:30
Pradyun Gedam
fb68794188
Merge pull request #8026 from sbidoul/requested-sbi
2020-06-24 18:24:30 +05:30
Stéphane Bidoul
acab2ee54e
Deprecate --build-dir
2020-06-21 19:05:55 +02:00
Paul Moore
809eb3cad3
Fix a merge issue that didn't get caught by Brown Truck
2020-06-18 14:01:49 +01:00
Paul Moore
d287033599
Merge pull request #8394 from pfmoore/nr_conflict_message
...
Improve the message for "Resolution Conflict" errors
2020-06-18 13:45:51 +01:00
Pradyun Gedam
343f863785
Apply suggestions from code review
2020-06-17 23:20:55 +05:30
8b5ff72a13
Make linked req hashes an independant method
2020-06-17 23:11:46 +07:00
Paul Moore
868ba81a74
Next iteration of message
2020-06-17 17:11:32 +01:00
eb2deab2f6
Move req.source_dir ensure out
2020-06-17 23:07:29 +07:00
6bb0d289f8
Move link log from prepare_linked_requirement
2020-06-17 23:03:08 +07:00
Paul Moore
a42ed23adc
Fix format_for_error for remote URL candidates
2020-06-17 16:47:07 +01:00
Paul Moore
2795742b31
Add handling of inconsistent root requirements
2020-06-17 16:47:04 +01:00
Paul Moore
09d311594e
Move error handling to factory.get_installation_error()
2020-06-17 16:44:53 +01:00
Paul Moore
c827f2964c
Revised ResolutionImpossible message
2020-06-17 16:44:53 +01:00