Bug#1003165: scikit-learn in unstable FTBFS on arm64, armel, armhf, i386, ppc64el and s390x

Neil Williams codehelp at debian.org
Wed Jan 5 14:12:17 GMT 2022


Source: scikit-learn
Version: 0.23.2-5
Severity: serious
Tags: ftbfs
Justification: Fails to build from source
X-Debbugs-Cc: codehelp at debian.org

The new version of scikit-learn has not migrated to testing because it
has not built on all required architectures. This is now affecting other
packages as the version of scikit-learn in testing is too old to allow
reverse dependencies to build. e.g. opentsne

https://buildd.debian.org/status/package.php?p=scikit-learn

This error crops up in the in-build tests:

=================================== FAILURES ===================================
[31m[1m________ [doctest] sklearn.ensemble._weight_boosting.AdaBoostRegressor _________[0m
1004     Examples
1005     --------
1006     >>> from sklearn.ensemble import AdaBoostRegressor
1007     >>> from sklearn.datasets import make_regression
1008     >>> X, y = make_regression(n_features=4, n_informative=2,
1009     ...                        random_state=0, shuffle=False)
1010     >>> regr = AdaBoostRegressor(random_state=0, n_estimators=100)
1011     >>> regr.fit(X, y)
1012     AdaBoostRegressor(n_estimators=100, random_state=0)
1013     >>> regr.predict([[0, 0, 0, 0]])
Expected:
    array([4.7972...])
Got:
    array([5.74049295])




-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/16 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the debian-science-maintainers mailing list