Date: Sat, 17 Oct 2020 04:47:01 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 250379] www/py-cherrypy: fails to import with lang/python38 or later Message-ID: <bug-250379-21822-BorVEYBMah@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-250379-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-250379-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250379 --- Comment #6 from James French <james@french.id.au> --- (In reply to Jan Beich from comment #5) > Why is devel/py-contextlib2 disabled for python >=3D 3.8? Officially Python 3.8+ are not on the supported versions list for contextli= b2. The last supported version is Python 3.7 see: https://pypi.org/project/contextlib2/ It's python though, so unless it's doing something with a dropped/modified stdlib it's not a huge surprise that it works fine. > Why python 3.6 and 3.7 cannot use default "contextlib" instead of "contex= tlib2"? After a quick code review of what that library is pulled in for (cathing an exception), they probably can. This version of CherryPy still has Python 2 support & contextlib2 is required for that. I'll apply the patch to python > 3.2 (earliest version that shipped with contextlib) and drop contextlib2 as= a dependency for those versions. > Maybe combine into one file and document the patch origin in the header. Can do, I'll submit an updated patch shortly that does all of the above. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250379-21822-BorVEYBMah>