Source: python-measurement
Version: 3.2.2-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240809 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:311: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_measurement  
> * Building wheel...
> Successfully built measurement-3.2.2-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
> "installer" module
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_measurement/build; python3.12 -m 
> unittest discover -v 
> test_area_sq_km (tests.test_distance.DistanceTest.test_area_sq_km) ... ok
> test_attrib_conversion 
> (tests.test_distance.DistanceTest.test_attrib_conversion) ... ok
> test_auto_si_attrs (tests.test_distance.DistanceTest.test_auto_si_attrs) ... 
> ok
> test_auto_si_kwargs (tests.test_distance.DistanceTest.test_auto_si_kwargs) 
> ... ok
> test_conversion_equivalence 
> (tests.test_distance.DistanceTest.test_conversion_equivalence) ... ok
> test_identity_conversion 
> (tests.test_distance.DistanceTest.test_identity_conversion) ... ok
> test_set_value (tests.test_distance.DistanceTest.test_set_value) ... ok
> test_dietary_calories_kwarg 
> (tests.test_energy.EnergyTest.test_dietary_calories_kwarg) ... ok
> test_abbreviations (tests.test_speed.SpeedTest.test_abbreviations) ... ok
> test_addition (tests.test_speed.SpeedTest.test_addition) ... ok
> test_aliases (tests.test_speed.SpeedTest.test_aliases) ... ok
> test_attrconversion (tests.test_speed.SpeedTest.test_attrconversion) ... ok
> test_attrconversion_nonstandard 
> (tests.test_speed.SpeedTest.test_attrconversion_nonstandard) ... ok
> test_bool_false (tests.test_speed.SpeedTest.test_bool_false) ... ok
> test_bool_true (tests.test_speed.SpeedTest.test_bool_true) ... ok
> test_different_units_addition 
> (tests.test_speed.SpeedTest.test_different_units_addition) ... ok
> test_div (tests.test_speed.SpeedTest.test_div) ... ok
> test_equals (tests.test_speed.SpeedTest.test_equals) ... ok
> test_iadd (tests.test_speed.SpeedTest.test_iadd) ... ok
> test_idiv (tests.test_speed.SpeedTest.test_idiv) ... ok
> test_imul (tests.test_speed.SpeedTest.test_imul) ... ok
> test_isub (tests.test_speed.SpeedTest.test_isub) ... ok
> test_lt (tests.test_speed.SpeedTest.test_lt) ... ok
> test_mul (tests.test_speed.SpeedTest.test_mul) ... ok
> test_set_unit (tests.test_speed.SpeedTest.test_set_unit) ... ok
> test_sub (tests.test_speed.SpeedTest.test_sub) ... ok
> test_conversion_to_non_si 
> (tests.test_temperature.TemperatureTest.test_conversion_to_non_si) ... ok
> test_ensure_that_we_always_output_float 
> (tests.test_temperature.TemperatureTest.test_ensure_that_we_always_output_float)
>  ... ok
> test_sanity (tests.test_temperature.TemperatureTest.test_sanity) ... FAIL
> test_guess_distance (tests.test_utils.UtilsTest.test_guess_distance) ... ok
> test_guess_temperature (tests.test_utils.UtilsTest.test_guess_temperature) 
> ... ok
> test_guess_weight (tests.test_utils.UtilsTest.test_guess_weight) ... ok
> test_sub_one_base_si_measure 
> (tests.test_volume.VolumeTest.test_sub_one_base_si_measure) ... ok
> 
> ======================================================================
> FAIL: test_sanity (tests.test_temperature.TemperatureTest.test_sanity)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_measurement/build/tests/test_temperature.py",
>  line 12, in test_sanity
>     self.assertAlmostEqual(
> AssertionError: 294.261111111111 != 294.261111100000 within 7 places 
> (1.11110693978844e-8 difference)
> 
> ----------------------------------------------------------------------
> Ran 33 tests in 0.018s
> 
> FAILED (failures=1)
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_measurement/build; python3.12 -m 
> unittest discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2024/08/09/python-measurement_3.2.2-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark 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.

Reply via email to