From d81ca626f52105642b19e6ae3b641e958ddc6c8d Mon Sep 17 00:00:00 2001 From: Firdous2307 <124298708+Firdous2307@users.noreply.github.com> Date: Sun, 13 Oct 2024 21:11:14 +0100 Subject: [PATCH] docs: Document process for updating Python versions --- docs/maintenance.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/maintenance.rst b/docs/maintenance.rst index d58dc281..0398b64c 100644 --- a/docs/maintenance.rst +++ b/docs/maintenance.rst @@ -148,3 +148,16 @@ This section contains useful links for maintainers and collaborators: - `Future of icalendar, looking for maintainer #360 `__ - `Comment on the Plone tests running with icalendar `__ + +Updating Python Versions +------------------------ + +When adding support for a new Python version or removing support for an old one, the following files need to be updated: + +1. `.github/workflows/tests.yml`: Add or remove the Python version from the test matrix. +2. `tox.ini`: Update the `envlist` to include or remove the Python version. +3. `pyproject.toml`: Update the `requires-python` line and the `classifiers` list. +4. `README.rst`: Update the compatibility information. +5. `docs/maintenance.rst`: Update this list if any new files need to be modified. + +Remember to test the changes thoroughly and update any documentation that mentions supported Python versions.