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
29bd6f2099
Merge pull request #11756 from SpecLad/setup-teardown
...
Replace deprecated setup/teardown usage
2023-01-28 16:15:54 +00: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
Daniil Konovalenko
254bdf8789
fallback to a placeholder in case dist.location is None
2023-01-14 12:27:51 +01:00
Pradyun Gedam
bc96473b9a
Ignore optional (extra
) dependencies in pip check
...
This preserves the current behaviour and avoids failures due to optional
dependencies in the graph.
2023-01-09 16:15:37 +00:00
Joonatan Partanen
07a360dfe8
Mention build-backend in regular/editable install differences ( #11691 )
...
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2023-01-09 12:42:52 +00:00
Pradyun Gedam
1de6cf0445
Merge pull request #11713 from uranusjr/fix-link-hashes-tests
...
Test and news for wheel cache restoration
2023-01-09 12:23:00 +00:00
Pradyun Gedam
c20c789072
Merge pull request #11714 from uranusjr/strict-optional-free
...
Enable strict optional checking in PackageFinder
2023-01-09 10:34:31 +00:00
Tzu-ping Chung
dc8ac7b896
Enable strict optional checking in PackageFinder
...
Most should be pretty straightforward. In one place I need to use a
custom TypeGuard, available in typing_extensions, which we're vendoring
for Rich.
2023-01-09 17:27:40 +08:00
Tzu-ping Chung
9cc4e2762f
Merge pull request #11711 from Tomen/main
2023-01-09 11:11:23 +08:00
Tzu-ping Chung
24feb508d6
Remove unneeded news file
2023-01-09 10:43:29 +08:00
Tzu-ping Chung
5eda50d237
Test and news for wheel cache restoration
...
The fix merged in 3b60e36289
also fixed
the wheel cache; this cherry-picks the test and news from the other pull
request to validate and document the fact.
2023-01-09 10:13:19 +08:00
Pradyun Gedam
3b60e36289
Merge pull request #11696 from uranusjr/fix-link-hashes
...
Merge link_hash back into _hashes
2023-01-08 17:23:04 +00:00
Tommi Enenkel | AnB
d1d21bbc40
add news
2023-01-08 09:33:58 +01:00
Tommi Enenkel | AnB
471cb14e88
fix grammar error in user notice
2023-01-08 09:31:44 +01:00
Tzu-ping Chung
0233bf2757
Merge link_hash back into _hashes
...
Commit bad03ef931
introduced the new
link_hash attribute that holds the link's hash info, but that attribute
does the same thing as _hashes, and some existing usages still populate
that old attribute. Since the plural variant covers more use cases (a
file can be hashed with multiple algorithms), we restore the old logic
that uses _hashes before the commit, and consolidate link_hash back into
that attribute.
2023-01-04 18:42:52 +08:00
Tzu-ping Chung
a057c9bc99
Merge pull request #11623 from dnicolodi/debian-scheme
2023-01-04 15:22:16 +08:00
Pradyun Gedam
c6783501f1
Merge pull request #11686 from pradyunsg/update-rtd-redirects
2023-01-03 01:23:21 +00:00
Tzu-ping Chung
8fe6563050
Fall back to non-localized message on Windows
...
Windows does not implement LC_MESSAGES, and since PEP 668 is mainly
designed for Linux distributions, we simply take the easier way out
until someone wants an equivalent on Windows.
2023-01-03 08:13:13 +08:00
Tzu-ping Chung
6750d847a7
Add PEP 668 functional tests
2023-01-03 07:57:21 +08:00
Tzu-ping Chung
3d1937f420
Add tests for EXTERNALLY-MANAGED parser
2023-01-03 07:57:21 +08:00
Tzu-ping Chung
095fd850fd
Isolate EXTERNALLY-MANAGED parsing logic
...
This makes the parser easier to test.
2023-01-03 07:57:21 +08:00
Tzu-ping Chung
e27a819883
Use ExternallyManagedEnvironment to show error
...
This moves most of the displaying logic into the exception class so it
can better leverage DiagnosticPipError and Rich functionalities.
2023-01-03 07:57:21 +08:00
Tzu-ping Chung
69cb3f8617
Check EXTERNALLY-MANAGED in install and uninstall
...
This implements the PEP 668 logic to 'pip install' and 'pip uninstall'.
Are there any other commands that may need it?
This implementation disables the check is any of --prefix, --home, or
--target is provided, since those can indicate the command does not
actually install into the environment. Note that it is still possible
the command is still modifying the environment, but we don't have a
way to stop the user *that* determined to break the environment anyway
(they can always just use those flags in a virtual environment).
Also not sure how best this can be tested.
2023-01-03 07:57:21 +08:00
Pradyun Gedam
66e8d70dc7
Update our RTD redirects to use latest
for dev, stable
for errors
2023-01-01 18:47:30 +00:00
Pradyun Gedam
ba38c33b6b
Merge pull request #11682 from pradyunsg/fix-rtd-redirects
2023-01-01 18:42:33 +00:00
Pradyun Gedam
450b361d21
Add an environment containing the secret token
...
This ensures that we only expose the token to this one job on `main`.
2023-01-01 11:07:34 +00:00
Pradyun Gedam
f3ed2e2089
Merge pull request #11680 from pradyunsg/fix-rtd-redirects
2023-01-01 11:02:20 +00:00
Pradyun Gedam
5427bc56b5
Fix the dependencies as installed for the RTD update script
...
This ensures that it is updated correctly.
2022-12-31 21:02:45 +00:00