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

13660 commits

Author SHA1 Message Date
Hugo van Kemenade 25a056dae6 Replace deprecated BadZipfile with BadZipFile 2023-03-12 18:55:38 +02: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
William Edwards 5296a234c8 Add SSH username to Git over SSH documentation example
```

(testvenv) williams-air:testvenv williamedwards$ pip3 install 'foobar @ git+ssh://example.com/foobar'
    fatal: '/foobar' does not appear to be a git repository
    fatal: Could not read from remote repository.

(testvenv) williams-air:testvenv williamedwards$ pip3 install 'foobar @ git+ssh://git@example.com/foobar'
...
Successfully installed foobar-0.0
```
2023-03-05 12:10:53 +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
Pradyun Gedam 61e85bf279
Merge pull request #11169 from iXce/display_collection_comes_from
Display dependency chain on each Collecting line
2023-02-24 09:21:20 +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
Pradyun Gedam 5e20a7bddc
Merge pull request #11809 from mdmintz/patch-1
Create SECURITY.md to make the policy official
2023-02-20 16:24:24 +00:00
Michael Mintz 1d0d5d4de4 Add SECURITY.md to MANIFEST.in 2023-02-20 11:14:10 -05:00
Michael Mintz 6ce2afb210 Add the news fragment for SECURITY.md 2023-02-20 11:09:59 -05:00
Michael Mintz 816cc815ec
Create SECURITY.md to make the policy official 2023-02-20 10:37:15 -05:00
Pradyun Gedam 031d6ec3f8
Merge pull request #11689 from pradyunsg/update-setuptools 2023-02-20 04:49:50 +00:00
Pradyun Gedam 87660ea407
Merge pull request #11807 from pradyunsg/release/23.0.1 2023-02-17 18:33:37 +00:00
Pradyun Gedam 45e5c418da
Drop news fragments from 23.0.1 2023-02-17 18:17:07 +00:00
Pradyun Gedam 2c68bb14dd
Merge branch 'main' into release/23.0.1 2023-02-17 18:15:24 +00:00
Pradyun Gedam 110cd77b3d
Bump for development 2023-02-17 18:15:15 +00:00
Pradyun Gedam 3817aef07f
Bump for release 2023-02-17 18:15:15 +00:00
Daniele Nicolodi 9a0d9301c2
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-17 18:14:59 +00:00
Stefano Rivera e6deb9b87c
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-17 18:14:45 +00:00
Oliver Mannion 864fd7764b
Ignore PIP_REQUIRE_VIRTUALENV for pip index (#11671)
Ignore PIP_REQUIRE_VIRTUALENV in `pip index`
2023-02-17 18:14:34 +00:00
Pradyun Gedam 0138bd54c6
Merge pull request #11779 from sbidoul/fix-direct_url-invalid-hash-sbi
Do not crash in presence of misformatted hash field in ``direct_url.json``
2023-02-17 18:14:20 +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 8b7955d499
Merge pull request #11782 from pradyunsg/better-vendoring 2023-02-08 10:18:16 +00:00
Pradyun Gedam 5a9efdeb3f
Merge pull request #11783 from pradyunsg/resolvelib-update
Upgrade resolvelib to 0.9.0
2023-02-07 11:58:58 +00:00
Tobias Hermann 8844795f45
Fix minor typo in features list of version 23.0 (#11785) 2023-02-07 07:03:08 +00:00
Pradyun Gedam 4f455ae0b0
Drop an unused type: ignore comment 2023-02-06 17:45:51 +00:00
Pradyun Gedam 88cccfc142
Handle backtracking -> rejecting_candidate change
This is a newer method on resolvelib's end for reporting when a
candidate is rejected.
2023-02-06 17:45:51 +00:00
Pradyun Gedam 8dbc2db274
Upgrade resolvelib to 0.9.0 2023-02-06 17:45:51 +00:00
Pradyun Gedam 6245fedc9d
Make resolvelib's provider capable of handling empty iterators
This is _technically_ possible with the API, and accounting for that
enables the resolver to evolve with this information.
2023-02-06 17:45:51 +00:00
Pradyun Gedam a373982a0c
Implement package-selection CLI in nox -s vendoring
This makes it easier to update/not update certain packages.
2023-02-06 17:34:10 +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
Phil Elson a2b0eb6838 Document the limitations of the pip install --prefix argument, and cross-reference the --python flag, which can be harder to find due to it being a pip level argument 2023-02-06 09:14:52 +01: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
Pradyun Gedam 85da66d06b
Ignore mypy errors in logic from jaraco.text 2023-02-05 11:40:15 +00:00
Pradyun Gedam 684521fbb4
Merge pull request #11779 from sbidoul/fix-direct_url-invalid-hash-sbi
Do not crash in presence of misformatted hash field in ``direct_url.json``
2023-02-05 09:50:13 +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
Pradyun Gedam 6a416d281e
Merge pull request #11774 from frostming/fix/keyring
fix: correct the way to decide if keyring is available
2023-02-03 18:05:04 +00:00
Frost Ming 2d0a5c9cd2
use a attribute to tell if the provider is null 2023-02-03 15:33:55 +08:00
Frost Ming 706456c5cf
add news 2023-02-03 09:39:21 +08:00
Frost Ming 9058b90021
fix: correct the way to decide if keyring is available 2023-02-03 09:32:53 +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 3af9fd4f08
Merge pull request #11768 from pradyunsg/release/23.0 2023-01-30 23:09:36 +00:00