[Debian-med-packaging] Bug#1060987: q2cli: FTBFS: AttributeError: module 'bibtexparser' has no attribute 'bparser'

Étienne Mollier emollier at debian.org
Fri Jan 19 17:58:57 GMT 2024


Control: reassign -1 src:qiime/2022.11.1-2
Control: retitle -1 qiime: FTBFS: AttributeError: module 'bibtexparser' has no attribute 'bparser'
Control: affects -1 + q2cli

This looks to be the main issue:
> /usr/lib/python3/dist-packages/qiime2/core/cite.py:26: in load
>     parser = bp.bparser.BibTexParser()
> E   AttributeError: module 'bibtexparser' has no attribute 'bparser'

Since update of bibtexparser to 2.0.0b, the bparser has been
either removed or not reimplemented yet.  The documentation
exposed in the bibtexparser source code gives little clue how to
migrate from that particular situation.  Quick lookup at
contemporary qiime source code[1] shows the invocation is still
around as of today, so an upstream version bump won't help yet.

Maybe an option could be to avoid attemting to apply the bibtex
parser customization when the bparser does not exist anymore?
I'm not entirely confident on the side effects downstream.  Only
other option I can think of would be to wait and see how the
bibtexparser v2.0.0 release will behave if there are planned
changes on the parser or unicode customizations front.

[1]: https://github.com/qiime2/qiime2/blob/dev/qiime2/core/cite.py

Have a nice day,  :)
-- 
  .''`.  Étienne Mollier <emollier at debian.org>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/3, please excuse my verbosity
   `-    on air: Fish - Little Man What Now?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20240119/4673c130/attachment.sig>


More information about the Debian-med-packaging mailing list