https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250379
--- Comment #5 from Jan Beich <jbe...@freebsd.org> --- Comment on attachment 218781 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218781 Patch ported from upstream > +.if ${PYTHON_REL} >= 3800 [..] > .if ${PYTHON_REL} < 3800 > RUN_DEPENDS+= > ${PYTHON_PKGNAMEPREFIX}contextlib2>0:devel/py-contextlib2@${PY_FLAVOR} Why is devel/py-contextlib2 disabled for python >= 3.8? "import cherrypy" survives with external "contextlib2" under lang/python39. Why python 3.6 and 3.7 cannot use default "contextlib" instead of "contextlib2"? "import cherrypy" survives with "contextlib" patches. https://contextlib2.readthedocs.io/en/stable/ says "contextlib2" is a backport of "contextlib" from python 3.6, so it shouldn't be necessery with lang/python36 while lang/python35 and older are no longer in the ports tree. > +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cherrypy_lib_sessions.py > +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-setup.py Maybe combine into one file and document the patch origin in the header. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"