Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2020 23:29:04 +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@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250379

            Bug ID: 250379
           Summary: www/py-cherrypy: fails to import with lang/python38 or
                    later
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: nivit@FreeBSD.org, python@FreeBSD.org
            Blocks: 247597
                CC: nivit@FreeBSD.org, python@FreeBSD.org

Can you update to >=3D 18.0 or apply
https://github.com/cherrypy/cherrypy/commit/2fc78dc9af3e ?

$ python3.9
Python 3.9.0 (default, Oct 15 2020, 22:11:05)
[Clang 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc5-0-g6=
0a25
on freebsd13
Type "help", "copyright", "credits" or "license" for more information.
>>> import cherrypy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/cherrypy/__init__.py", line =
73,
in <module>
    from ._cptools import default_toolbox as tools, Tool
  File "/usr/local/lib/python3.9/site-packages/cherrypy/_cptools.py", line =
31,
in <module>
    from cherrypy.lib import sessions as _sessions, xmlrpcutil as _xmlrpc
  File "/usr/local/lib/python3.9/site-packages/cherrypy/lib/sessions.py", l=
ine
112, in <module>
    import contextlib2
ModuleNotFoundError: No module named 'contextlib2'


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247597
[Bug 247597] www/py-cherrypy: can py-cherrypy be upated to at least 8.9.1?
--=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>