Package: src:baler Version: 1.4.0-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202605/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:baler, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with python3 --buildsystem pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build" module I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13 * Building wheel... Successfully built baler-1.4.0-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' PYTEST_ADDOPTS="-p no:cacheprovider --verbose" dh_auto_test I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3.13 hypothesis profile 'default' rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build configfile: pyproject.toml plugins: hypothesis-6.152.4, typeguard-4.4.4 collecting ... collected 11 items tests/test_data_processing.py::test_import_config_success PASSED [ 9%] tests/test_data_processing.py::test_save_model PASSED [ 18%] tests/test_data_processing.py::test_find_minmax_success PASSED [ 27%] tests/test_data_processing.py::test_normalize PASSED [ 36%] tests/test_data_processing.py::test_renormalize_std PASSED [ 45%] tests/test_data_processing.py::test_renormalize_func PASSED [ 54%] tests/test_helper.py::test_create_new_project PASSED [ 63%] tests/test_utils.py::test_mse_loss_emd_l1 PASSED [ 72%] tests/test_utils.py::test_mse_loss_l1 PASSED [ 81%] tests/test_utils.py::test_accuracy PASSED [ 90%] tests/test_utils.py::test_lr_scheduler FAILED [100%] =================================== FAILURES =================================== ______________________________ test_lr_scheduler _______________________________ def test_lr_scheduler(): # Create a dummy model and optimizer model = torch.nn.Linear(10, 1) optimizer = torch.optim.SGD(model.parameters(), lr=0.1) # Create a learning rate scheduler > lr_scheduler = LRScheduler(optimizer, patience=2, min_lr=1e-5, > factor=0.5) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_utils.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <baler.modules.utils.LRScheduler object at 0x7f7da0f16900> optimizer = SGD ( Parameter Group 0 dampening: 0 differentiable: False foreach: None fused: None lr: 0.1 maximize: False momentum: 0 nesterov: False weight_decay: 0 ) patience = 2, min_lr = 1e-05, factor = 0.5 def __init__(self, optimizer, patience, min_lr=min_lr, factor=factor): self.optimizer = optimizer self.patience = patience self.min_lr = min_lr self.factor = factor # Maybe add if statements for selectment of lr schedulers > self.lr_scheduler = torch.optim.lr_scheduler.ReduceLROnPlateau( self.optimizer, mode="min", patience=self.patience, factor=self.factor, min_lr=self.min_lr, verbose=True, ) E TypeError: ReduceLROnPlateau.__init__() got an unexpected keyword argument 'verbose' baler/modules/utils.py:313: TypeError =========================== short test summary info ============================ FAILED tests/test_utils.py::test_lr_scheduler - TypeError: ReduceLROnPlateau.... ========================= 1 failed, 10 passed in 2.54s ========================= E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 --parallel=2 returned exit code 13 make[1]: *** [debian/rules:13: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:7: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

