[Python-modules-team] Bug#834917: python-async: FTBFS on single CPU machines

Santiago Vila sanvila at unex.es
Thu Dec 8 16:16:03 UTC 2016


retitle 834917 FTBFS on single CPU machines
thanks

After some tests, it seems this fails when having a single CPU core
(which is what I use all the time).

This is the test which fails:

> ======================================================================
> ERROR: test_base (async.test.test_performance.TestThreadPoolPerformance)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/async/test/test_performance.py", line 30, in test_base
>     for num_threads in range(0, self.max_threads*2 + 1, self.max_threads // 2):
> ValueError: range() step argument must not be zero

I would just forward this upstream and disable the test,
as this is like having an undeclared "Build-CPU: 2" in debian/control.
(No, there is no such field, and I hope we will never need it).

Thanks.



More information about the Python-modules-team mailing list