Bug#1024047: python-line-profiler

2023-02-13 Thread Julian Gilbey
Just an FYI: though ubelt is a requirement for running the tests, a
much more serious problem is that python-line-profiler requires an
alpha version of Cython 3.0.0 to compile, and that is not (yet?)
packaged for Debian.  Hopefully at some point over the next two years,
Cython 3.0 will mature enough to actually be released, and then it
will be possible to upgrade python-line-profiler.

Best wishes,

   Julian



Bug#1024047: python-line-profiler FTBFS with Python 3.11 as supported version

2022-11-23 Thread Stefano Rivera
Control: tag -1 + fixed-upstream

Upstream claims that version 4.0.0 supports Python 3.11.

I tried backporting a minimal patch to bring 3.11 support back, but
tests fail. So... time to stop kicking this can down the road and update
to the latest upstream version.

SR



Bug#1024047: python-line-profiler FTBFS with Python 3.11 as supported version

2022-11-13 Thread Adrian Bunk
Source: python-line-profiler
Version: 2.1-3
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=python-line-profiler&ver=2.1-3%2Bb4

...
_line_profiler.c: In function ‘__pyx_f_14_line_profiler_python_trace_callback’:
_line_profiler.c:5627:46: error: invalid use of incomplete typedef 
‘PyFrameObject’ {aka ‘struct _frame’}
 5627 | __pyx_t_1 = ((PyObject *)__pyx_v_py_frame->f_code);
  |  ^~
_line_profiler.c:5835:58: error: invalid use of incomplete typedef 
‘PyFrameObject’ {aka ‘struct _frame’}
 5835 | __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_py_frame->f_lineno); 
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 218, __pyx_L1_error)
  |  ^~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:379: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3.11 setup.py build