Control: reassign -1 python3-myst-parser
Control: affects -1 + xonsh
Control: found -1 python3-myst-parser/0.16.1-1
Control: found -1 python3-myst-parser/0.16.1-2
Control: found -1 python3-myst-parser/0.16.1-3
Control: found -1 python3-myst-parser/0.16.1-4
Control: fixed -1 python3-myst-parser/0.17.2-1

On Thu, May 26, 2022 at 1:26 PM Lucas Nussbaum <lu...@debian.org> wrote:
>
> Source: xonsh
> Version: 0.12.4+dfsg-1
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20220525 ftbfs-bookworm
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
>
> Relevant part (hopefully):
> > make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> > sphinx-build -b html -d _build/doctrees   . _build/html
> > Running Sphinx v4.5.0
> >
> > Exception occurred:
> >   File "/usr/lib/python3/dist-packages/myst_parser/main.py", line 3, in 
> > <module>
> >     import attr
> > ModuleNotFoundError: No module named 'attr'
> > The full traceback has been saved in /tmp/sphinx-err-f46ojpq1.log, if you 
> > want to report the issue to the developers.
> > Please also report this if it was a user error, so that a better error 
> > message can be provided next time.
> > A bug report can be filed in the tracker at 
> > <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> > make[2]: *** [Makefile:39: html] Error 2
>
>
> The full build log is available from:
> http://qa-logs.debian.net/2022/05/25/xonsh_0.12.4+dfsg-1_unstable.log
>
> All bugs filed during this archive rebuild are listed at:
> https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lu...@debian.org
> or:
> https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> If you reassign this bug to another package, please marking it as 
> 'affects'-ing
> this package. See https://www.debian.org/Bugs/server-control#affects
>
> If you fail to reproduce this, please provide a build log and diff it with 
> mine
> so that we can identify if something relevant changed in the meantime.

As it turns out, this is not a bug in xonsh, but rather in
python3-myst-parser 0.16.1 where
the line "from attr import Attribute" was added, but without
dependency on the python3-attr.
xonsh became a "victim" of that missing dependency.

The good news is that the xonsh FTBFS problem is fixed with the upload
of python3-myst-parser 0.17.2-1 where upstream did this:

    - ♻️ REFACTOR: Replace `attrs` by `dataclasses` for configuration (#557)

The 'attr' module is no longer needed, hence no more FTBFS for xonsh!

Special thanks to Emmanuel Arias and Bastian Germann for the upload of
myst-parser 0.17.2-1 which resolves this bug.

I am hereby reassigning this bug to python3-myst-parser, and will
close the bug shortly after.

Cheers,

Anthony Fok

Reply via email to