-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
project: Add a minimum supported version (#701)
Adds the concept of a minimum supported version (MSV) to the project. The project will continue to always maintain and support N-2 versions of Python, however the MSV will be the oldest version of python that can run the project (i.e. the project does not use any features that are newer than the MSV). This value is subject to change at any time due to the needs of the project.
- Loading branch information
Showing
7 changed files
with
81 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Python Minimum Supported Version | ||
|
||
In addition to the N-2 versions of python being actively maintained and | ||
supported, this repository also has a minimum supported version (MSV) of | ||
python. Any version of python between the MSV and N-2 version of python is not | ||
actively maintained or monitored, however it is supported (e.g. the repository | ||
does not use any features past this version of python). | ||
|
||
The MSV for this project is subject to change at any time based on project | ||
needs and features introduced by python. At a minimum, this repository will | ||
never use a feature newer than N-2, providing a two year lookback period for | ||
consumers to increase their supported version of python while receiving new | ||
feature updates of this project. | ||
|
||
## Updating the MSV | ||
|
||
If the need arises to increase the minimum supported version of python, below | ||
are the necessary files and steps to update the repository. | ||
|
||
### pyproject.toml | ||
|
||
This file is responsible for the release process to pypi. We want to make sure | ||
we keep the required version for our pypi releases up to date. Update | ||
`requires-python` to the new msv. | ||
|
||
Additionally, we must update the classifiers section to remove the now | ||
unsupported versions of python. | ||
|
||
```python | ||
classifiers=[ | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13" | ||
] | ||
``` | ||
|
||
### bug_report.yml | ||
|
||
Remove the now unsupported version of python in the following | ||
section: `id: py_version`. | ||
|
||
### VariableProducer.yml | ||
|
||
Update `python-msv:` to the new msv | ||
|
||
### readme.md | ||
|
||
Update the `Toolchain` section of the `Minimum Supported Version` table. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters