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

12676 commits

Author SHA1 Message Date
Tzu-ping Chung
0225b2a55e
Merge pull request #10503 from uranusjr/locations-detect-python-build 2021-09-30 16:41:02 +08:00
Tzu-ping Chung
cb2d4b89a7
Merge pull request #10526 from uranusjr/remove-extra-merge-xfail 2021-09-30 16:34:39 +08:00
Tzu-ping Chung
12cb745985 Remove xfail from a weird but passing test 2021-09-30 15:59:58 +08:00
Tzu-ping Chung
fbdc4648c2 Remove --build xfail for now
The option is current restored. We should remove this test after the
option is removed (again).
2021-09-30 15:55:57 +08:00
Tzu-ping Chung
8043eb267e Remove stale xfail on macOS tag generation 2021-09-30 15:30:42 +08:00
Tzu-ping Chung
5aace2a5d2 Har-fail on unexpected xfail pass 2021-09-30 15:20:13 +08:00
Pradyun Gedam
c8a8d6d825
Merge pull request #10414 from jdufresne/complete-tests-lib
Complete type annotations for tests/conftest.py and tests/lib/*
2021-09-30 07:15:46 +01:00
Pradyun Gedam
989ec2136d
Merge pull request #10497 from pradyunsg/docs/build-system-reference
Add a dedicated "Build system interface" reference section
2021-09-30 07:09:27 +01:00
Pradyun Gedam
cecad34e59
Merge pull request #10515 from pypa/add-maintainers-only-link
Add maintainers-only link to file blank issues, to "New Issue" selector
2021-09-30 07:08:39 +01:00
Pradyun Gedam
4d7d38a3c0
Addresss spelling nit
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
2021-09-30 06:07:24 +01:00
Jon Dufresne
72937f6520 Complete type annotations for tests/conftest.py and tests/lib/* 2021-09-29 19:57:29 -07:00
Diego Ramirez
92cfe0aa35
Bump the lock-threads action to version 3
This version has been released recently. Also, I had to modify the arguments passed to the action.
2021-09-29 14:20:24 -05:00
Pradyun Gedam
d6d72172e8
Rephase historical note about easy_install/setup_requires
It wasn't clear what "those dependencies" refers to.
2021-09-29 20:02:07 +01:00
Pradyun Gedam
25a31d49e5
Improve build system interface docs based on feedback
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
2021-09-29 19:57:43 +01:00
Pradyun Gedam
beddafb2e2
Add maintainers-only link to file blank issues, to "New Issue" selector
This link is only accessible for users who have the "Write" or "Admin"
permissions on the repository. Everyone else will get redirected to
the same URL as the selector, which I imagine to be an amusing
experience.
2021-09-29 19:19:20 +01:00
Pradyun Gedam
229808807b
Update according to the PEP 660 implementation 2021-09-29 19:10:03 +01:00
Pradyun Gedam
76cdf8f7e1
Merge pull request #10521 from MrMino/debugging_pip_docs
Add a section about debugging to development docs
2021-09-29 18:37:44 +01:00
Tzu-ping Chung
ad9b041650 Don't skip extra-merging test on 2020 resolver 2021-09-30 01:37:22 +08:00
Pradyun Gedam
a816e44dba
Merge pull request #10520 from ziebam/iss10518-update-development-docs
Change the development docs to suggest .venv instead of venv
2021-09-29 18:36:01 +01:00
Pradyun Gedam
3799208f0d
Merge pull request #10525 from sbidoul/dedent-metadata-preparation-log-sbi
Correctly indent metadata preparation messages
2021-09-29 18:35:46 +01:00
Stéphane Bidoul
e377235356
Correctly indent metadata preparation messages 2021-09-29 18:28:04 +02:00
ziebam
6ab7dba97c Remove the redundant snippets 2021-09-29 17:15:04 +02:00
Tzu-ping Chung
d62936a61f
Merge pull request #10523 from sbidoul/rm-news-sbi 2021-09-29 22:58:48 +08:00
Stéphane Bidoul
15d8f5f484
Remove unnecessary newsfile
This bug was not present in the previous public release.
2021-09-29 13:06:31 +02:00
Stéphane Bidoul
348d884d09
Merge pull request #8212 from sbidoul/pep517-editable-sbi
PEP 660 (build_editable) support
2021-09-29 11:36:06 +02:00
Blazej Michalik
2c75f20908 Add a section about debugging to development docs 2021-09-29 01:32:22 +02:00
ziebam
32879cd920 Change the docs to suggest .venv instead of venv 2021-09-29 00:06:48 +02:00
Pradyun Gedam
8ea265186a
Merge pull request #10459 from NoahGorny/do-not-throw-error-on-cache-purge 2021-09-28 22:53:34 +01:00
ziebam
1185ce472f Add link to appropriate doc in backtracking output
After consideration I included the `# noqa: E501` comment to retain
readability since the URL is pretty verbose.
2021-09-28 23:39:42 +02:00
Stéphane Bidoul
826d566eb8
Add a spinner when preparing setup.py metadata
For symmetry with pyproject.toml metadata preparation.
2021-09-28 23:04:58 +02:00
Stéphane Bidoul
74999ccf9b
Mention pyproject.toml instead of PEP 517 in build log 2021-09-28 23:04:58 +02:00
Stéphane Bidoul
e5be3f796e
Add PEP 660 support (build_editable) 2021-09-28 23:04:51 +02:00
Pradyun Gedam
61b1e6905e
📰 2021-09-28 21:10:32 +01:00
Pradyun Gedam
d37aa211b4
Add a dedicated "Build system interface" reference section
This reworks a substantial portion of our existing build system related
documentation, putting it all in a single location.

There are certain areas that have been rephrased or rewritten:

- The setup.py interface is now considered an implementation detail.
- The setup.py interface is explicitly noted as a legacy interface, due
  for removal.
- The pyproject.toml interface now has clearer documentation on how it
  is used and how it operates.
- Clearer separation of `--use-pep-517` and `--no-build-isolation`, to
  make the difference between the two clearer.
2021-09-28 21:10:32 +01:00
Tzu-ping Chung
d91fecdb5a
Merge pull request #10436 from jdufresne/fixture-data
Set TestData.__test__ to False to avoid pytest discovery
2021-09-28 21:50:37 +08:00
Noah Gorny
2d3f17c214 tests: cache: Add no files to remove cases 2021-09-28 14:18:52 +03:00
Noah Gorny
2c04ed7ed2 cache: Do not raise error when there are no files to remove
Instead log a warning and continue (to log that we removed 0 files)
2021-09-28 14:17:58 +03:00
Tzu-ping Chung
0442875a68
Merge pull request #10509 from jdufresne/guards 2021-09-27 16:20:47 +08:00
Jon Dufresne
0a06106d18 Remove unnecessary TYPE_CHECKING guards around packaging imports
Unnecessary since: 76cd70ac42
2021-09-26 10:42:38 -07:00
Pradyun Gedam
c3d3a98733
Merge pull request #10508 from jdufresne/fix-types
Fix new mypy failures in tests/unit/resolution_resolvelib/
2021-09-26 18:37:50 +01:00
Jon Dufresne
dadc9fc2fb Fix new mypy failures in tests/unit/resolution_resolvelib/
Before, during, or after merge b392833a0f,
new code was added that now requires typing.
2021-09-26 07:02:56 -07:00
Niyas Sait
cb66b03fe6
Upgrade distlib to 0.3.3 (#10502)
Co-authored-by: Niyas Sait <Niyas.Sait@arm.com>
2021-09-26 09:36:25 +01:00
Tzu-ping Chung
b392833a0f
Merge pull request #10435 from jdufresne/typing-unit 2021-09-26 16:29:29 +08:00
Stéphane Bidoul
7d2889316c
Merge pull request #10507 from uranusjr/metadata-type-mismatch-satisfied-by
Fix InstalledDistribution's metadata interface
2021-09-26 09:21:32 +02:00
Tzu-ping Chung
f609d35a8f
Merge pull request #10482 from notatallshaw/known_depths 2021-09-26 12:42:12 +08:00
Damian
105a3287a3
Update news/10482.bugfix.rst
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-09-26 00:06:51 -04:00
Tzu-ping Chung
25c64a00f1 Fix InstalledDistribution's metadata interface
InstallRequirement.satisfied_by is an old-style distribution object
(pkg_resources) for now, so we need to provide a shim for its access in
InstalledDistribution.get_metadata_distribution(). Not sure why this was
not picked up by the type checker :/
2021-09-26 12:02:17 +08:00
Tzu-ping Chung
d6f26d9394 Kill location warning for Python in source tree 2021-09-26 11:06:32 +08:00
Tzu-ping Chung
0f21fb9206
Merge pull request #10506 from jdufresne/py2-todo 2021-09-26 10:54:30 +08:00
Damian
9c52c75743 Deep is more consistent than down 2021-09-25 21:12:27 -04:00