
On 2021-05-04, Ćukasz Langa wrote:
We strongly encourage maintainers of third-party Python projects to test with 3.10 during the beta phase and report issues found to the Python bug tracker <https://bugs.python.org/> as soon as possible.
Testing with Python 3.10b1 is not easy, at least for me. Here is a list of initial problems I ran into, from memory: - Cython doesn't work because of _PyGen_Send change [1] - scipy cannot be installed because it has requires_python = ">=3.7,<3.10". If you manually install from source, it seems to work. - numpy cannot be installed because of _Py_HashDouble() change [2] - trio cannot be used because of TracebackException.__init__ changes [3] For the above problems, I would suggest the 3rd party package has the issue and it's not a problem with the Python release. However, I guess that few people are using Python without 3rd party packages. So, it seems unsurprising that beta and RC releases are not well tested. It has taken me quite a few hours to get a working version of Python 3.10 with all required dependancies such that I can run unit tests for some application code. Can we do any things to improve the situation? Perhaps using the pre-release functionality of PyPI would help. We would have to somehow encourage 3rd party packages to upload pre-releases that are compatible with our beta/RC releases. 1. https://github.com/cython/cython/issues/3876 2. https://github.com/numpy/numpy/issues/19033 3. https://github.com/python-trio/trio/issues/1899