From owner-freebsd-python@freebsd.org Thu Apr 22 17:25:02 2021 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 612335F9A96 for ; Thu, 22 Apr 2021 17:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FR47226H7z4c0q for ; Thu, 22 Apr 2021 17:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 46AA55F9A95; Thu, 22 Apr 2021 17:25:02 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 467435F9A18 for ; Thu, 22 Apr 2021 17:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FR4721Ss7z4c4k for ; Thu, 22 Apr 2021 17:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 246621DEBF for ; Thu, 22 Apr 2021 17:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 13MHP2bj064113 for ; Thu, 22 Apr 2021 17:25:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13MHP2Ow064112 for python@FreeBSD.org; Thu, 22 Apr 2021 17:25:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 250379] www/py-cherrypy: fails to import with lang/python38 or later Date: Thu, 22 Apr 2021 17:25:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kai@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kai@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete bug_status cc assigned_to flagtypes.name attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2021 17:25:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250379 Kai Knoblich changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #218826|0 |1 is obsolete| | Attachment #218827|0 |1 is obsolete| | Attachment #218828|0 |1 is obsolete| | Status|New |Open CC| |kai@FreeBSD.org Assignee|nivit@FreeBSD.org |kai@FreeBSD.org Attachment #224358| |maintainer-approval+ Flags| | --- Comment #12 from Kai Knoblich --- Created attachment 224358 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224358&action= =3Dedit py-cherrypy-fix-py38-runtime.patch Attached is a revised patch as the port got some changes due dropped Python= 2.7 support via the ports framework.=20 It is based on James's work (comment #8) and also contains the following: - Sort variables according to the PHB and pet portclippy. - Remove superfluous EXAMPLESDIR as it's already set via "PYTHON=3Dconcurre= nt" - Convert to newer options framework. - Add "do-test" target to make future QA easier. Using the test suite, I was also able to compare the results between the unpatched and patched version, which were identical in both cases. Also taking this PR as the maintainer seems missing in action and set the maintainer-approval flag accordingly. I'll leave the patch here for those who are interested and will commit it in the next few days if there are no objections. --=20 You are receiving this mail because: You are on the CC list for the bug.=