[Debian-med-packaging] Bug#1056041: tombo ftbfs with Python 3.12 (and cython 3.0.5)

Matthias Klose doko at debian.org
Thu Nov 16 08:54:31 GMT 2023


Package: src:tombo
Version: 1.5.1-4
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

tombo ftbfs with Python 3.12 (and cython 3.0.5):

[...]
[1/1] Cythonizing tombo/_c_dynamic_programming.pyx
Traceback (most recent call last):
   File "/<<PKGBUILDDIR>>/setup.py", line 55, in <module>
     setup(
   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 
107, in setup
     return distutils.core.setup(**attrs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", 
line 185, in setup
     return run_commands(dist)
            ^^^^^^^^^^^^^^^^^^
   File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", 
line 201, in run_commands
     dist.run_commands()
   File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", 
line 969, in run_commands
     self.run_command(cmd)
   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1233, 
in run_command
     super().run_command(command)
   File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", 
line 988, in run_command
     cmd_obj.run()
   File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py", 
line 131, in run
     self.run_command(cmd_name)
   File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", 
line 318, in run_command
     self.distribution.run_command(command)
   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1233, 
in run_command
     super().run_command(command)
   File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", 
line 988, in run_command
     cmd_obj.run()
   File 
"/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 
88, in run
     _build_ext.run(self)
   File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py", 
line 345, in run
     self.build_extensions()
   File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py", 
line 467, in build_extensions
     self._build_extensions_serial()
   File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py", 
line 493, in _build_extensions_serial
     self.build_extension(ext)
   File 
"/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 
249, in build_extension
     _build_ext.build_extension(self, ext)
   File "/usr/lib/python3/dist-packages/Cython/Distutils/build_ext.py", 
line 130, in build_extension
     new_ext = cythonize(
               ^^^^^^^^^^
   File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", 
line 1154, in cythonize
     cythonize_one(*args)
   File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", 
line 1321, in cythonize_one
     raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: tombo/_c_dynamic_programming.pyx
E: pybuild pybuild:395: build: plugin distutils failed with: exit 
code=1: /usr/bin/python3.12 setup.py build
I: pybuild base:310: /usr/bin/python3 setup.py build



More information about the Debian-med-packaging mailing list