From: Edgar Ramírez-Mondragón Date: Thu, 15 Aug 2024 00:21:18 +0000 (-0600) Subject: docs: add update instructions for new major Python releases X-Git-Tag: 3.2.2~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F890%2Fhead;p=thirdparty%2Fpsycopg.git docs: add update instructions for new major Python releases --- 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.