Package: src:python-line-profiler
Version: 4.0.2-1
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12
python-line-profiler ftbfs with Python 3.12:
I: pybuild base:310: python3.12 -m build --skip-dependency-check
--no-isolation --wheel --outdir
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_line-profiler
* Building wheel...
<string>:61: DeprecationWarning: Attribute s is deprecated and will be
removed in Python 3.14; use value instead
Error compiling Cython file:
------------------------------------------------------------
...
def __exit__(self, exc_type, exc_val, exc_tb):
self.disable_by_count()
def enable(self):
PyEval_SetTrace(python_trace_callback, self)
^
------------------------------------------------------------
line_profiler/_line_profiler.pyx:275:24: Cannot assign type 'int
(object, PyFrameObject *, int, PyObject *) except? -1' to
'Py_tracefunc'. Exception values are incompatible. Suggest adding
'noexcept' to type 'int (object, PyFrameObject *, int, PyObject *)
except? -1'.
Compiling line_profiler/_line_profiler.pyx because it changed.
[1/1] Cythonizing line_profiler/_line_profiler.pyx
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 353, in <module>
main()
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line
434, in build_wheel
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line
419, in _build_with_temp_dir
self.run_setup()
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line
341, in run_setup
exec(code, locals())
File "<string>", line 235, in <module>
File "<string>", line 222, in run_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: line_profiler/_line_profiler.pyx
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:395: build: plugin pyproject failed with: exit
code=1: python3.12 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_line-profiler
I: pybuild plugin_pyproject:110: Building wheel for python3.11 with
"build" module
I: pybuild base:310: python3.11 -m build --skip-dependency-check
--no-isolation --wheel --outdir
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_line-profiler
* Building wheel...
Error compiling Cython file:
------------------------------------------------------------
...
def __exit__(self, exc_type, exc_val, exc_tb):
self.disable_by_count()
def enable(self):
PyEval_SetTrace(python_trace_callback, self)
^
------------------------------------------------------------
line_profiler/_line_profiler.pyx:275:24: Cannot assign type 'int
(object, PyFrameObject *, int, PyObject *) except? -1' to
'Py_tracefunc'. Exception values are incompatible. Suggest adding
'noexcept' to type 'int (object, PyFrameObject *, int, PyObject *)
except? -1'.
Compiling line_profiler/_line_profiler.pyx because it changed.
[1/1] Cythonizing line_profiler/_line_profiler.pyx
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 353, in <module>
main()
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line
434, in build_wheel
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line
419, in _build_with_temp_dir
self.run_setup()
File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line
341, in run_setup
exec(code, locals())
File "<string>", line 235, in <module>
File "<string>", line 222, in run_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: line_profiler/_line_profiler.pyx
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:395: build: plugin pyproject failed with: exit
code=1: python3.11 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_line-profiler
dh_auto_build: error: pybuild --build -i python{version} -p "3.12 3.11"
returned exit code 13