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

11936 commits

Author SHA1 Message Date
Tzu-ping Chung
19389df484 Fix expected error message format 2021-07-22 15:20:50 +08:00
Tzu-ping Chung
c7774141d8 Correctly canonicalize skipped package names 2021-07-22 15:20:50 +08:00
Tzu-ping Chung
ead43d674d Add method to access the raw project name 2021-07-22 15:20:49 +08:00
Tzu-ping Chung
5f47421313 Remove pkg_resources usages from 'pip show' 2021-07-22 15:20:49 +08:00
Tzu-ping Chung
3bba1d34a2 Fix unit test setup to use BaseDistribution 2021-07-22 15:20:49 +08:00
Tzu-ping Chung
cb1fdf079e Sort imports 2021-07-22 15:20:49 +08:00
Tzu-ping Chung
8011c07861 Improve extras a bit 2021-07-22 15:20:49 +08:00
Tzu-ping Chung
aee4b50021 Use email.message to parse metadata 2021-07-22 15:20:49 +08:00
Tzu-ping Chung
28fff1e483 Remove pkg_resources usages in wheel operations 2021-07-22 15:20:49 +08:00
Tzu-ping Chung
21529db516 Remove pkg_resources usage in build_env 2021-07-22 15:20:49 +08:00
Tzu-ping Chung
da8eee63ad Add direct URL accessor 2021-07-22 15:20:49 +08:00
László Kiss Kollár
76cd70ac42
Upgrade packaging to 21.0 (#10144) 2021-07-17 12:19:56 +08:00
Pradyun Gedam
7da05f3334
Merge pull request #10102 from pradyunsg/topic/dependency-resolution 2021-07-13 23:12:13 +01:00
Pradyun Gedam
d7c0e621e3
Merge branch 'main' into topic/dependency-resolution 2021-07-13 23:10:45 +01:00
Pradyun Gedam
14e48b5f28
Rephrase paragraph describing how dependency resolution works
- Clarify that pip is incrementally building up this information.
- Clarify that pip has to download files, which contain the dependency information.
- Hint at the fact that this is a recursive process.
2021-07-13 23:10:19 +01:00
Pradyun Gedam
d12ab1c79e
Merge pull request #10100 from pradyunsg/topic/repeatable-installs 2021-07-13 23:01:22 +01:00
Pradyun Gedam
cc188ae0cb
Merge branch 'main' into topic/repeatable-installs 2021-07-13 22:58:28 +01:00
Xavier Fernandez
1f1e1d6211 Remove deprecated --find-links option from pip freeze 2021-07-13 22:15:07 +02:00
Diego Ramirez
3b3fde2447
Fix the pip/_internal/distributions annotations (#10074) 2021-07-13 06:29:21 +08:00
Diego Ramirez
ce86dc86d6
Complete type annotations in pip/_internal/index (#10111) 2021-07-13 03:28:36 +08:00
Tzu-ping Chung
cccf38067a
Merge pull request #10148 from uranusjr/location-warning-again
Re-enable location warning
2021-07-13 03:19:53 +08:00
Tzu-ping Chung
646aba8c3a
Merge pull request #10145 from uranusjr/py310-sysconfig-api 2021-07-13 01:14:36 +08:00
Tzu-ping Chung
bd5ac261c0
Merge pull request #10035 from hukkin/tomli 2021-07-12 16:57:44 +08:00
Tzu-ping Chung
8349b9a9ae Ask mypy to shut up about get_preferred_scheme 2021-07-12 16:01:54 +08:00
Tzu-ping Chung
ca4aa121a9 Use Python 3.10 sysconfig.get_preferred_scheme()
This function is introduced to 3.10 to do precisely what we want, so
let's use it if possible.
2021-07-12 16:01:00 +08:00
Tzu-ping Chung
889571a5e1 Re-enable location warning 2021-07-12 15:58:25 +08:00
Tzu-ping Chung
ad3d498702
Merge pull request #9865 from uranusjr/sysconfig-message-improvement
Cache location calculation functions
2021-07-12 15:55:31 +08:00
Tzu-ping Chung
f9710e91fe
Merge pull request #9684 dont-explode-on-failed-distutils-parse 2021-07-12 15:44:47 +08:00
Tzu-ping Chung
c5f9bc5f3b try-except distutils config parsing 2021-07-12 15:06:37 +08:00
Pradyun Gedam
15459969b3
Merge pull request #10099 from pradyunsg/topic/vcs-support
Add topic guide: VCS Support
2021-07-12 07:55:13 +01:00
Tzu-ping Chung
32a3a50c49
Merge pull request #10077 from uranusjr/requires-python-to-debug
Move "Link requires a different Python" to verbose
2021-07-12 14:02:39 +08:00
Tzu-ping Chung
4cd32551ad
Merge pull request #9569 from uranusjr/pax-tar-2
Always open tar files with UTF-8
2021-07-12 14:01:49 +08:00
Tzu-ping Chung
11a9990cca
Merge pull request #10084 from uranusjr/new-resolver-local-dependencies 2021-07-12 14:01:08 +08:00
Tzu-ping Chung
ad9d46e148
Merge pull request #9844 from uranusjr/sysconfig-framework-user 2021-07-12 14:00:47 +08:00
Tzu-ping Chung
57d9af2c4f Ignore header difference for osx_framework_user 2021-07-12 13:12:20 +08:00
Tzu-ping Chung
77810bc9b4 Special osx_framework_library prefix scheme 2021-07-12 13:11:31 +08:00
Tzu-ping Chung
1501272307 Use osx_framework_user for Mac framework build 2021-07-12 13:10:59 +08:00
Tzu-ping Chung
73edd74c56 Detect user-requested package names by preparing
This always prepares each explicit requirements when the resolver is
run, instead of when they are being resolved. But we always want to
prepare them anyway (an explicit requirement has only one candidate, so
it's either do or die), so this is not really a problem.
2021-07-12 12:40:34 +08:00
Tzu-ping Chung
5d81040ee8 Refactor root requirement collection into factory 2021-07-12 12:40:32 +08:00
Tzu-ping Chung
f9c49eff8d Failing test for local unnamed dependency 2021-07-12 12:37:59 +08:00
Tzu-ping Chung
3209ad07ab News for the pip list name normalization logic 2021-07-12 12:33:37 +08:00
Tzu-ping Chung
e6c317769a Move assert_[not_]installed to Script and use it
This help function is much better than the previous ad-hoc logic used in
test_uninstall.py, which has trouble identifying normalized names.
2021-07-12 11:44:23 +08:00
Tzu-ping Chung
ef8299d559 pip list now normalizes the project name 2021-07-12 11:44:23 +08:00
Tzu-ping Chung
c1da53dacc Migrate 'pip list' to use metadata abstraction 2021-07-12 11:44:23 +08:00
Diego Ramirez
6958b87d3d
Complete type annotations: pip/_internal/models (#10138) 2021-07-12 11:43:52 +08:00
Harutaka Kawamura
23eb69fe21
Complete type annotations in pip/_internal/locations (#10127) 2021-07-12 11:42:16 +08:00
Harutaka Kawamura
72e1ff35c7
Complete type annotations in pip/_internal/resolution (#10125) 2021-07-12 11:41:48 +08:00
briantracy
37a2b12a21
Special case warning for requirements.txt install (#9915)
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-07-12 11:40:43 +08:00
Nikita Chepanov
f2ce7741ab Suppress "not on PATH" warning when --prefix is given
Similar to how it works with `--target`, avoid printing the
warning since it's clear from the context that the final
destionation of the executables is unlikely to be in the PATH.
2021-07-12 11:39:56 +08:00
Pradyun Gedam
67da5a6b88
Fix a typo
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-07-11 09:27:26 +01:00