Jon Dufresne
8662248774
Always close stderr after subprocess completion in call_subprocess()
...
When running Python with warnings enabled, fixes warnings of the form:
.../site-packages/pip/_internal/vcs/versioncontrol.py:773: ResourceWarning: unclosed file <_io.BufferedReader name=12>
return call_subprocess(cmd, cwd,
2020-11-21 07:35:11 -08:00
Pradyun Gedam
74b1db4f64
Upgrade toml to 0.10.2
2020-11-19 18:49:54 +00:00
Pradyun Gedam
910b304a97
Upgrade resolvelib to 0.5.2
2020-11-19 18:38:04 +00:00
Pradyun Gedam
e76b1ddeaa
Upgrade urllib3 to 1.26.2
2020-11-19 18:38:04 +00:00
Pradyun Gedam
b08c4d5f3f
Upgrade certifi to 2020.11.8
2020-11-19 18:38:04 +00:00
Pradyun Gedam
1604ac4737
Upgrade requests to 2.25.0
2020-11-19 18:38:04 +00:00
Pradyun Gedam
1c6a119529
Upgrade pep517 to 0.9.1
2020-11-19 18:38:04 +00:00
Pradyun Gedam
ca6095bfb3
Upgrade colorama to 0.4.4
2020-11-19 18:38:04 +00:00
Pradyun Gedam
5eae3c9235
Merge pull request #9040 from ei8fdb/include-backtracking-in-user-guide
2020-11-15 00:28:03 +05:30
Pradyun Gedam
c09549caff
Merge pull request #9101 from uranusjr/new-resolver-error-message-dedup
...
Use set to dedup package list in error message
2020-11-14 23:56:55 +05:30
Noah Gorny
62868dca5f
news: Add --unstable-feature removal news fragment
2020-11-14 12:08:17 +02:00
Tzu-ping Chung
657d91f672
Reorder and revise installation docs
...
An additional section is added to instruct the user to self-check
whether pip is installed before proceeding.
The Linux package manager section is moved to the front to encourage
users to try that first before learning about get-pip.py, which tends to
provide seemingly working but subtly broken results there. A paragraph
is added to the section to instruct users to report issues to package
managers instead.
A new section on enturepip is added as an alternative to get-pip.py,
which is almost guarenteed to be available at this point.
2020-11-14 05:37:03 +08:00
Tzu-ping Chung
bf55229fc6
Use set to dedup package list in error message
2020-11-04 21:29:19 +08:00
Tzu-ping Chung
69a95cf391
Tie-break requirements with package name
...
This makes the ordering deterministic to improve debugging and user
experience.
2020-11-04 21:23:40 +08:00
Tzu-ping Chung
d08b4d99e2
Use packaging.version to check version equality
2020-11-03 16:04:35 +08:00
Pradyun Gedam
4a4b79afb4
Bump for release
2020-10-31 23:33:50 +05:30
Pradyun Gedam
a0e34e9cf7
Merge pull request #9073 from xavfernandez/freeze_list_exclude
...
Add --exclude option to pip freeze and pip list commands
2020-10-31 15:25:53 +05:30
Xavier Fernandez
4ba4e21419
Explicitly state that pip/_vendor/vendor.txt should be available
2020-10-30 22:33:40 +01:00
Xavier Fernandez
9725229888
Add --exclude option to pip freeze and pip list commands
2020-10-30 21:50:59 +01:00
Pradyun Gedam
cdc5422ed5
Merge pull request #9019 from pradyunsg/flip-the-switch-on-new-resolver
2020-10-31 00:36:32 +05:30
Pradyun Gedam
47c8d38bd9
📰
2020-10-30 23:08:51 +05:30
Pradyun Gedam
9a62dd87d8
Merge pull request #9070 from xavfernandez/deprecate_find_links
2020-10-30 23:05:21 +05:30
Xavier Fernandez
c33cf49381
freeze: deprecate option --find-links
2020-10-30 13:41:27 +01:00
Paul Moore
58d8c2dcc7
Merge pull request #9015 from McSinyx/travis39
...
Test against Python 3.9 on Travis CI
2020-10-30 09:51:49 +00:00
Sumana Harihareswara
5393032025
Improve docs on resolver, constraints, and hash-checking
...
Related to #9020 .
2020-10-29 13:49:08 -04:00
Sumana Harihareswara
3a20399d93
Update user guide to change resolver default
...
In pip 20.3, the new resolver will be the default.
Therefore, this commit updates user docs to change
instructions for testing, migration, etc.
Towards #8937 .
2020-10-28 23:22:17 -04:00
Nguyễn Gia Phong
60ae3e8759
Test against Python 3.9 on Travis CI
2020-10-28 21:05:58 +07:00
Pradyun Gedam
00e531a16e
Merge pull request #9017 from pradyunsg/backtracking-messaging
2020-10-28 18:25:29 +05:30
Daniel Katz
1037227034
Rename news-file to use new *.rst convention.
2020-10-27 19:00:22 -04:00
Daniel Katz
abf987bde3
Use 'append'-style CLI arguments, rather than ','-separated values.
2020-10-27 19:00:22 -04:00
Daniel Katz
cea9f32dae
Support multiple abi
and platform
values for pip download
.
2020-10-27 19:00:22 -04:00
Pradyun Gedam
a0ec4be98b
Merge pull request #8666 from uranusjr/rmtree-unicode-use-file-system-encoding
...
Only do the ensure_text() dance on Windows
2020-10-27 23:14:39 +05:30
Paul Moore
97e2c7a345
Add news entry
2020-10-27 15:24:36 +00:00
Pradyun Gedam
b39aeeb6df
Merge pull request #9050 from sbidoul/fix-freeze-direct_url-editable-sbi
2020-10-27 19:34:10 +05:30
Pradyun Gedam
9a1f790951
📰
2020-10-27 19:32:36 +05:30
Tzu-ping Chung
94fbb6cf78
Only do the ensure_text() dance on Windows
...
POSIX is problematic when the environment is not configured properly.
2020-10-27 21:40:39 +08:00
Bernard Tyers
ca63189b60
Update news/9039.doc.rst
...
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2020-10-26 14:52:58 +01:00
Stéphane Bidoul
89b765db96
Update news/8996.bugfix.rst
...
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2020-10-26 12:16:37 +01:00
Stéphane Bidoul
d5a2007e8f
Avoid AssertionError in pip freeze with editable direct URLs
2020-10-25 15:18:02 +01:00
Bernard
d185aea3e1
updating
2020-10-23 15:27:20 +02:00
Bernard
e28f30d070
Adding news file for #9309
2020-10-23 15:26:41 +02:00
Nguyễn Gia Phong
279e735969
Update docs for less common news extension
...
Namely trivial, vendor and process. These were missed
during the trasition to *.rst news fragment.
2020-10-19 22:37:10 +07:00
Pradyun Gedam
4e26bf22f5
Merge pull request #8971 from McSinyx/ci39
2020-10-19 19:23:49 +05:30
Pradyun Gedam
47bea8aa27
Delete news fragments from pip 20.2.4
2020-10-16 18:25:19 +05:30
Tzu-ping Chung
270e183718
News
2020-10-13 16:12:11 +08:00
Nguyễn Gia Phong
da7569a440
Document and start testing Python 3.9 support
...
At first use it for GitHub Action for linting.
2020-10-12 17:37:23 +07:00
Noah Gorny
7e02958a1e
Add news fragment for 8963
2020-10-10 02:23:08 +03:00
Nguyễn Gia Phong
b28e2c4928
New resolver: Avoid polluting dest dir
...
Previously, during dependency resolution for `pip download -d <dir>`
or `pip wheel -w <dir>`, distributions downloaded are always saved
to <dir>, even for those are only used in backtracking and are not
part of the returned requirement set.
2020-10-07 13:42:21 +07:00
Nguyễn Gia Phong
234bcf6c11
Enforce news/*.rst
2020-10-06 21:36:19 +07:00
Pradyun Gedam
a0f2f2cd5f
Merge pull request #8942 from brainwane/docs-8661
...
docs: Add how to default to new resolver
2020-10-06 18:56:56 +05:30