[Debian-med-packaging] Bug#1027936: brian FTBFS with Python 3.11 as default version

Adrian Bunk bunk at debian.org
Wed Jan 4 21:02:06 GMT 2023


Source: brian
Version: 2.5.1-1
Severity: serious

https://buildd.debian.org/status/fetch.php?pkg=brian&arch=amd64&ver=2.5.1-1%2Bb1&stamp=1672837036&raw=0

...
Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/config.py", line 350, in eval_config_file
    exec(code, namespace)
  File "/<<PKGBUILDDIR>>/docs_sphinx/conf.py", line 71, in <module>
    generate_examples.main(root_dir, target_dir)
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3.11/dist-packages/brian2/sphinxext/generate_examples.py", line 72, in main
    with codecs.open(fname, 'rU', encoding='utf-8') as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen codecs>", line 906, in open
ValueError: invalid mode: 'rUb'
...
Documenting 89 examples
make[1]: *** [debian/rules:44: override_dh_auto_install] Error 2



More information about the Debian-med-packaging mailing list