1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

11976 commits

Author SHA1 Message Date
Taneli Hukkinen d2e0c4c429 Fix outdated paths in vendoring README 2021-07-02 00:32:16 +03:00
Taneli Hukkinen 3ba1951705 Unvendor no longer used toml 2021-07-02 00:29:55 +03:00
Taneli Hukkinen af79d0d393 Replace use of vendored toml in tests with PyPI toml 2021-07-02 00:21:00 +03:00
Taneli Hukkinen b778db5372 Replace toml usage with tomli 2021-07-02 00:17:47 +03:00
Taneli Hukkinen e68ac94595 Vendor tomli v1.0.3 2021-07-02 00:11:35 +03:00
Pradyun Gedam bef589d8cb
Merge pull request #9687 from afolksetapart/9686-default-uninstall
Make yes the default choice in `pip uninstall`'s prompt
2021-06-30 22:10:49 +01:00
Pradyun Gedam 1b758127f5
Merge pull request #10112 from pradyunsg/add-venv-to-gitignore
Add `.venv` to `.gitignore`
2021-06-29 20:29:52 +01:00
Pradyun Gedam a5ea1d8d50 Add .venv to .gitignore
This directory is a fairly common virtual environment name, and,
more importantly, is used by GitHub Codespaces as their default virtual
environment path without adding it to a global gitignore.
2021-06-29 19:21:12 +00:00
Joe Michelini 197392ca3d Update src/pip/_internal/req/req_uninstall.py
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2021-06-29 06:14:42 -04:00
Joe Michelini c7c4ade601 Update news/9686.feature.rst
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2021-06-29 06:14:42 -04:00
Joe Michelini bf7ae72ff7 add newline to news rst 2021-06-29 06:14:42 -04:00
Joe Michelini 0a08cf98b6 add default proceed to uninstall 2021-06-29 06:14:42 -04:00
Joe Michelini 6a346a4948 add default proceed to uninstall 2021-06-29 06:14:42 -04:00
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
Tzu-ping Chung 9c2c52bdbd
Merge pull request #10094 from DiddiLeija/setup.py-annotations 2021-06-27 08:16:17 +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
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 1d010c077f
Merge pull request #10103 from pradyunsg/update-to-libera
Update IRC links to libera.chat
2021-06-26 08:07:48 +01:00
Tzu-ping Chung e690467a2b
Merge pull request #10083 from uranusjr/resolvelib-0.7.1 2021-06-26 01:46:38 +08:00
Pradyun Gedam 4fe94078d5 Update IRC links to libera.chat 2021-06-25 15:45:45 +01:00
Pradyun Gedam 97bab9f23f Add topic guide: Dependency Resolution 2021-06-25 13:08:03 +01:00
Pradyun Gedam b9d27d6d28 Add topic guide: Repeatable Installs 2021-06-25 11:58:02 +01:00
Pradyun Gedam 80285c686f Correctly look up os.devnull reference 2021-06-25 11:14:29 +01:00
Pradyun Gedam 9cd3d5d547 Drop old VCS support section and update links 2021-06-25 11:14:12 +01:00
Pradyun Gedam ad8a1b8da0 Add topic guide: VCS Support 2021-06-25 11:13:03 +01: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
Diego Ramirez 189f63ac12
Fix the annotations for setup.py
I have been converting type commentaries into annotations. For now, I'll fix some annotations from `setup.py`.
2021-06-23 12:20:20 -05:00
Tzu-ping Chung 7a31c61d62
News for resolvelib 0.7.1 2021-06-23 06:02:15 +08:00
Tzu-ping Chung 8316051299 Upgrade resolvelib to 0.7.1 2021-06-22 21:56:35 +08: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 62f481679a Move "Link requires a different Python" to verbose 2021-06-20 05:21:11 +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
Inada Naoki f6a63eb082 Add NEWS fragment 2021-06-16 12:22:36 +09:00
Inada Naoki 9e220c6f3d
Use UTF-8 for log file 2021-06-16 11:17:28 +09: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