Bug#1127792: sklearn-pandas: autopkgtest regression with scikit-learn 1.8.0
roehling at debian.org
roehling at debian.org
Fri Feb 13 00:08:21 GMT 2026
Package: sklearn-pandas
Version: 2.2.0-6
Severity: important
User: debian-python at lists.debian.org
Usertags: scikit-learn-1.8.0
Dear maintainer,
sklearn-pandas has an autopkgtest regression with scikit-learn.
The following architectures failed: amd64, arm64, i386, ppc64el, s390x
Hopefully relevant excerpt from https://ci.debian.net/packages/s/sklearn-pandas/unstable/amd64/68412589/ follows:
48s tests/test_dataframe_mapper.py::test_input_df_true_next_transformers FAILED
52s =================================== FAILURES ===================================
52s E AttributeError: 'MockTClassifier' object has no attribute '__sklearn_tags__'
52s E AttributeError: a: The following error was raised: 'MockTClassifier' object has no attribute '__sklearn_tags__'. It seems that there are no classes that implement `__sklearn_tags__` in the MRO and/or all classes in the MRO call `super().__sklearn_tags__()`. Make sure to inherit from `BaseEstimator` which implements `__sklearn_tags__` (or alternatively define `__sklearn_tags__` but we don't recommend this approach). Note that `BaseEstimator` needs to be on the right side of other Mixins in the inheritance order.
52s FAILED tests/test_dataframe_mapper.py::test_input_df_true_next_transformers
52s =================== 1 failed, 72 passed, 4 warnings in 4.17s ===================
52s run-unit-test FAIL non-zero exit status 1
92s run-unit-test FAIL non-zero exit status 1
More information about the debian-science-maintainers
mailing list