Compare commits

...

8 Commits

Author SHA1 Message Date
Amir Fayazi cb1b0f5764
Merge 1d234f4ec0 into a15dd75d98 2023-11-29 21:41:48 +08:00
Tzu-ping Chung a15dd75d98
Merge pull request #12417 from xqm32/fix-outdated-pip-install 2023-11-28 16:08:29 +09:00
Tzu-ping Chung d8ab6dc6c1 Clarify news fragment 2023-11-28 15:06:25 +08:00
Qiming Xu fe10d368f6
Add end line 2023-11-28 14:25:56 +08:00
Qiming Xu 28250baffb
Fix line wrap length and add news entry 2023-11-28 14:17:51 +08:00
Qiming Xu 88ac529219
Fix outdated pip install argument description 2023-11-28 13:15:31 +08:00
Amir Fayazi 1d234f4ec0 add news entry 2023-09-28 08:25:24 +00:00
Amir Fayazi 221f57e657
Include the package name in the error reason 2023-09-27 17:58:20 -07:00
4 changed files with 5 additions and 4 deletions

View File

@ -45,8 +45,8 @@ When looking at the items to be installed, pip checks what type of item
each is, in the following order:
1. Project or archive URL.
2. Local directory (which must contain a ``setup.py``, or pip will report
an error).
2. Local directory (which must contain a ``pyproject.toml`` or ``setup.py``,
otherwise pip will report an error).
3. Local file (a sdist or wheel format archive, following the naming
conventions for those formats).
4. A requirement, as specified in :pep:`440`.

0
news/12253.trivial.rst Normal file
View File

1
news/12417.doc.rst Normal file
View File

@ -0,0 +1 @@
Fix outdated pip install argument description in documentation.

View File

@ -706,8 +706,8 @@ class PackageFinder:
def requires_python_skipped_reasons(self) -> List[str]:
reasons = {
detail
for _, result, detail in self._logged_links
"{} {}".format(link.filename, detail)
for link, result, detail in self._logged_links
if result == LinkType.requires_python_mismatch
}
return sorted(reasons)