Pradyun Gedam
368c7b4c55
Bump for release
2023-01-30 15:13:08 +00:00
Pradyun Gedam
d21af1c986
Bump for development
2023-01-30 15:13:08 +00:00
Pradyun Gedam
aa94ccadb4
Update AUTHORS.txt
2023-01-30 15:13:07 +00:00
Pradyun Gedam
60ce5c0943
Fix the kind of news fragment
2023-01-30 15:12:52 +00:00
Tzu-ping Chung
a840f1d10c
Merge branch 'main' into keyring-multi-choice
2023-01-30 17:11:04 +08:00
Tzu-ping Chung
e3e7bc34eb
Merge pull request #11766 from uranusjr/upgrade-pre-commit-isort
2023-01-30 17:10:48 +08:00
Tzu-ping Chung
b653b129c5
Bump pre-commit isort to 5.12.0
...
This release contains a critical fix for newer Poetry versions that
crashes due to "invalid" pyproject.toml syntax.
2023-01-30 17:06:13 +08:00
Dos Moonen
16bd6b7054
Applied review suggestions
2023-01-30 09:01:03 +01:00
Dos Moonen
7b75fda0c6
Typo in documentation: s/if/is
2023-01-30 09:01:03 +01:00
Tzu-ping Chung
d325245052
Better subprocess handling
2023-01-30 09:01:02 +01:00
Tzu-ping Chung
0a9ff9de23
Revise documentation on keyring
2023-01-30 09:01:02 +01: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
a2a4feb588
Merge pull request #11761 from sbidoul/direct-url-hashes-part-3-sbi
2023-01-29 12:21:07 +00:00
Stéphane Bidoul
ec7eb6f179
Add version history to inspect and install report docs
2023-01-29 12:43:23 +01:00
Stéphane Bidoul
169511e68e
Update direct URL hashes examples
2023-01-29 12:43:21 +01:00
Pradyun Gedam
efedf09c49
Merge pull request #11759 from pradyunsg/fix-keyring-auth
...
Closes https://github.com/pypa/pip/issues/11658
2023-01-29 01:36:20 +00:00
Pradyun Gedam
60a4598440
Merge pull request #11758 from pradyunsg/vendoring-update
2023-01-29 01:36:04 +00:00
Pradyun Gedam
fc747ca912
Merge pull request #11592 from judahrand/keyring-cli
2023-01-28 22:45:49 +00:00
Pradyun Gedam
acd7ef1f9a
Perform relaxed version matching in pip debug
test
...
This ensures that we're not trying to compare versions as equal strings.
2023-01-28 22:35:25 +00:00
Pradyun Gedam
17e20c746e
Correctly handle keyring auth subprocess newlines on Windows
...
The line endings on Windows are not required to be `\n`.
2023-01-28 22:23:16 +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
Pradyun Gedam
29bd6f2099
Merge pull request #11756 from SpecLad/setup-teardown
...
Replace deprecated setup/teardown usage
2023-01-28 16:15:54 +00:00
Stéphane Bidoul
46ec9368fb
Add news
2023-01-28 14:15:04 +01:00
Stéphane Bidoul
126e6f67a5
Install report format declared stable
2023-01-28 14:15:04 +01:00
Stéphane Bidoul
99dddc1616
pip inspect format declared stable
2023-01-28 14:15:04 +01:00
Stéphane Bidoul
38681f3d66
Allow multiple hashes in direct_url.json
...
This influences the recorded direct_url.json metadata,
and therefore the pip inspect output,
as well as the pip install --report format.
2023-01-28 13:25:38 +01:00
Роман Донченко
44c1ccaf40
Replace deprecated setup/teardown usage
...
As explained in
<https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose >,
`setup`/`teardown` are a part of nose compatibility, which is deprecated.
You're supposed to use `setup_method` and `teardown_method` instead.
2023-01-27 22:00:50 +03:00
Pradyun Gedam
e69e265cb7
Merge pull request #11731 from cnpryer/docs-fix
2023-01-22 12:59:09 +00:00
Pradyun Gedam
729032d060
Merge pull request #11739 from iSWORD/patch-1
2023-01-21 17:09:57 +00:00
Muha Ajjan
b99a6fe012
Rename Unix to Linux
...
this keeps the tabs under "Default paths" and "Avoiding caching" in sync
to reproduce the issue this commit solves, go to this page:
https://pip.pypa.io/en/stable/topics/caching/
then change the tabs under one of the sections, notice how changing to Unix / Linux breaks sync due to PipCLIDirective using the name [Linux](95a58e7ba5/docs/pip_sphinxext.py (L231)
) for Unix based OS's
2023-01-21 11:24:26 +01:00
Chris Pryer
950522e456
Fix docs
2023-01-19 21:45:29 -05:00
Tzu-ping Chung
95a58e7ba5
Merge pull request #11663 from uranusjr/pep-668
2023-01-18 11:50:26 +08:00
Tzu-ping Chung
5e5480b3bc
Only exclude --dry-run when used with --report
2023-01-17 15:04:56 +08:00
Pradyun Gedam
a84317bd9e
Merge pull request #11729 from uranusjr/strict-optional-egg-link
...
Enable strict optionals in egg_link code
2023-01-17 05:17:02 +00:00
Tzu-ping Chung
a2519ebf49
Enable strict optionals in egg_link code
...
Newer typeshed correctly annotates sysconfig.get_path() to return str
so this just works now.
2023-01-17 10:07:13 +08:00
Paul Moore
fadac1b300
Merge pull request #11727 from jason-curtis/patch-1
...
minor installation.md docs typo
2023-01-16 23:40:07 +00:00
Jason Curtis
898b0fced4
minor installation.md docs typo
2023-01-16 14:01:00 -08:00
Pradyun Gedam
fe9e63e58d
Merge pull request #11716 from pradyunsg/marker-eval
...
Ignore optional (`extra`) dependencies in `pip check`
2023-01-16 10:20:46 +00:00
Tzu-ping Chung
f34d6ab5ed
Merge pull request #11710 from daniil-konovalenko/fix/req_install-mypy
...
Resolves https://github.com/pypa/pip/issues/11704
2023-01-16 17:57:56 +08:00
Daniil Konovalenko
5540331160
add a news entry
2023-01-14 12:27:51 +01:00
Daniil Konovalenko
15b2cc993e
fix mypy
2023-01-14 12:27:51 +01:00
Daniil Konovalenko
ed7dbe9843
fix formatting
2023-01-14 12:27:51 +01:00
Daniil Konovalenko
53064079ed
revert mypy comment
2023-01-14 12:27:51 +01:00
Daniil Konovalenko
8374d818ac
add test
2023-01-14 12:27:51 +01:00