Commit Graph

10530 Commits

Author SHA1 Message Date
Pradyun Gedam c631de61b9
Drop no-longer-used deprecated_python fixture 2020-07-27 19:51:47 +05:30
Pradyun Gedam e4f8e0a2b8
Change {matches -> contains}_expected_lines
This also updates invocations that can't be translated as-is into a
different equivalent check.
2020-07-27 19:51:47 +05:30
Pradyun Gedam a89ede7da3
tests: Check only the last output lines 2020-07-27 19:51:47 +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 43da7c8283
Make the YAML tests happier 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
Pradyun Gedam 895eb8c617
Merge pull request #8626 from uranusjr/new-resolver-error-message-crash-8625 2020-07-27 13:14:28 +05:30
Paul Moore c6936ad4e1
Merge pull request #8624 from eamanu/fix-8616
Fix description of config files User Guide
2020-07-26 09:59:45 +01:00
Tzu-ping Chung 36d250da11 News 2020-07-26 16:01:39 +08:00
Tzu-ping Chung 3ff9ee151d Account for comes_from string 2020-07-26 15:59:42 +08:00
Tzu-ping Chung 906072a292 Test for conflict message from requirements.txt 2020-07-26 15:59:07 +08:00
Emmanuel Arias 9671830c3e
Update docs/html/user_guide.rst
Co-authored-by: Julian Berman <Julian@GrayVines.com>
2020-07-25 18:15:01 -03:00
Emmanuel Arias f887252d33
use global instead of system-wide specific on doc that global config file is shared by all python installation 2020-07-25 14:03:31 -03:00
Andy Freeland e399b128b2
Merge pull request #2 from sbidoul/use-feature-test
Percolate --use-feature from req file upwards
2020-07-25 09:41:37 -07:00
Stéphane Bidoul aff33ffc4c
Merge pull request #8623 from sbidoul/remove-egg-info-tests-1-sbi
Reduce reliance on .egg-info directories in test suite
2020-07-25 16:11:18 +02:00
Emmanuel Arias ead83f38b4
fix news 2020-07-25 10:00:42 -03:00
Emmanuel Arias 44bb7164dd
Fix description of config files User Guide
This PR make consitence User Guide with pip config file
2020-07-25 09:57:45 -03:00
Stéphane Bidoul ccdfa74d79
Reduce reliance on .egg-info directories in test suite
Make more tests run with with_wheel and test
that a .dist-info directory is created.
2020-07-25 13:02:20 +02: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 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