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

13638 commits

Author SHA1 Message Date
Stéphane Bidoul 04e1ab071d Update test_install_package_that_emits_unicode
Adapt to the removal of the setup.py install code path.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul a38865597d Update test_install_subprocess_output_handling 2023-03-27 11:55:20 +01:00
Stéphane Bidoul b11e8e4343 Test presence of dist-info instead of egg-info 2023-03-27 11:55:20 +01:00
Stéphane Bidoul 23cc3d523b Always install wheel in test venvs 2023-03-27 11:55:20 +01:00
Stéphane Bidoul 1a0b7f47a0 Remove test_installed_files_recorded_in_deterministic_order
This test will become useless anyway when we remove setup.py install
support.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul 8a1a8d7915 Always use pep 517 when the 'wheel' package is absent 2023-03-27 11:55:20 +01:00
Miro Hrončok ade38264b2
Make sphinx.ext.extlinks captions actual string templates (#11883) 2023-03-27 11:54:27 +01:00
Roman Donchenko 440487792c
Include AUTHORS.txt in pip's wheels (#11882) 2023-03-27 11:34:43 +01:00
Stéphane Bidoul 82b42c80f9
xfail test_pip_wheel_ext_module_with_tmpdir_inside (#11895) 2023-03-27 11:33:11 +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 8271fdb349
Merge pull request #11763 from sbidoul/direct-url-hashes-part-2-sbi
Refine direct URL spec links in install report and inspect docs
2023-03-22 10:14:41 +01:00
Stéphane Bidoul 88b1ce5eec Add a few back quotes in docs 2023-03-22 10:11:06 +01:00
Stéphane Bidoul 711b5ac6fd
Merge pull request #11873 from sbidoul/simplify-check_legacy_setup_py_options
Simplify check_legacy_setup_py_options
2023-03-18 16:03:52 +01:00
Stéphane Bidoul 7047330b0b Simplify check_legacy_setup_py_options 2023-03-18 15:26:43 +01:00
Stéphane Bidoul e798211e5d
Merge pull request #11858 from sbidoul/rm-install-options-sbi
Remove deprecated `--install-option`
2023-03-18 11:51:54 +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
Stéphane Bidoul afb743c01c Update direct URL spec links 2023-03-18 10:28:32 +01:00
Paul Moore e1f353f8c6
Merge pull request #11870 from FFY00/fix-typo-1
Fix typo in the #11681 news entry
2023-03-17 21:46:06 +00: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
Tzu-ping Chung 85eb40dd6a
Merge pull request #11842 from matthewfeickert/feat/quote-extras-to-guard-aginst-globbing-shells 2023-03-14 13:41:49 +08:00
Matthew Feickert ced45695a0 Quote all install command components that aren't a bare package name
* As a means to make things easier for new users, quote everything in
  a `pip install` command that is part of a package that isn't just
  a bare package name.
* 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
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
Sviatoslav Sydorenko 83c800d3b8
🔧 Add an explicit Chronographer config (#11848) 2023-03-12 19:25:47 +00:00
Stéphane Bidoul 08fe0031ed
Merge pull request #11862 from hugovk/replace-deprecated-BadZipfile
Replace deprecated `BadZipfile` with `BadZipFile`
2023-03-12 18:55:13 +01:00
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