Date: Tue, 18 Oct 2022 22:41:02 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 267188] py-mistune0: AttributeError: module 'mistune' has no attribute 'BlockGrammar' Message-ID: <bug-267188-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267188 Bug ID: 267188 Summary: py-mistune0: AttributeError: module 'mistune' has no attribute 'BlockGrammar' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jo@bruelltuete.com CC: john@saltant.com, pizzamig@freebsd.org, python@FreeBSD.org, sunpoet@FreeBSD.org CC: john@saltant.com, pizzamig@freebsd.org, python@FreeBSD.org, sunpoet@FreeBSD.org While building jupyter-lab, trimmed for brevity: ----->8----------->8----------->8----------->8------ [...] =3D=3D=3D> Installing for py39-docutils-0.17.1,1 =3D=3D=3D> Registering installation for py39-docutils-0.17.1,1 as automat= ic [...] =3D=3D=3D> Returning to build of py39-m2r-0.2.1_2 =3D=3D=3D> py39-m2r-0.2.1_2 depends on package: py39-mistune0>=3D0 - not = found [...] =3D=3D=3D> Configuring for py39-mistune0-0.8.4 running config =3D=3D=3D> Building for py39-mistune0-0.8.4 running build running build_py creating build creating build/lib copying mistune.py -> build/lib =3D=3D=3D> Staging for py39-mistune0-0.8.4 =3D=3D=3D> py39-mistune0-0.8.4 depends on package: py39-setuptools>=3D63.= 1.0 - found =3D=3D=3D> py39-mistune0-0.8.4 depends on file: /usr/local/bin/python3.9 = - found =3D=3D=3D> Generating temporary packing list running install /usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and= pip and other standards-based tools. warnings.warn( running build running build_py running install_lib creating /tmp/usr/ports/textproc/py-mistune0/work-py39/stage/usr/local/lib/python3.9 creating /tmp/usr/ports/textproc/py-mistune0/work-py39/stage/usr/local/lib/python3.9= /site-packages copying build/lib/mistune.py -> /tmp/usr/ports/textproc/py-mistune0/work-py39/stage/usr/local/lib/python3.9= /site-packages byte-compiling /tmp/usr/ports/textproc/py-mistune0/work-py39/stage/usr/local/lib/python3.9= /site-packages/mistune.py to mistune.cpython-39.pyc writing byte-compilation script '/tmp/tmp8ege10me.py' /usr/local/bin/python3.9 /tmp/tmp8ege10me.py removing /tmp/tmp8ege10me.py running install_egg_info running egg_info writing mistune.egg-info/PKG-INFO writing dependency_links to mistune.egg-info/dependency_links.txt writing top-level names to mistune.egg-info/top_level.txt listing git files failed - pretending there aren't any reading manifest file 'mistune.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'mistune.c' warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyo' found under directory 'tests' adding license file 'LICENSE' writing manifest file 'mistune.egg-info/SOURCES.txt' Copying mistune.egg-info to /tmp/usr/ports/textproc/py-mistune0/work-py39/stage/usr/local/lib/python3.9= /site-packages/mistune-0.8.4-py3.9.egg-info running install_scripts writing list of installed files to '/tmp/usr/ports/textproc/py-mistune0/work-py39/.PLIST.pymodtmp' =3D=3D=3D> Creating unique files: Move MAN files needing SUFFIX =3D=3D=3D> Creating unique files: Move files needing SUFFIX =3D=3D=3D=3D> Compressing man pages (compress-man) =3D=3D=3D> Installing for py39-mistune0-0.8.4 =3D=3D=3D> Registering installation for py39-mistune0-0.8.4 as automatic [builder] Installing py39-mistune0-0.8.4... =3D=3D=3D> py39-m2r-0.2.1_2 depends on package: py39-mistune0>=3D0 - found =3D=3D=3D> Returning to build of py39-m2r-0.2.1_2 =3D=3D=3D> py39-m2r-0.2.1_2 depends on package: py39-setuptools>=3D63.1.0= - found =3D=3D=3D> py39-m2r-0.2.1_2 depends on file: /usr/local/bin/python3.9 - f= ound =3D=3D=3D> Generating temporary packing list Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 14, in <module> from m2r import parse_from_file File "/tmp/usr/ports/textproc/py-m2r/work-py39/m2r-0.2.1/m2r.py", line 59= , in <module> class RestBlockGrammar(mistune.BlockGrammar): AttributeError: module 'mistune' has no attribute 'BlockGrammar' *** Error code 1 Stop. make[6]: stopped in /usr/ports/textproc/py-m2r *** Error code 1 Stop. make[5]: stopped in /usr/ports/devel/py-Automat *** Error code 1 Stop. make[4]: stopped in /usr/ports/devel/py-twisted *** Error code 1 Stop. make[3]: stopped in /usr/ports/devel/py-twisted *** Error code 1 Stop. make[2]: stopped in /usr/ports/net-mgmt/py-prometheus-client *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/py-jupyter-server *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-jupyterlab ----->8----------->8----------->8----------->8------ I don't know what this means... Python is not my strong suit. Also not urgent for me to find a solution... I'm gonna ditch jupyter, it's = too much of a pain. But thought it might be worth reporting. --=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-267188-21822>