From 86d777241518c7f17012b809f7d3d54cecaaaf31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Wed, 14 Aug 2024 18:21:18 -0600 Subject: [PATCH] docs: add update instructions for new major Python releases --- docs/release.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/release.rst b/docs/release.rst index a08b4337f..8a8c4c677 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -87,3 +87,19 @@ When a new PostgreSQL major version is released - ``docs/basic/install.rst``; - ``content/features/contents.lr`` in the psycopg-website repository. + +When a new Python major version is released +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Add the new version to the relevant test matrices in + ``.github/workflows/tests.yml`` and ``.github/workflows/packages-bin.yml``. + +- Update ``docs/basic/install.rst`` with the correct range of supported Python + versions. + +- Add the ``Programming Language :: Python :: 3.`` classifier to + ``psycopg/setup.cfg``, ``psycopg_c/setup.cfg`` and ``psycopg_pool/setup.cfg``. + +- Update the list of versions in ``tools/build/build_macos_arm64.sh`` to include + the new version. Look for both the ``python_versions`` variable and the + ``CIBW_BUILD`` environment variable. -- 2.47.2