gtristan commented on code in PR #1738:
URL: https://github.com/apache/buildstream/pull/1738#discussion_r1018145440


##########
doc/source/hacking/updating_python_deps.rst:
##########
@@ -20,3 +20,89 @@ changing the ``.in`` file, run the following to update the 
matching ``.txt``
 file::
 
    make -C requirements
+
+Adding support for a new Python release
+---------------------------------------
+
+When a new stable release of Python 3 appears, we must explicitly declare
+our support for it in the following places.
+
+tox.ini
+~~~~~~~
+
+The ``tox.ini`` file defines the environments where the BuildStream test suite
+runs.  Every ``py{3.x,3.y}`` list must be updated to contain the new version
+number such as ``311`` for CPython 3.11.
+
+Use ``tox -e py311-nocover`` to run the test suite with the new version of
+Python.
+
+pyproject.toml

Review Comment:
   Good addition to the hacking !
   
   note that here we also have to bump the minimum required version of cython 
which includes support for the new cpython version.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to