Bug 267054

Summary: devel/py-twisted: allow Python 3.11 FLAVOR
Product: Ports & Packages Reporter: Jordan Ostreff <jordan>
Component: Individual Port(s)Assignee: freebsd-python (Nobody) <python>
Status: Open ---    
Severity: Affects Only Me CC: sgs, twisla, vishwin
Priority: --- Flags: vishwin: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   

Description Jordan Ostreff 2022-10-14 17:03:10 UTC
Makefile pushes port subsystem to not use lang/python311 version.
Comment 1 Simeon Simeonov 2023-01-04 04:57:22 UTC
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.
Comment 2 Clément MArtin 2023-03-24 14:32:01 UTC
Same here, works with that patch applied and python 3.11.
Comment 3 Charlie Li freebsd_committer freebsd_triage 2023-03-27 06:25:05 UTC
Port also needs to flip to PEP-517 build since upstream added it. This is the final version to use setuptools as build backend..