-
-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update references to Python 3.7 in docs/
#2524
Update references to Python 3.7 in docs/
#2524
Conversation
docs/docs/usage/project.md
Outdated
@@ -62,9 +62,9 @@ The value of `requires-python` is a [version specifier as defined in PEP 440](ht | |||
| `>=3.7,<3.11` | Python 3.7, 3.8, 3.9 and 3.10 | | |||
| `>=3.6,!=3.8.*,!=3.9.*` | Python 3.6 and above, except 3.8 and 3.9 | | |||
|
|||
## Working with Python < 3.7 | |||
## Working with Python <= 3.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frostming is this paragraph still accurate with this change?
|
||
Although PDM run on Python 3.7 and above, you can still have lower Python versions for your **working project**. But remember, if your project is a library, which needs to be built, published or installed, you make sure the PEP 517 build backend being used supports the lowest Python version you need. For instance, the default backend `pdm-backend` only works on Python 3.7+, so if you run [`pdm build`](../reference/cli.md#build) on a project with Python 3.6, you will get an error. Most modern build backends have dropped the support for Python 3.6 and lower, so it is highly recommended to upgrade the Python version to 3.7+. Here are the supported Python range for some commonly used build backends, we only list those that support PEP 621 since otherwise PDM can't work with them. | ||
Although PDM run on Python 3.8 and above, you can still have lower Python versions for your **working project**. But remember, if your project is a library, which needs to be built, published or installed, you make sure the PEP 517 build backend being used supports the lowest Python version you need. For instance, the default backend `pdm-backend` only works on Python 3.7+, so if you run [`pdm build`](../reference/cli.md#build) on a project with Python 3.6, you will get an error. Most modern build backends have dropped the support for Python 3.6 and lower, so it is highly recommended to upgrade the Python version to 3.7+. Here are the supported Python range for some commonly used build backends, we only list those that support PEP 621 since otherwise PDM can't work with them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's also a reference here, but I couldn't find anything for pdm-backend
to suggest that Python 3.7 support has been dropped there, so I left this one.
8b4cb04
to
cfa253e
Compare
844d708
to
88fda25
Compare
Pull Request Checklist
news/
describing what is new.Describe what you have changed in this PR.
Drop references to Python 3.7 in docs/ files. I was reading the index page on
pdm-project.org/latest
when I noticed that some vestigial references to Python 3.7 were still hanging around after the2.11.0
release.There's also #2494, but it looks like that PR doesn't touch these files, only
ci.yml
.