Commit Graph

13660 Commits

Author SHA1 Message Date
Pradyun Gedam 4a8693aa44
Build documentation with Sphinx 6 (#11904) 2023-03-27 19:52:23 +01:00
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
Stéphane Bidoul 0187bf6182
Merge pull request #11886 from sbidoul/clarify-install-report-docs
docs: clarify installation report note
2023-03-27 17:25:27 +02:00
Nikhil Ladha 5c61b2a52c
Configure sphinx-copybutton to strip prompts (#11702) 2023-03-27 16:23:02 +01:00
Pradyun Gedam 20d270d3e2
Tweak the Chronographer configuration (#11906) 2023-03-27 16:21:46 +01:00
Stéphane Bidoul baeb627f3f docs: clarify installation report note
Update a note to reflect the fact that the report format is now stable.
2023-03-27 16:27:34 +02: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
Stéphane Bidoul b0a2841c0a
Merge pull request #11876 from sbidoul/refactor-per-req-global-hash-options-sbi
Refactor per requirement options
2023-03-27 15:46:53 +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 82f1ff0adb Fix type of config_settings arguments 2023-03-27 14:01:36 +02:00
Stéphane Bidoul 5ea358122a Use more kwargs for install_req_from_line
For better readability
2023-03-27 14:01:36 +02:00
Stéphane Bidoul efe9d4b762 Remove unused argument 2023-03-27 14:01:36 +02:00
Stéphane Bidoul 1d9d56ede7 Refactor handling of per requirement options
Move the conversion from options to function arguments up the call chain.
2023-03-27 14:01:36 +02:00
Stéphane Bidoul e4d291c5a7 Combine setuptools and wheel detection in one step
It would be annoying if you see an error about setuptools, install it,
and only be greeted by another error telling you to install wheel.
So we combine the two into one.
2023-03-27 13:52:23 +02:00
Stéphane Bidoul 6adb7af0aa Deprecate --build-option and --global-option 2023-03-27 11:56:16 +01:00
Stéphane Bidoul 8f52335ae5 xfail test with colon in console entry point name
This was supported by setup.py install but not by our wheel
installation logic.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul 3fd8fde14b Remove with_wheel fixture
We install wheel by default in our test env.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul b31a308b08 Fix test_debian_egg_name_workaround
Run setup.py install manually since pip does not do it anymore.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul 053b890e84 Update a few tests for removal of setup.py install
We now look for "Building wheel" instead of "running setup.py install"
2023-03-27 11:55:20 +01:00
Stéphane Bidoul a4c91124ce Update entrypoint tests
console_script entrypoints declarations are stricter when
we don't use setup.py install.
2023-03-27 11:55:20 +01:00
Stéphane Bidoul 7b11b5328b Update test_inspect_basic
wheel is now installed in our test venv by default.
2023-03-27 11:55:20 +01:00
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