https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267188

            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-b...@freebsd.org
          Reporter: j...@bruelltuete.com
                CC: j...@saltant.com, pizza...@freebsd.org,
                    python@FreeBSD.org, sunp...@freebsd.org
                CC: j...@saltant.com, pizza...@freebsd.org,
                    python@FreeBSD.org, sunp...@freebsd.org

While building jupyter-lab, trimmed for brevity:


----->8----------->8----------->8----------->8------

[...]
===>  Installing for py39-docutils-0.17.1,1
===>   Registering installation for py39-docutils-0.17.1,1 as automatic
[...]
===>   Returning to build of py39-m2r-0.2.1_2
===>   py39-m2r-0.2.1_2 depends on package: py39-mistune0>=0 - not found
[...]
===>  Configuring for py39-mistune0-0.8.4
running config
===>  Building for py39-mistune0-0.8.4
running build
running build_py
creating build
creating build/lib
copying mistune.py -> build/lib
===>  Staging for py39-mistune0-0.8.4
===>   py39-mistune0-0.8.4 depends on package: py39-setuptools>=63.1.0 - found
===>   py39-mistune0-0.8.4 depends on file: /usr/local/bin/python3.9 - found
===>   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'
===> Creating unique files: Move MAN files needing SUFFIX
===> Creating unique files: Move files needing SUFFIX
====> Compressing man pages (compress-man)
===>  Installing for py39-mistune0-0.8.4
===>   Registering installation for py39-mistune0-0.8.4 as automatic
[builder] Installing py39-mistune0-0.8.4...
===>   py39-m2r-0.2.1_2 depends on package: py39-mistune0>=0 - found
===>   Returning to build of py39-m2r-0.2.1_2
===>   py39-m2r-0.2.1_2 depends on package: py39-setuptools>=63.1.0 - found
===>   py39-m2r-0.2.1_2 depends on file: /usr/local/bin/python3.9 - found
===>   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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to