When upgrading some dependencies for TigerVNC in bug 8531, I noticed that we are unable to upgrade python3-setuptools past 58.0.0 since we then can't build the latest version of Nose. The Nose source code is actually in Python 2 syntax, and gets translated to Python 3 by Setuptools during build. It is done by the file setuptools/lib2to3_ex.py, which has been removed from Setuptools in version 58.0.0. Furthermore, lib2to3_ex.py depends on Python 3's built in module lib2to3 which is deprecated. It has been removed in Python 3.13. We should therefore migrate to something other than nose-1.3.7 in cenbuild.
This warning is shown in Python 3.12: > <stdin>:1: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+