Diego Ramirez
44b3c90bfd
Complete type annotations in pip/_internal/cli
...
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-06-27 08:36:35 +08:00
Diego Ramirez
95c6f68e88
Merge branch 'pypa:main' into setup.py-annotations
2021-06-26 09:04:40 -05:00
Stéphane Bidoul
089d246241
Merge pull request #10105 from sbidoul/release/21.1.3
...
Release/21.1.3
2021-06-26 11:08:22 +02:00
Stéphane Bidoul
c06bb2ac97
Remove 21.1.3 new fragments
2021-06-26 10:52:38 +02:00
Tzu-ping Chung
e690467a2b
Merge pull request #10083 from uranusjr/resolvelib-0.7.1
2021-06-26 01:46:38 +08:00
Diego Ramirez
9db89376b2
Merge branch 'pypa:main' into setup.py-annotations
2021-06-24 08:18:31 -05:00
Pradyun Gedam
4561b1f182
Merge pull request #10032 from uranusjr/new-resolver-order-projects-by-depth
...
Rework resolution ordering to consider "depth"
2021-06-23 22:05:03 +01:00
Diego Ramirez
b37f3abb9e
Create 10094.trivial.rst
...
This is the news entry for my pull request.
2021-06-23 12:23:00 -05:00
Tzu-ping Chung
7a31c61d62
News for resolvelib 0.7.1
2021-06-23 06:02:15 +08:00
Tzu-ping Chung
288bffc43c
Unify Python project root detection logic
...
A Python project root is now defined as containing a pyproject.toml, or
a setup.py (pre-PEP-517 legacy layout). After this patch, this logic
applies to all checks except parse_editable, where we check for setup.py
and setup.cfg instead since non-setuptools PEP 517 projects cannot be
installed as editable right now.
2021-06-19 15:29:04 +08:00
Tzu-ping Chung
f5f91351e7
Rework resolution ordering to consider "depth"
2021-06-17 05:28:20 +08:00
Tzu-ping Chung
7c3abccd22
Merge pull request #9994 from uranusjr/requires-python-before-other-deps
...
Check Requires-Python before other dependencies
2021-06-15 19:49:13 +08:00
Jacob Walls
c4e83dc01d
Rename empty trivial news entry
2021-06-13 11:41:32 -04:00
Jacob Walls
185120d725
Stop relying on undocumented duck typing by urlunsplit()
...
There are proposals in CPython to enforce correct types (str, bytes, bytearray) in urllib.parse: bpo-19094 and bpo-22234.
2021-06-13 11:33:18 -04:00
Pradyun Gedam
1f21ae5c5a
Merge pull request #10053 from pypa/news/verbosity
2021-06-11 13:36:37 +01:00
Pradyun Gedam
cd52165d6b
Merge pull request #10046 from OBITORASU/long-paths-fix
2021-06-11 12:12:56 +01:00
Pradyun Gedam
c495eab2ac
Incorporate suggested rephrasing
...
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-06-11 12:11:50 +01:00
Pradyun Gedam
119671fc1a
Reword the changelog entry for verbosity changes
2021-06-11 12:07:45 +01:00
Tzu-ping Chung
c16585173b
Merge pull request #9450 from minrk/custom-log-level
2021-06-11 19:05:56 +08:00
Noah Gorny
3751878b42
Implement new command 'pip index versions'
2021-06-11 19:01:14 +08:00
Pradyun Gedam
a90dd11e3f
Merge pull request #10033 from snook92/multi_cred_index_url
2021-06-11 11:59:36 +01:00
Diego Ramirez
6069a3d237
Create 10047.trivial.rst
...
This is the respective news entry for this pull request.
2021-06-08 13:25:10 -05:00
OBITORASU
4dbf953ba2
fix lint issue in docs
2021-06-08 22:31:08 +05:30
OBITORASU
7204b9240d
add news entry for issue 10045
2021-06-08 21:17:21 +05:30
Pradyun Gedam
776238af48
Merge pull request #10044 from domdfcoding/update-six
...
Update vendored six to 1.16.0
2021-06-07 20:52:29 +01:00
Pradyun Gedam
e89dbbd03e
Merge pull request #10031 from FFY00/no-setup-cfg
...
Remove support for setup.cfg only projects
2021-06-07 20:27:40 +01:00
Dominic Davis-Foster
d532a4cf44
Add news entry
2021-06-07 14:42:04 +01:00
Diego Ramirez
1e016d2994
Convert type hint comments into annotations
...
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-06-07 21:19:23 +08:00
Tzu-ping Chung
b38b925400
Merge pull request #9822 from bwoodsend/fix-pip-freeze-git
2021-06-04 18:58:15 +08:00
bwoodsend
f533671b0c
Fix pip freeze to use modern format for git repos ( #9822 )
...
Pip dropped support for `git+ssh@` style requirements (see #7554 )
in favour of `git+ssh://` but didn't propagate the change to
`pip freeze` which resultantly returns invalid requirements.
Fix this behaviour.
Fixes #9625 .
2021-06-03 17:45:56 +01:00
Dirk Stolle
b8e7a70fd5
Fix typos ( #10001 )
2021-06-03 16:44:42 +02:00
Bruno S
c22e15edc8
news/3931.bugfix.rst / fix pre-commit errors
2021-06-02 17:39:44 +02:00
Bruno S
0468eb01a5
3931.bugfix.rst / add double backticks and trailing new line
2021-06-02 16:32:02 +02:00
Paul Moore
3c1d1810dc
Merge pull request #9949 from hroncok/error_msg_missing_record
...
Provide a better error message when uninstalling packages without dist-info/RECORD
2021-06-02 13:31:32 +01:00
Bruno S
6b421bf875
update bugfix description
2021-06-01 23:26:22 +02:00
Bruno S
11259a4d4c
update bugfix description
2021-06-01 23:16:13 +02:00
Tzu-ping Chung
c8638adc5a
Check Requires-Python before other dependencies
...
This makes the resolver fail quicker when there's a interpreter
version conflict, and avoid additional (useless) downloads.
2021-06-02 01:54:44 +08:00
Tzu-ping Chung
57be6a77c5
Merge pull request #9277 from hugovk/hugovk-update-mailmap
2021-06-01 19:39:24 +08:00
Hugo van Kemenade
e620e8ee79
Add content to .trivial file
2021-06-01 11:12:58 +03:00
snook92
9eee1a4755
Issue 3931 news file
2021-05-31 22:34:23 +02:00
Filipe Laíns
47f7c63ed7
remove support for setup.cfg only projects
...
Per the discussion in #9945 .
Signed-off-by: Filipe Laíns <lains@riseup.net>
2021-05-31 13:50:04 +01:00
Ben Darnell
b8f1fcf863
Avoid importing a non-vendored version of Tornado
...
Code depending on this conditional import could break if an old
version of Tornado is present in the environment, rendering pip
unusable.
2021-05-30 11:26:48 -04:00
Diego Ramirez
5ee933aab8
Use "typing.List" as an annotation
...
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-05-25 22:09:27 +08:00
Stéphane Bidoul
72da651285
Drop released news fragments
2021-05-23 12:36:20 +02:00
Tzu-ping Chung
cb301333b7
Merge pull request #9993
...
from uranusjr/exclude-installed-candidate-if-incompatible
2021-05-22 20:49:49 +08:00
Tzu-ping Chung
9b3bbee2b2
Merge pull request #9920 from zip-ignore-timestamp
...
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-05-22 05:10:28 +08:00
Stéphane Bidoul
1f68338370
Merge pull request #9960 from abn/issue/9953
...
Handle standalone pip creation from pip wheel
2021-05-21 23:05:07 +02:00
Stéphane Bidoul
caf55a1f80
Merge pull request #9945 from uranusjr/legacy-egg-info-check-setup-exists
...
Better diagnose when setup.py/cfg cannot be found
2021-05-21 23:00:58 +02:00
Tzu-ping Chung
d18ac6250e
Exclude a known incompatible installed candidate
...
The resolver collects previously known incompatibilites and sends them
to the provider. But previously the provider does not correctly exclude
the currently-installed candidate if it is present in that
incompatibility list, causing the resolver to enter a loop trying that
same candidate. This patch correctly applies incompat_ids when producing
an AlreadyInstalledCandidate and exclude it if its id() is in the set.
2021-05-18 23:00:25 +08:00
Alex Gaynor
722ba2dd16
Added a new fragment
2021-05-17 08:01:04 -04:00