Bug#1028084: guidata FTBFS with Python 3.11 as default version

Adrian Bunk bunk at debian.org
Fri Jan 6 16:41:30 GMT 2023


Source: guidata
Version: 2.3.0-1
Severity: serious
Tags: ftbfs
Forwarded: 
Control: affects -1 python3-guidata src:guiqwt

...
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:240: python3.10 setup.py clean 
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.10' does not exist -- can't clean it
I: pybuild base:240: python3.11 setup.py clean 
Traceback (most recent call last):
  File "/tmp/guidata-2.3.0/setup.py", line 32, in <module>
    from guidata.utils import get_subpackages, get_package_data
  File "/tmp/guidata-2.3.0/guidata/__init__.py", line 542, in <module>
    import guidata.config
  File "/tmp/guidata-2.3.0/guidata/config.py", line 21, in <module>
    _ = get_translation("guidata")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/guidata-2.3.0/guidata/configtools.py", line 53, in get_translation
    _trans = gettext.translation(
             ^^^^^^^^^^^^^^^^^^^^
TypeError: translation() got an unexpected keyword argument 'codeset'
E: pybuild pybuild:388: clean: plugin distutils failed with: exit code=1: python3.11 setup.py clean 
dh_auto_clean: error: pybuild --clean -i python{version} -p "3.10 3.11" returned exit code 13
make: *** [debian/rules:6: clean] Error 25



This is also a runtime error:

>>> import guidata.config
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/tmp/guidata-2.3.0/guidata/__init__.py", line 542, in <module>
    import guidata.config
  File "/tmp/guidata-2.3.0/guidata/config.py", line 21, in <module>
    _ = get_translation("guidata")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/guidata-2.3.0/guidata/configtools.py", line 53, in get_translation
    _trans = gettext.translation(
             ^^^^^^^^^^^^^^^^^^^^
TypeError: translation() got an unexpected keyword argument 'codeset'
>>> 



More information about the debian-science-maintainers mailing list