Commit Graph

11840 Commits

Author SHA1 Message Date
Stéphane Bidoul 41aa9f38bb
Merge branch 'main' into release/21.1.3 2021-06-26 10:51:28 +02:00
Stéphane Bidoul 5cf74b23cf
Bump for development 2021-06-26 10:48:35 +02:00
Stéphane Bidoul e69a8f3987
Bump for release 2021-06-26 10:48:30 +02:00
Filipe Laíns c141edc5c9
remove support for setup.cfg only projects
Per the discussion in #9945.

Signed-off-by: Filipe Laíns <lains@riseup.net>
2021-06-26 10:47:33 +02:00
Ben Darnell 363e90b62c
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-06-26 10:46:09 +02:00
Pradyun Gedam 4cab55f48e
Rephrase the warning printed when run as root on Unix
The earlier warning phrasing has some awkwardness and doesn't clearly
explain why this action is potentially harmful. The change from
"you should" to "it is recommended" is also intentional, to take a
different tone.
2021-06-26 10:43:35 +02: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
Tzu-ping Chung 4704da4dad
Merge pull request #10082 from uranusjr/setup-py-freeze
Unify Python project root detection logic
2021-06-20 05:37:49 +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
Tzu-ping Chung c44b23c0d7
Merge pull request #10064 from jacobtylerwalls/urlunsplit-explicit-type 2021-06-14 00:41:56 +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 ece6a2cdd9
Merge pull request #10056 from pradyunsg/topic/configuration 2021-06-11 16:28:17 +01:00
Pradyun Gedam 0ab159a3f2 Add topic guide: Configuration 2021-06-11 16:26:24 +01:00
Pradyun Gedam 330cfa38e2 Enable definition lists in MyST
This is useful for presenting content.
2021-06-11 16:26:24 +01:00
Pradyun Gedam 498d80082f
Merge pull request #10054 from pradyunsg/topic/caching 2021-06-11 16:26:00 +01:00
Pradyun Gedam d63f06a881 Add a topic guide: Caching 2021-06-11 16:20:09 +01:00
Pradyun Gedam 9e1a92e3fe
Merge pull request #10024 from pradyunsg/remove-old-docs-pages
Remove old documentation pages
2021-06-11 13:40:04 +01:00
Pradyun Gedam b1991d57bd
Merge pull request #10026 from pradyunsg/fix-missing-reference
Add a missing reference in the documentation
2021-06-11 13:39:58 +01: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 4e37816b82
Merge pull request #10051 from pradyunsg/fix-docs-trivial-mistakes 2021-06-11 12:12:13 +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
Pradyun Gedam 6ad334b864
Merge pull request #10047 from DiddiLeija/noxfile.py-annotations-1 2021-06-11 11:55:28 +01:00
Pradyun Gedam de8882808b Fix typo in version added directive 2021-06-11 11:44:39 +01:00
Pradyun Gedam 9687f4598f Add an intersphinx link, to compatibility section
This was being used in a different part of our documentation.
2021-06-11 11:44:26 +01:00
Pradyun Gedam 5bc83d44a3 Fix typo in redirect to topics/authentication 2021-06-11 11:43:47 +01:00
Min RK c87af08422 use setLoggerClass to define log.verbose
loaded in pip._internals.__init__

must use utils.logging.getLogger to get the right type annotation
instead of logging.getLogger, despite no actual difference in behavior
2021-06-11 11:59:51 +02:00
OBITORASU 7a64c944b8 minor rephrasing of message 2021-06-11 15:13:53 +05:30
OBITORASU 9f0338a416 fix typo 2021-06-11 10:49:48 +05:30
OBITORASU 9ba78c964e change wordings for the info message 2021-06-09 11:19:46 +05:30
OBITORASU 1458166a28 fix the wordings 2021-06-09 01:10:01 +05:30
OBITORASU 560d2e97ae move the check to create_os_error_message 2021-06-09 01:05:54 +05:30
OBITORASU 67dcdf5e11 use error.filename, remove padding and shorten url 2021-06-09 00:53:17 +05:30
OBITORASU 45930078a6 use error.filename instead of error 2021-06-09 00:33:23 +05:30
OBITORASU 5e2c0cc8f7 add check to verify error.filename is not none 2021-06-09 00:30:29 +05:30
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
Diego Ramirez b0626f61da
Make proper annotations on `noxfile.py`
As I said on the pypa PR 10018, it is necessary to convert the commentaries into proper annotations.
2021-06-08 13:19:10 -05:00
OBITORASU 4dbf953ba2 fix lint issue in docs 2021-06-08 22:31:08 +05:30
OBITORASU fe4ab16d3f add reference link and extra checks 2021-06-08 22:30:47 +05:30
OBITORASU e22799bd8e update padding around default limit 2021-06-08 21:57:16 +05:30
OBITORASU 5c73594153 change message to error 2021-06-08 21:40:45 +05:30
OBITORASU 7204b9240d add news entry for issue 10045 2021-06-08 21:17:21 +05:30
OBITORASU 9cbe7f60ad Warning for user when Windows path limit is exceeded 2021-06-08 21:09:09 +05:30