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
43485f5ab7
Merge pull request #8617 from pradyunsg/drop-final-20.2-deprecation
...
Reject setup.py projects that don't generate .egg-info
2020-07-24 08:54:16 +05:30
Pradyun Gedam
50aca38eaf
Merge pull request #8611 from pradyunsg/vendoring/july-2020
2020-07-23 23:11:58 +05:30
Pradyun Gedam
d34b099bf4
📰
2020-07-23 22:44:17 +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
Pradyun Gedam
dcfea6ee8f
Really? Wow.
...
This is a fix for the sole failing test in the CI for these changes (in
tests/functional/test_debug.py::test_debug__library_versions). The
failure took me a fair bit of time to diagnose, but it looks like the
issue is that we're strictly comparing versions as strings. This is a
bad idea when they're not normalized.
2020-07-22 19:57:20 +05:30
Pradyun Gedam
f94580bad7
Print output in test_debug__library_versions
...
This should make debugging issues in this test easier.
2020-07-22 19:57:20 +05:30
Pradyun Gedam
4272aa7980
Upgrade toml to 0.10.1
2020-07-22 19:57:20 +05:30
Pradyun Gedam
afa59d97f6
Upgrade six to 1.15.0
2020-07-22 19:57:19 +05:30
Pradyun Gedam
072b70b9bf
Upgrade urllib3 to 1.25.9
2020-07-22 19:57:19 +05:30
Pradyun Gedam
fe7128c662
Upgrade idna to 2.10
2020-07-22 19:57:19 +05:30
Pradyun Gedam
2ac80f4336
Upgrade certifi to 2020.6.20
2020-07-22 19:57:19 +05:30
Pradyun Gedam
28aad200b3
Upgrade requests to 2.24.0
2020-07-22 19:57:19 +05:30
Pradyun Gedam
413968dd17
Upgrade packaging to 20.4
2020-07-22 19:57:19 +05:30
Pradyun Gedam
e84d0c1813
Upgrade html5lib to 1.1
...
Also, drop the no-longer-necessary patch.
2020-07-22 19:57:18 +05:30
Pradyun Gedam
11a64cdae8
Upgrade distlib to 0.3.1
2020-07-22 19:57:18 +05:30
Pradyun Gedam
b9b2c18735
Upgrade appdirs to 1.4.4
2020-07-22 19:57:18 +05:30
Nguyễn Gia Phong
4efae5c21a
Add integration tests for experimental feature fast-deps
...
Test pip {download,install,wheel} where requirements have dependencies
listed in their wheels' metadata.
2020-07-21 16:00:34 +07:00
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
Chris Hunt
d504fc4e7c
Merge pull request #8592 from shireenrao/vcs-extras-docs
...
Add examples on how to install package extras and sdists to docs
2020-07-19 09:01:44 -04:00
Chris Hunt
af68f57d2d
Merge pull request #8599 from McSinyx/tabs2spaces
...
Replace tabs by spaces for consistency
2020-07-19 08:57:41 -04:00
Andy Freeland
7a3c802626
Attempt to test --use-feature in pip freeze
...
I can't get the functional tests to run locally...
2020-07-19 02:44:12 -07:00
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
Pradyun Gedam
d01aeaad1f
Merge pull request #8369 from sbidoul/deprecate-pip-install-on-bdist_wheel-failure
2020-07-19 00:24:43 +05:30
Srinivas Nyayapati
168460a8e0
fix url example
2020-07-18 12:25:15 -04:00
Srinivas Nyayapati
319e69f14f
update news fragment
2020-07-18 12:23:22 -04:00
Srinivas Nyayapati
6ea15755eb
update based on review
2020-07-18 12:23:22 -04:00
Srinivas Nyayapati
eb6cc7f439
Add examples on how to install package extras and sdists to docs
2020-07-18 12:23:22 -04: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
Nguyễn Gia Phong
d363b4a427
Replace tabs by spaces for consistency
2020-07-18 17:00:59 +07:00
Chris Hunt
d2eb0ef817
Merge pull request #8423 from McSinyx/logging-format
...
Nitpick logging calls
2020-07-17 20:10:43 -04:00
Pradyun Gedam
25802ad726
Merge pull request #8595 from pradyunsg/news-file-cleanup
...
Cleanup NEWS file
2020-07-17 13:07:35 +05:30
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
05bdc69aa3
Make test more explicit
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
2c8645276f
Merge pull request #8593 from pradyunsg/fix-link
...
Fix the link on new-resolver dependency conflicts
2020-07-17 07:32:25 +05:30
Pradyun Gedam
c8b98f2d3a
🎨 while I'm at it
2020-07-17 06:41:41 +05:30
Pradyun Gedam
97645f1022
Cleanup NEWS file
2020-07-17 06:40:05 +05:30
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
Nguyễn Gia Phong
892018eaf2
Use local server for an unit test for lazy wheel
2020-07-16 21:09:59 +07:00
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