From owner-freebsd-python@freebsd.org Fri May 7 13:30:34 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 C59EE62D54E for ; Fri, 7 May 2021 13:30:34 +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 4FcBCZ4yTrz4bgh for ; Fri, 7 May 2021 13:30:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AA33562D54D; Fri, 7 May 2021 13:30:34 +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 A9F9D62D54B for ; Fri, 7 May 2021 13:30:34 +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 4FcBCZ4JgJz4bkH for ; Fri, 7 May 2021 13:30:34 +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 86EBB40C5 for ; Fri, 7 May 2021 13:30:34 +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 147DUYoQ009974 for ; Fri, 7 May 2021 13:30:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 147DUYp5009973 for python@FreeBSD.org; Fri, 7 May 2021 13:30:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla 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: Fri, 07 May 2021 13:30:34 +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: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kai@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: 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: Fri, 07 May 2021 13:30:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250379 --- Comment #15 from commit-hook@FreeBSD.org --- A commit in branch 2021Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dfc93af74b8da19e5742801a0aafad91= 4d73cb9af commit fc93af74b8da19e5742801a0aafad914d73cb9af Author: Kai Knoblich AuthorDate: 2021-04-25 18:45:34 +0000 Commit: Kai Knoblich CommitDate: 2021-05-07 13:29:32 +0000 www/py-cherrypy: Fix runtime with Python 3.8 and onward Backport patches from the 18.x release branch that uses the Python's library "contextlib" instead of the external library "contextlib2". The "contextlib2" library is a backported version which is required for compatibility with Python 2.7 as the 17.x release of CherryPy is the last one that has compatibility for Python 2.7. Since the support for Python 2.7 has been removed in aa7a6c429ea6, "contextlib2 is no longer needed for backward compatibility. This is a transitional solution to fix the regression with Python 3.8 because an update to the 18.x release needs a bit more work and also requires one or more new Python packages. While I'm here: * Sort variables according to the PHB and pet portclippy. * Remove superfluous EXAMPLESDIR. * Convert to newer options framework. * Set NO_ARCH as there are no architecture specific files. * Add "do-test" target to make future QA easier. PR: 250379 Reported by: jbeich Approved by: maintainer timeout (6+ months) MFH: 2021Q2 (cherry picked from commit 7915fe9b3fce2721c82d041ebbe47cf0a47981c1) www/py-cherrypy/Makefile | 43 ++++++++++++------= ---- .../files/patch-cherrypy_lib_sessions.py (new) | 27 ++++++++++++++ www/py-cherrypy/files/patch-setup.py (new) | 17 +++++++++ 3 files changed, 68 insertions(+), 19 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=