Makefile pushes port subsystem to not use lang/python311 version.
diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile index 06203bea19fc..a5587c1a8ffa 100644 --- a/devel/py-twisted/Makefile +++ b/devel/py-twisted/Makefile @@ -24,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython-test-exception-raiser>=1.0.2<2:devel/py-cython-test-exception-raiser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyHamcrest>=1.9.0:textproc/py-pyhamcrest@${PY_FLAVOR} -USES= cpe python:3.7-3.10 +USES= cpe python:3.7+ USE_PYTHON= autoplist concurrent distutils CPE_VENDOR= twistedmatrix ... seems to work. Gentoo is also building 22.10.0 with Python 3.11 support and no special effort.
Same here, works with that patch applied and python 3.11.
Port also needs to flip to PEP-517 build since upstream added it. This is the final version to use setuptools as build backend..