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

2293 commits

Author SHA1 Message Date
Stéphane Bidoul 21a0e0eff5 Rename newfragment 2023-03-27 18:19:47 +02:00
Stéphane Bidoul 2cf9db2b5d
Merge pull request #11861 from sbidoul/deprecate-build-global-option-sbi
Deprecate --build-option and --global-option
2023-03-27 17:52:53 +02:00
Nikhil Ladha 5c61b2a52c
Configure sphinx-copybutton to strip prompts (#11702) 2023-03-27 16:23:02 +01:00
Stéphane Bidoul 123e8a4c59
Merge pull request #11871 from sbidoul/always-use-pep517-when-wheel-absent-sbi
Always use pep 517 when the 'wheel' package is absent
2023-03-27 16:21:04 +02:00
Pradyun Gedam 32d66d2c35
Upgrade resolvelib to 1.0.1 (#11879)
Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2023-03-27 13:07:50 +01:00
Stéphane Bidoul 6adb7af0aa Deprecate --build-option and --global-option 2023-03-27 11:56:16 +01:00
Stéphane Bidoul 8a1a8d7915 Always use pep 517 when the 'wheel' package is absent 2023-03-27 11:55:20 +01:00
Roman Donchenko 440487792c
Include AUTHORS.txt in pip's wheels (#11882) 2023-03-27 11:34:43 +01:00
Juan Luis Cano Rodríguez 973113154b
Present found conflicts when discarding some criterion (#10937) 2023-03-26 14:39:12 +01:00
Stéphane Bidoul a04748db8e Remove support for the deprecated --install-options 2023-03-18 11:20:51 +01:00
Stéphane Bidoul 9d09b85452
Merge pull request #11860 from sbidoul/rm-no-binary-implies-setuptools-install-sbi
Stop `--no-binary` implying `setup.py install`
2023-03-18 11:16:24 +01:00
Stéphane Bidoul 6ca4dbbb62
Merge pull request #11839 from WilliamDEdwards/fix/add-ssh-user-to-git-ssh
Add SSH username to Git over SSH documentation example
2023-03-18 10:44:40 +01:00
Filipe Laíns e58fac1086
Fix typo in the #11681 news entry
Signed-off-by: Filipe Laíns <lains@riseup.net>
2023-03-17 21:24:55 +00:00
Filipe Laíns 1268487cba
Support passing the same key multiple times in --config-settings (#11853) 2023-03-17 21:23:19 +00:00
Tzu-ping Chung 5c3d1fed4a
Merge pull request #11698 from Darsstar/keyring-multi-choice 2023-03-15 18:07:07 +08:00
Matthew Feickert 9a82bdfc52 Quote extras to guard shells with glob qualifiers
* Shells like zsh have glob qualifiers that will error if an extra
  is not quoted. While the glob qualifiers can be disabled, adding
  quotes guards against errors if people are copy-pasting or do not
  know that they can disable the behavior.
* Use single quotes for Linux/Mac and use double quotes for Windows
  to follow existing style conventions.
2023-03-14 00:22:15 -05:00
Stéphane Bidoul 5189a6e0f4 --no-binary does not imply setup.py install anymore 2023-03-12 17:18:53 +01:00
William Edwards e0e54e3255 Add NEWS file 2023-03-05 12:17:57 +01:00
Damian Shaw 4b14e7cd7c
Remove no longer needed setuptools hack (#11837) 2023-03-05 09:05:41 +00:00
Filipe Laíns 30fd549c77
Add -C as a short version of --config-settings (#11786)
Signed-off-by: Filipe Laíns <lains@riseup.net>
2023-02-28 00:33:06 +00:00
Guillaume Seguin c546c99480 Display dependency chain on each Collecting line
This tremendously helps understand why a package is being fetched and
can help investigate and fix dependency resolver backtracking issues
when incoherent constraints/package sets are provided or when new
versions of a package trigger a completely different backtracking
strategy, leading to very hard to debug situations.
2023-02-23 18:12:08 -08:00
Dos Moonen 6affad8032 Merge branch 'main' into keyring-multi-choice
# Conflicts:
#	src/pip/_internal/network/auth.py
2023-02-21 14:02:32 +01:00
Michael Mintz 6ce2afb210 Add the news fragment for SECURITY.md 2023-02-20 11:09:59 -05:00
Pradyun Gedam 031d6ec3f8
Merge pull request #11689 from pradyunsg/update-setuptools 2023-02-20 04:49:50 +00:00
Pradyun Gedam 45e5c418da
Drop news fragments from 23.0.1 2023-02-17 18:17:07 +00:00
Pradyun Gedam 39d28cc8b5
Merge branch 'main' into update-setuptools 2023-02-13 10:10:34 +00:00
Stéphane Bidoul 852deddb9c
Merge pull request #11775 from pelson/doc/prefix-warning
Document the limitations of the pip install --prefix argument
2023-02-11 15:14:30 +01:00
Tzu-ping Chung e399d7d4ed
Doc formatting 2023-02-09 20:21:11 +08:00
Phil Elson f12a2ef2a2 Include a news item for the documentation change 2023-02-09 13:17:07 +01:00
Pradyun Gedam 8dbc2db274
Upgrade resolvelib to 0.9.0 2023-02-06 17:45:51 +00:00
Daniele Nicolodi 7ff4da6e8f
Reconcile computation of isolated build environment paths (#11740)
Use the same code to determine isolated environment paths at
dependency install time and at environment setup time. We do not care
about the exact paths but the paths needs to be consistent at package
installation time and environment setup.

This should fix issues observed on platforms that customize the
installation schemes, such as Debian and Homebrew, where dependency
installation and isolated build environment setup resolved to
different paths.
2023-02-06 11:27:44 +00:00
Stefano Rivera 9abb3c899a
Implement --break-system-packages for EXTERNALLY-MANAGED installations (#11780)
The PEP 668 expects an override mechanism to ease the transition.
This provides an override.

---------

Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2023-02-06 07:06:59 +00:00
Oliver Mannion 62fb64ac96
Ignore PIP_REQUIRE_VIRTUALENV for pip index (#11671)
Ignore PIP_REQUIRE_VIRTUALENV in `pip index`
2023-02-06 07:05:31 +00:00
Stéphane Bidoul e5c88951a0 Do not crash in presence of misformatted hash field in `direct_url.json`. 2023-02-05 00:13:32 +01:00
Pradyun Gedam eb7b4ed62e
Update vendored pkg_resources 2023-02-04 21:18:10 +00:00
Frost Ming 706456c5cf
add news 2023-02-03 09:39:21 +08:00
Tzu-ping Chung 56e5fa3c0f
Merge pull request #11487 from pelson/feature/base-prefix-config 2023-02-01 01:40:09 +08:00
Pradyun Gedam 2c09e9c760
Merge pull request #11529 from mdmintz/main
Fix grammar of the notice that indicates a new release is available
2023-01-31 01:05:53 +00:00
Pradyun Gedam 368c7b4c55
Bump for release 2023-01-30 15:13:08 +00:00
Pradyun Gedam 60ce5c0943
Fix the kind of news fragment 2023-01-30 15:12:52 +00:00
Dos Moonen 33cd541cc4 Make it possible to request a keyring provider: auto, disabled, import or subprocess
Refactored `_get_index_url()` to get integration tests for the subprocess backend working.

Keyring support via the 'subprocess' provider can only retrieve a password, not a username-password combo. The username therefor MUST come from the URL.
If the URL obtained from the index does not contain a username then the username from a matching index is used. `_get_index_url()` does that matching.

The problem this refactoring solves is that the URL where a wheel or sdist can be downloaded from does not always start with the index url. Azure DevOps Artifacts Feeds are an example since it replaces the friendly name of the Feed with the GUID of the Feed. Causing `url.startswith(prefix)` to evaluate as `False`.

The new behaviour is to return the index which matches the netloc and has the longest common prefix of the `path` property of the value returned by `urllib.parse.urlsplit()`. The behaviour for resolving ties is unspecified.
2023-01-30 09:00:59 +01:00
Pradyun Gedam 60a4598440
Merge pull request #11758 from pradyunsg/vendoring-update 2023-01-29 01:36:04 +00:00
Pradyun Gedam 17b73457a1
Upgrade urllib3 to 1.26.14 2023-01-28 22:11:31 +00:00
Pradyun Gedam be20a75c10
Upgrade chardet to 5.1.0 2023-01-28 22:11:31 +00:00
Pradyun Gedam 1c110bede6
Upgrade certifi to 2022.12.7 2023-01-28 22:11:31 +00:00
Pradyun Gedam fb17ee1e91
Upgrade requests to 2.28.2 2023-01-28 22:11:31 +00:00
Pradyun Gedam 85e128b2d9
Upgrade platformdirs to 2.6.2 2023-01-28 22:11:28 +00:00
Pradyun Gedam b5be1da918
Merge pull request #11757 from sbidoul/inspect-and-install-reports-stable-sbi
Declare inspect and install reports formats to be stable
2023-01-28 20:36:28 +00:00
Pradyun Gedam e32ec0a8c3
Merge pull request #11679 from sbidoul/direct_url-hashes-sbi
Allow multiple hashes in direct_url.json
2023-01-28 20:36:01 +00:00
Stéphane Bidoul 46ec9368fb Add news 2023-01-28 14:15:04 +01:00