Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2021 19:00:03 +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-ilvOtRQR7v@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 #13 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D7915fe9b3fce2721c82d041ebbe47cf=
0a47981c1

commit 7915fe9b3fce2721c82d041ebbe47cf0a47981c1
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-04-25 18:45:34 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-04-25 18:45:34 +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

 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250379-21822-ilvOtRQR7v>