Bug#999539: python-quantities: FTBFS with numpy 1.21 (in experimental): dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Fri Nov 12 07:25:36 GMT 2021


Source: python-quantities
Version: 0.12.4-1
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-numpy121

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64, using numpy 1.21 currently in experimental. This version
will soon be uploaded to unstable.

If you have questions about this, please contact Sandro Tosi
<morph at debian.org>.

Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running data
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> copying quantities/registry.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> copying quantities/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> copying quantities/decorators.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> copying quantities/unitquantity.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> copying quantities/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> copying quantities/quantity.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> copying quantities/markup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> copying quantities/umath.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> copying quantities/uncertainquantity.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> copying quantities/dimensionality.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/deuteron.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/atomicunits.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/naturalunits.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/triton.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/quantum.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/relationships.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/tau.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/electron.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/weak.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/neutron.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/helion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/mathematical.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/alpha.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/muon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/xray.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/proton.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/_codata.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/statisticalmechanics.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/astronomy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> copying quantities/constants/electromagnetism.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/constants
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_units.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_umath.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_uncertainty.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_comparison.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_constants.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_formatting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_persistence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_methods.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_dimensionality.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_conversion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> copying quantities/tests/test_arithmetic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/radiation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/area.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/prefixes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/length.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/pressure.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/power.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/acceleration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/dimensionless.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/angle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/information.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/mass.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/compound.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/force.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/substance.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/heat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/velocity.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/viscosity.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/concentration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/frequency.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/volume.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/energy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/temperature.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/time.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> copying quantities/units/electromagnetism.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/units
> UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/_version.py
> set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/_version.py to '0.12.4'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m unittest discover -v 
> test_addition (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_fmod (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_imod (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_in_place_addition (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_in_place_subtraction (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_mixed_addition (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_mod (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_mul (quantities.tests.test_arithmetic.TestDTypes) ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests/test_arithmetic.py:57: DeprecationWarning: `np.typeDict` is a deprecated alias for `np.sctypeDict`.
>   self._typeDict = np.typeDict.copy()
> ok
> test_negative (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_powering (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_remainder (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_subtraction (quantities.tests.test_arithmetic.TestDTypes) ... ok
> test_array_equality (quantities.tests.test_comparison.TestComparison) ... ok
> test_array_inequality (quantities.tests.test_comparison.TestComparison) ... ok
> test_quantity_greater_than (quantities.tests.test_comparison.TestComparison) ... ok
> test_quantity_greater_than_or_equal (quantities.tests.test_comparison.TestComparison) ... ok
> test_quantity_less_than (quantities.tests.test_comparison.TestComparison) ... ok
> test_quantity_less_than_or_equal (quantities.tests.test_comparison.TestComparison) ... ok
> test_scalar_comparison (quantities.tests.test_comparison.TestComparison) ... ok
> test_scalar_equality (quantities.tests.test_comparison.TestComparison) ... ok
> test_scalar_inequality (quantities.tests.test_comparison.TestComparison) ... ok
> test_compound_reduction (quantities.tests.test_conversion.TestConversion) ... ok
> test_inplace_conversion (quantities.tests.test_conversion.TestConversion) ... ok
> test_rescale (quantities.tests.test_conversion.TestConversion) ... ok
> test_default_length (quantities.tests.test_conversion.TestDefaultUnits) ... ok
> test_default_system (quantities.tests.test_conversion.TestDefaultUnits) ... ok
> test_iec (quantities.tests.test_conversion.TestUnitInformation) ... ok
> test_iec_aliases (quantities.tests.test_conversion.TestUnitInformation) ... ok
> test_si (quantities.tests.test_conversion.TestUnitInformation) ... ok
> test_si_aliases (quantities.tests.test_conversion.TestUnitInformation) ... ok
> test_addition (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_copy (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_dimensionality_str (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_division (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_equality (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_ge (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_gt (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_inequality (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_inplace_addition (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_inplace_division (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_inplace_multiplication (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_inplace_power (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_inplace_subtraction (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_le (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_lt (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_multiplication (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_power (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_simplification (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_subtraction (quantities.tests.test_dimensionality.TestDimensionality) ... ok
> test_str_format_non_scalar (quantities.tests.test_formatting.TestFormatting) ... ok
> test_str_format_scalar (quantities.tests.test_formatting.TestFormatting) ... ok
> test_argmax (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_argmin (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_argsort (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_clip (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_compress (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_conj (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_cumprod (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_cumsum (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_diagonal (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_fill (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_flatten (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_getitem (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_imag (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_iterator (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_max (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_mean (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_min (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_nanargmax (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_nanmax (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_nanmean (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_nanmin (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_nanstd (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_nansum (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_nonzero (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_prod (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_ptp (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_put (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_ravel (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_real (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_repeat (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_reshape (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_round (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_searchsorted (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_setitem (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_sort (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_squeeze (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_std (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_sum (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_take (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_tolist (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_trace (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_transpose (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_var (quantities.tests.test_methods.TestQuantityMethods) ... ok
> test_backward_compat (quantities.tests.test_persistence.TestPersistence)
> A few pickles collected before fixing #113 just to make sure we remain backwards compatible. ... ok
> test_copy_quantity (quantities.tests.test_persistence.TestPersistence) ... ok
> test_copy_uncertainquantity (quantities.tests.test_persistence.TestPersistence) ... ok
> test_quantity_object_dtype (quantities.tests.test_persistence.TestPersistence) ... ok
> test_quantity_persistence (quantities.tests.test_persistence.TestPersistence) ... ok
> test_uncertainquantity_object_dtype (quantities.tests.test_persistence.TestPersistence) ... ok
> test_uncertainquantity_persistence (quantities.tests.test_persistence.TestPersistence) ... ok
> test_unitconstant_persistence (quantities.tests.test_persistence.TestPersistence) ... ok
> test_unitquantity_persistence (quantities.tests.test_persistence.TestPersistence) ... ok
> test_arccos (quantities.tests.test_umath.TestUmath) ... ok
> test_arccosh (quantities.tests.test_umath.TestUmath) ... ok
> test_arcsin (quantities.tests.test_umath.TestUmath) ... ok
> test_arcsinh (quantities.tests.test_umath.TestUmath) ... ok
> test_arctan (quantities.tests.test_umath.TestUmath) ... ok
> test_arctan2 (quantities.tests.test_umath.TestUmath) ... ERROR
> test_arctanh (quantities.tests.test_umath.TestUmath) ... ok
> test_around (quantities.tests.test_umath.TestUmath) ... ok
> test_ceil (quantities.tests.test_umath.TestUmath) ... ok
> test_cos (quantities.tests.test_umath.TestUmath) ... ok
> test_cosh (quantities.tests.test_umath.TestUmath) ... ok
> test_cross (quantities.tests.test_umath.TestUmath) ... expected failure
> test_cumprod (quantities.tests.test_umath.TestUmath) ... ok
> test_cumsum (quantities.tests.test_umath.TestUmath) ... ok
> test_degrees (quantities.tests.test_umath.TestUmath) ... ok
> test_diff (quantities.tests.test_umath.TestUmath) ... ok
> test_ediff1d (quantities.tests.test_umath.TestUmath) ... ok
> test_equal (quantities.tests.test_umath.TestUmath) ... ok
> test_exp (quantities.tests.test_umath.TestUmath) ... ok
> test_expm1 (quantities.tests.test_umath.TestUmath) ... ok
> test_fix (quantities.tests.test_umath.TestUmath) ... ok
> test_floor (quantities.tests.test_umath.TestUmath) ... ok
> test_gradient (quantities.tests.test_umath.TestUmath) ... expected failure
> test_greater (quantities.tests.test_umath.TestUmath) ... ok
> test_greater_equal (quantities.tests.test_umath.TestUmath) ... ok
> test_hypot (quantities.tests.test_umath.TestUmath) ... ok
> test_less (quantities.tests.test_umath.TestUmath) ... ok
> test_less_equal (quantities.tests.test_umath.TestUmath) ... ok
> test_linspace (quantities.tests.test_umath.TestUmath) ... ok
> test_log (quantities.tests.test_umath.TestUmath) ... ok
> test_log10 (quantities.tests.test_umath.TestUmath) ... ok
> test_log1p (quantities.tests.test_umath.TestUmath) ... ok
> test_log2 (quantities.tests.test_umath.TestUmath) ... ok
> test_nansum (quantities.tests.test_umath.TestUmath) ... ok
> test_not_equal (quantities.tests.test_umath.TestUmath) ... ok
> test_prod (quantities.tests.test_umath.TestUmath) ... ok
> test_radians (quantities.tests.test_umath.TestUmath) ... ok
> test_rint (quantities.tests.test_umath.TestUmath) ... ok
> test_round_ (quantities.tests.test_umath.TestUmath) ... ok
> test_sin (quantities.tests.test_umath.TestUmath) ... ok
> test_sinh (quantities.tests.test_umath.TestUmath) ... ok
> test_sum (quantities.tests.test_umath.TestUmath) ... ok
> test_tan (quantities.tests.test_umath.TestUmath) ... ok
> test_tanh (quantities.tests.test_umath.TestUmath) ... ok
> test_trapz (quantities.tests.test_umath.TestUmath) ... ok
> test_unwrap (quantities.tests.test_umath.TestUmath) ... expected failure
> test_creation (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_rescale (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_set_uncertainty (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_uncertainquantity_divide (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_uncertainquantity_multiply (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_uncertainquantity_negative (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_uncertaintity_mean (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_uncertaintity_nanmean (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_uncertainty_minmax_nan_arg (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_uncertainty_nansum (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_uncertainty_sqrt (quantities.tests.test_uncertainty.TestUncertainty) ... ok
> test_compound_units (quantities.tests.test_units.TestUnits) ... ok
> test_units_copy (quantities.tests.test_units.TestUnits) ... ok
> test_units_protected (quantities.tests.test_units.TestUnits) ... ok
> 
> ======================================================================
> ERROR: test_arctan2 (quantities.tests.test_umath.TestUmath)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/quantities/tests/test_umath.py", line 228, in test_arctan2
>     self.assertRaises(ValueError, np.arctan2, (1*pq.m, 1*pq.m))
>   File "/usr/lib/python3.9/unittest/case.py", line 731, in assertRaises
>     return context.handle('assertRaises', args, kwargs)
>   File "/usr/lib/python3.9/unittest/case.py", line 201, in handle
>     callable_obj(*args, **kwargs)
> TypeError: arctan2() takes from 2 to 3 positional arguments but 1 were given
> 
> ----------------------------------------------------------------------
> Ran 163 tests in 0.412s
> 
> FAILED (errors=1, expected failures=3)
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m unittest discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/11/numpy-matplotlib/numpy-exp/python-quantities_0.12.4-1_unstable_numpy-exp.log

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the debian-science-maintainers mailing list