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

2265 commits

Author SHA1 Message Date
Paul Moore bbe83b044a Upgrade platformdirs to 2.5.3 2022-11-12 11:23:34 +00:00
Paul Moore 6bc9ae84c6 Upgrade distro to 1.8.0 2022-11-12 11:23:34 +00:00
Paul Moore 8cda1c34eb Upgrade colorama to 0.4.6 2022-11-12 11:23:34 +00:00
Oliver Freund 4604106ee9
Merge branch 'main' into 10265-updated-documentation-install-options 2022-11-10 21:07:18 -06:00
Tzu-ping Chung 3a1b9da2c9
Merge branch 'main' into main 2022-11-10 17:48:48 +08:00
Judah Rand edc588c48f
Add news 2022-11-09 19:40:59 +00:00
Paul Moore ce3fef7d98 Delete news fragments from release 22.3.1 2022-11-05 15:41:33 +00:00
Tzu-ping Chung 30b4cff198
Fix typos
Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com>
2022-11-03 15:20:47 +08:00
Oliver Freund bfaebd96b9 changed the description of --install_options, since the option is now deprecated 2022-10-28 23:37:56 -05:00
Tzu-ping Chung 2c195f9c2c Fix multi-digit version in entry point replacement
Previously, the special case to generate 'pip' and 'easy_install' entry
points with the correct Python version (e.g. 'pip3.9' on Python 3.9)
only accounted for single-digit version segments, and did not work
correctly on Python 3.10 and up. This was missed when Python 3.10 was
released because we (accidentally) generated wheels that did not need
any such replacements, but was exposed in CPython 3.11.0 since it
bundled pip 22.3 generated against Python 3.10.
2022-10-28 01:51:36 +08:00
Tzu-ping Chung 1e236f4c84 Ignore failing git submodule test for now
Git 2.38.1 patched CVE-2022-39253 by disaling automated fetch against a
file: repository. This breaks git submodule, which is used by a pip
test. Information on how projects relying on automated fetch should
configure git correctly after this change is lacking, so the test is
disabled for now until someone can come up with a better solution.
2022-10-28 00:16:33 +08:00
Michael Mintz 22d401bfb7 Update the news fragment for the grammar fix 2022-10-19 00:07:31 -04:00
Michael Mintz 0e48cae74e
Add a news fragment for the grammar fix 2022-10-19 00:02:05 -04:00
Miro Hrončok fe7948a4a2 Avoid distutils imports in tests
The tests still don't run without distutils
because they require virtualenv < 20 (and virtualenv 16 uses distutils),
but at least they don't import distutils directly now.

Fixes https://github.com/pypa/pip/issues/11521
2022-10-17 19:33:03 +02:00
Paul Moore 0a76da3a94 Bump for release 2022-10-15 11:59:14 +01:00
Pradyun Gedam e86f27fe4e
Merge pull request #11493 from pradyunsg/remove-2020-resolver-opt-in 2022-10-15 11:52:39 +01:00
Paul Moore 1fcc3ce4b5
Merge pull request #11514 from pradyunsg/certifi-update
Update certifi and replace complex certifi patch with a more targetted requests patch
2022-10-15 11:17:53 +01:00
Pradyun Gedam 1b7e5ef34f
Upgrade certifi to 2022.9.24 2022-10-14 11:01:21 +01:00
Pradyun Gedam 4ab07c7e19
Upgrade typing_extensions to 4.4.0 2022-10-11 00:13:45 +01:00
Pradyun Gedam 99eab68bf9
Upgrade pygments to 2.13.0 2022-10-11 00:13:43 +01:00
Pradyun Gedam 2e7f88e71d
Upgrade urllib3 to 1.26.12 2022-10-11 00:13:17 +01:00
Paul Moore 07c86c7947 Upgrade tenacity to 8.1.0 2022-10-10 13:47:44 +01:00
Paul Moore b922e0f660 Upgrade idna to 3.4 2022-10-10 12:22:56 +01:00
Paul Moore 77a0a61722 Upgrade pep517 to 0.13.0 2022-10-10 12:22:56 +01:00
Paul Moore c423e42909 Upgrade distlib to 0.3.6 2022-10-10 12:22:56 +01:00
Jelmer Vernooij d37034ccf4
bazaar: Use lightweight checkouts rather than a full branch clone (#11264) 2022-10-07 19:16:33 +01:00
Pradyun Gedam 7662593941
📰 2022-10-07 11:59:08 +01:00
Paul Moore fe78726b36
Merge pull request #11492 from ret2libc/raise-file-parse-error-no-valueerr
Raise RequirementsFileParseError when missing closing quotation
2022-10-06 14:31:16 +01:00
Riccardo Schirone 3ca52dc55c Raise RequirementsFileParseError when missing closing quotation
shlex.split, used to split options in requirements.txt files, might
raise a ValueError when the input string is not well formed. Catch the
ValueError and re-raise it as a RequirementsFileParseError instead.
2022-10-06 14:36:46 +02:00
Pradyun Gedam 7311c82476
Merge pull request #11359 from sbidoul/deprecate-install-options
Deprecate --install-options
2022-10-06 10:06:48 +01:00
Phil Elson b777bcda81 Add the "base" config level concept, to allow configuration of all virtual environments sharing the same base.
The new functionality serves a use case which was not previously possible with pip configuration files, namely the situation where you have a base Python installation and want to influence the pip configuration for all derivative virtual environments *without* changing the config for all other environments on a machine (global), or for all other environment run by the same user (user). Concretely, this could be used for a centrally managed network mounted filesystem based Python installation, from which multiple users can build virtual environments and inside which a specific pip configuration is needed (e.g. an index URL).
2022-10-06 09:33:38 +02:00
Felipe Peter e6e7c12b6d
Disallow freeze format with pip list --outdated (#11482)
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2022-10-04 10:11:46 +01:00
Tzu-ping Chung 2c89928bfc
Merge pull request #11422 from SCH227/patch-1 2022-10-04 15:18:43 +08:00
Claudio Jolowicz 74dfed55c4
Mark as trivial 2022-10-03 12:00:14 +02:00
Pradyun Gedam a5f4a9f898
Rename 11418.bugfix.rst to 11418.trivial.rst 2022-09-30 15:43:20 +01:00
Sviatoslav Sydorenko a0fac9829c
Introduce a check CI job for branch protection (#11434)
This patch adds a special check-job that produces a clear failure or
success status based on how the dependent jobs are doing. It is
possible to use it in GitHub's branch protection instead of having to
manually add and remove individual job names via the repo settings.

https://github.com/marketplace/actions/alls-green#why
2022-09-29 00:44:25 +01:00
Tzu-ping Chung 0a21080411
Merge pull request #11466 from minrk/build_env_isolation 2022-09-26 11:00:21 +08:00
Stéphane Bidoul a5621a8a81
Deprecate --install-option 2022-09-25 11:21:35 +02:00
Stéphane Bidoul b44a454535
Merge pull request #11452 from sbidoul/deprecate-no-binary-imply-pip-install
Deprecate --no-binary implying setup.py install
2022-09-25 11:06:25 +02:00
Stéphane Bidoul fc355d95be
Merge pull request #11454 from sbidoul/deprecate-no-binary-disable-wheel-cache
Deprecate --no-binary disabling the wheel cache
2022-09-25 11:05:42 +02:00
Min RK 24773bc4f5
Fix build isolation on system Pythons
use site.getsitepackages() where available
instead of just purelib/platlib,
which is often insufficient on e.g. System Pythons for Debian/macOS

handle virtualenv < 20 overwriting site.py without getsitepackages() by preserving current behavior.
2022-09-23 14:47:41 +02:00
Jaime Sanz 7979dc0029
Fix typo in dependency-resolution.md (#11465)
Removes a duplicated word.
2022-09-23 01:07:42 +01:00
Paul Moore 860f9bf57c Add a news file 2022-09-18 11:17:32 +01:00
Stéphane Bidoul f39d38668a
Deprecate --no-binary implying setup.py install 2022-09-17 15:37:04 +02:00
Stéphane Bidoul 08eb492641
Deprecate --no-binary disabling the wheel cache 2022-09-17 15:32:46 +02:00
Danny McClanahan bad03ef931
Use data-dist-info-metadata (PEP 658) to decouple resolution from downloading (#11111)
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2022-09-10 11:28:57 +01:00
Tzu-ping Chung 0930237775
Merge pull request #11318 from q0w/check-binary-exe 2022-08-31 18:25:46 +08:00
Tzu-ping Chung bfbe919fd2
Merge pull request #11277 from vanschelven/respect-no-index-from-requirements-file 2022-08-30 15:47:51 +08:00
M00nL1ght 321018fb93
Create 11418.bugfix.rst 2022-08-30 06:04:32 +03:00
Tzu-ping Chung bd5416151d
Merge pull request #11254 from kasium/issue-11235 2022-08-15 17:05:45 +08:00
Kai Mueller 1413fae8eb Add news 2022-08-14 19:26:08 +00:00
hauntsaninja c0b86d338a no news today 2022-08-12 18:51:47 -07:00
Stéphane Bidoul 7aa49dda69
Merge pull request #11357 from sbidoul/mention-quiet-in-report-option-help
Mention --quiet in --report option help
2022-08-10 18:44:25 +02:00
Stéphane Bidoul ee7bcae0d9
Merge pull request #11331 from sbidoul/8559-take-2-sbi
Deprecate setup.py install fallback when wheel package is absent
2022-08-10 18:43:25 +02:00
Tzu-ping Chung dc8f3a8b7f
Merge pull request #11353 from uranusjr/importlib-metadata-ignore-bad-name 2022-08-10 16:43:29 +08:00
Stéphane Bidoul 77da6ae52c
Mention --quiet in --report option help 2022-08-07 11:47:22 +02:00
Stéphane Bidoul ae802e3e66
Deprecate setup.py install fallback when wheel package is absent 2022-08-06 19:33:30 +02:00
Paul Moore 9473e83aa6
Merge pull request #11320 from pfmoore/python_option
Add a --python option
2022-08-06 15:24:23 +01:00
Tzu-ping Chung 6817fbfb1f Skip dist if metadata does not have a valid name 2022-08-06 06:18:59 +08:00
Stéphane Bidoul 2009007caf
Remove 22.2.2 news files 2022-08-03 20:44:11 +02:00
Stéphane Bidoul 82c23d9198
Merge pull request #11333 from sbidoul/revert-11229-sbi
Revert "PipDeprecationWarning subclass DeprecationWarning"
2022-08-01 16:20:16 +02:00
q0w 6354192e2e Fix news 2022-08-01 14:28:59 +03:00
Paul Moore 0d6fadac6c Merge branch 'main' into python_option 2022-08-01 09:43:55 +01:00
Paul Moore f47a2048ff
Merge pull request #11250 from pfmoore/test_zipapp
Add a --use-zipapp option to the test suite
2022-08-01 09:14:00 +01:00
Stéphane Bidoul d5317f2778
Revert "PipDeprecationWarning subclass DeprecationWarning"
This reverts commit f1bc96a4a3.
2022-07-31 17:34:39 +02:00
Paul Moore b1eb91204e Added documentation 2022-07-30 16:12:42 +01:00
Stéphane Bidoul 56dcb7f3af
Merge pull request #11324 from sbidoul/better-11103
Import distutils only if needed, but sooner
2022-07-30 11:02:30 +02:00
Stéphane Bidoul db47515958
Import distutils only if needed, but sooner 2022-07-30 10:28:09 +02:00
Tzu-ping Chung 74f850db94
Merge pull request #11315 from bdrosen96/brett/fix_pip_attribute 2022-07-30 09:52:30 +08:00
Brett Rosen 50eb337a0f Ensure that removing shim in older setuptools does not error 2022-07-29 16:53:32 -04:00
Pradyun Gedam 89983e9ad9 Use shell=True for opening the editor with pip config edit
This makes the behavior compatible with git and other tools that invoke
the editor in this manner.
2022-07-29 14:53:23 +01:00
Paul Moore 95cf55bf18 Add a news file 2022-07-28 14:35:27 +01:00
q0w 0f8243ff5e Add news 2022-07-28 14:23:38 +03:00
Paul Moore 662f940c96 Merge branch 'main' into test_zipapp 2022-07-28 10:51:04 +01:00
Stéphane Bidoul 61bdbe0d66
Bump for release 2022-07-27 19:18:11 +02:00
Pradyun Gedam fcb0c84116
Merge pull request #11298 from pradyunsg/remove-distutils-shim 2022-07-27 00:14:06 +01:00
Pradyun Gedam a14f1412ce
📰 2022-07-26 19:39:41 +01:00
Klaas van Schelven f2c49cdbad Add news article 2022-07-25 14:47:10 +02:00
q0w 52af2ea5b8 Send the pip upgrade prompt to stderr 2022-07-22 05:04:09 +03:00
Stéphane Bidoul 8e7e76e60f
Bump for release 2022-07-21 10:28:01 +02:00
Klaas van Schelven 58c05735ea Add news entry 2022-07-20 16:01:07 +02:00
Tzu-ping Chung b1a01ef762
Merge pull request #11265 from finnagin/main 2022-07-19 15:53:00 +08:00
Stéphane Bidoul a7a35dc20d
Merge pull request #11245 from sbidoul/pip-inspect-sbi
Add pip inspect command
2022-07-18 08:10:07 +02:00
Stéphane Bidoul 73667ebe3a
Upgrade certifi to 2022.6.15 2022-07-17 01:05:58 +02:00
Stéphane Bidoul c5afcf47cb
Upgrade chardet to 5.0.0 2022-07-17 01:05:13 +02:00
Stéphane Bidoul 6c3853a325
Upgrade requests to 2.28.1 2022-07-17 01:04:56 +02:00
Stéphane Bidoul 51bb14be87
Upgrade typing_extensions to 4.3.0 2022-07-16 20:24:30 +02:00
Stéphane Bidoul 69e60a5b93
Upgrade pygments to 2.12.0 2022-07-16 20:24:30 +02:00
Stéphane Bidoul 373fca928e
Upgrade rich to 12.5.1 2022-07-16 20:24:30 +02:00
Stéphane Bidoul 73290afb56
Upgrade urllib3 to 1.26.10 2022-07-16 20:24:30 +02:00
Stéphane Bidoul b3dc8435ba
Upgrade pyparsing to 3.0.9 2022-07-16 20:24:30 +02:00
Stéphane Bidoul f341a3b9ac
Upgrade msgpack to 1.0.4 2022-07-16 20:24:29 +02:00
Stéphane Bidoul fd0ea6bc5e
Upgrade distlib to 0.3.5 2022-07-16 20:24:29 +02:00
Stéphane Bidoul 0d3f03caba
Upgrade colorama to 0.4.5 2022-07-16 20:24:29 +02:00
Stéphane Bidoul d3a318fe59
Remove vendored html5lib. 2022-07-16 19:37:11 +02:00
Stéphane Bidoul bb2a3d7410
Remove the html5lib deprecated feature flag. 2022-07-16 19:37:11 +02:00
finnagin 441cf1d521 add trivial news file 2022-07-15 14:34:57 -07:00
Donald Stufft cdc2582ac9 Add a news entry 2022-07-15 17:22:46 -04:00
Stéphane Bidoul 585136494e
Add pip inspect command 2022-07-15 14:08:38 +02:00
Stéphane Bidoul d830c96403
Merge pull request #10771 from sbidoul/install-report-sbi
Installation/resolution report (aka pip install --dry-run --report)
2022-07-15 12:29:06 +02:00