Pradyun Gedam
6a8956d7a8
Merge pull request #8932 from uranusjr/new-resolver-lazy-sequence
2020-10-16 18:12:03 +05:30
Pradyun Gedam
4aec7e81c9
Merge pull request #8758 from uranusjr/new-resolver-requires-python-when-no-deps
2020-10-16 18:11:08 +05:30
Pradyun Gedam
ff5a9b5f6f
Merge pull request #8926 from uranusjr/dont-crash-on-check
...
Don't crash on 'check' when METADATA is missing
2020-10-16 18:09:09 +05:30
Pradyun Gedam
ae4d27179f
Merge pull request #8924 from uranusjr/new-resolver-try-user-requested-combinations-first
2020-10-16 18:09:09 +05:30
Pradyun Gedam
314de5a3b4
Merge pull request #8912 from uranusjr/cache-found-candidates
2020-10-16 18:09:02 +05:30
Pradyun Gedam
e832878f3f
Merge pull request #8839 from uranusjr/new-resolver-hash-intersect
2020-10-16 18:08:32 +05:30
Pradyun Gedam
d8f0a7b693
Merge pull request #8752 from sbidoul/imp-8369-deprecation-sbi
2020-09-08 16:43:08 +05:30
Pradyun Gedam
b98dd2d07d
Merge pull request #8778 from hugovk/deprecate-3.5
...
Deprecate support for Python 3.5
2020-09-08 16:40:56 +05:30
Chris Hunt
b9e403b173
Merge pull request #8716 from McSinyx/fix-range-request-cache
...
Disable caching for range requests
2020-08-11 16:55:07 +05:30
Pradyun Gedam
0ebe453140
Merge pull request #8727 from uranusjr/new-resolver-constraint-markers
2020-08-11 16:55:03 +05:30
Pradyun Gedam
516c7431bc
Merge pull request #8718 from uranusjr/pyvenv-cfg-encoding
...
Always use UTF-8 to read pyvenv.cfg
2020-08-11 16:54:59 +05:30
Pradyun Gedam
e04cd89f6f
Merge pull request #8702 from uranusjr/get-distribution-looks-for-all
2020-08-11 16:54:56 +05:30
Pradyun Gedam
626d631682
Merge pull request #8744 from hroncok/keyring_global_nope
...
When one keyring attempt fails, don't bother with more
2020-08-11 16:54:52 +05:30
Pradyun Gedam
02ad77d944
Merge pull request #8603 from tekumara/pip-list-ignore-require-venv
2020-08-04 10:38:03 +05:30
Stéphane Bidoul
22d67dc261
Merge pull request #8665 from uranusjr/svn-version-more-robust
...
Improve SVN version parser
2020-08-04 10:38:03 +05:30
Pradyun Gedam
864e2eee09
Merge pull request #8659 from uranusjr/fix-get-distribution-dot-in-name
...
Canonicalize name in check_if_exists
2020-08-04 10:38:02 +05:30
Pradyun Gedam
ed205bdfa6
Merge pull request #8656 from chrahunt/gracefully-handle-bad-data-paths
...
Trace a better error message on installation failure due to invalid .data files in wheels
2020-08-04 10:38:02 +05:30
Pradyun Gedam
552b8376c0
Merge pull request #8678 from uranusjr/new-resolver-no-deps-extras-install-self
2020-08-04 10:38:02 +05:30
Pradyun Gedam
b29dd4edc5
Merge pull request #8679 from pradyunsg/tweak-resolutionimpossible-message
2020-08-04 10:38:02 +05:30
Pradyun Gedam
527b3e27fb
Merge pull request #8684 from uranusjr/zipfile-unicode-path-python2
2020-08-04 10:38:01 +05:30
Pradyun Gedam
ce1e7d80ad
Merge pull request #8681 from McSinyx/faster-deps
...
[fast-deps] Make range requests closer to chunk size
2020-08-04 10:38:01 +05:30
Pradyun Gedam
a8edffda1c
Merge pull request #8594 from pradyunsg/improve-install-conflict-warning
2020-07-28 18:22:53 +05:30
Pradyun Gedam
9033824cbc
Python 2 *sigh*
2020-07-28 11:24:44 +05:30
Pradyun Gedam
1b2ae22e7b
Don't print that form link after the end of month.
2020-07-27 19:51:40 +05:30
Pradyun Gedam
4e4951066d
Reverse if statement's condition
2020-07-27 13:52:54 +05:30
Pradyun Gedam
8db354260a
Move the form link to make the linter happy
2020-07-27 13:49:21 +05:30
Pradyun Gedam
efdb66ed16
Add messaging variation based on "new resolver" usage
2020-07-27 13:49:21 +05:30
Pradyun Gedam
42c62a08f7
Short circuit when there's nothing to report
2020-07-27 13:49:20 +05:30
Pradyun Gedam
d77b5c234c
Refactor the logging calls into a dedicated loop
2020-07-27 13:49:11 +05:30
Pradyun Gedam
7056132f6f
Merge pull request #8601 from rouge8/use-feature-requirements-file
2020-07-27 13:19:51 +05:30
Tzu-ping Chung
3ff9ee151d
Account for comes_from string
2020-07-26 15:59:42 +08:00
Stéphane Bidoul
38fe3c2f14
Percolate --use-feature from req file upwards
...
We explicitly propagate --use-feature options from req files upwards.
This is not strictly necessary for the option to be enabled, because
of the default value is a global list, but that implicit behaviour is
certainly accidental, so we make it explicit, with a test.
2020-07-25 11:14:04 +02:00
Pradyun Gedam
89a51a6fef
Merge pull request #8588 from McSinyx/fast-deps
...
Use lazy wheel to obtain dep info for new resolver
2020-07-24 09:01:56 +05:30
Pradyun Gedam
3c20d5bfbd
Reject setup.py projects that don't generate .egg-info
...
This finalizes a deprecation, since we've not recieved any reports from
users in responses to the deprecation.
2020-07-23 22:32:46 +05:30
Nguyễn Gia Phong
5d15291274
Use lazy wheel to obtain dep info for new resolver
2020-07-21 16:00:34 +07:00
Nguyễn Gia Phong
2152a51b8c
Give metadata consistency check its own method
2020-07-21 16:00:01 +07:00
Pradyun Gedam
982aac544e
Merge pull request #8584 from McSinyx/range-unsupported-exc
2020-07-21 13:53:20 +05:30
Andy Freeland
d6b0481c8c
Add --use-feature to pip freeze requirements parsing
2020-07-19 02:35:50 -07:00
Andy Freeland
3eef588a03
Support '--use-feature' in requirements files
...
This patch adds support for `--use-feature` in requirements files
so that a project that wants all contributors using the same pip
features can specify it in the requirements file. For example, to ensure
a requirements file uses the new resolver:
```
--use-feature=2020-resolver
boto3
boto3==1.13.13
```
This is a new version of #8293 .
2020-07-18 16:08:47 -07:00
Stéphane Bidoul
d924b16b0d
Give mypy some love after rebase
2020-07-18 13:46:19 +02:00
Stéphane Bidoul
fe5682627a
Quote 'setup.py install' when calling it legacy
...
We want to make it clear that it is the setup.py install command we consider
legacy, not setup.py itself.
2020-07-18 13:46:19 +02:00
Stéphane Bidoul
462d6ca590
Deprecate install fallback when bdist_wheel fails
2020-07-18 13:46:19 +02:00
Pradyun Gedam
6fa4a9a0a7
Clean up code style changes
...
Toward minimizing style changes in the overall PR diff, or toward
consistency with the future use of black (in cases where I wasn't sure
of a good way to minimize the diff).
2020-07-17 14:33:19 +07:00
Nguyễn Gia Phong
f8b06a3906
Enable flake8-logging-format
2020-07-17 14:33:19 +07:00
Nguyễn Gia Phong
cb8d81d135
Nitpick logging calls
2020-07-17 14:33:19 +07:00
Pradyun Gedam
b419ca7317
Fix the link on new-resolver dependency conflicts
2020-07-17 06:03:01 +05:30
Pradyun Gedam
2a07a2444c
Merge pull request #8590 from pradyunsg/install-conflict-warning-move
...
Change when we warn about dependency conflicts during `pip install`
2020-07-17 05:35:53 +05:30
Pradyun Gedam
7ddbcc2e67
Return early for clarity
2020-07-17 03:25:53 +05:30
Pradyun Gedam
eafbec5aa6
Move conflict warning to just-before success message
...
This is a much better location for these errors, since they're in a much
more visible spot. We've had reports in the past of users missing these
messages, and changing where we present these warnings should help
resolve that issue.
We do lose the ability for an advanced user to potentially see the
warning and abort installation before the conflicts are introduced, but
given that we don't even pause for input, I don't think that's a strong
argument and neither do I view this as necessary.
2020-07-16 13:15:39 +05:30
Pradyun Gedam
de741fa0dd
Clearly note where code duplication exists
...
The duplication of this code isn't really that bad, but saying
"pip check" makes it ambigous which file is relevant. Changing to
reference the exact filename makes this clearer.
2020-07-16 13:14:35 +05:30