Bug 267054 - devel/py-twisted: allow Python 3.11 FLAVOR
Summary: devel/py-twisted: allow Python 3.11 FLAVOR
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-14 17:03 UTC by Jordan Ostreff
Modified: 2024-08-06 10:30 UTC (History)
3 users (show)

See Also:
vishwin: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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..