Bug#1014618: tpot: FTBFS in unstable

Sergio Durigan Junior sergiodj at sergiodj.net
Wed Jul 13 19:38:40 BST 2022


Control: tags -1 + patch

On Friday, July 08 2022, Steve Langasek wrote:

> Hi Christian,
>
> While trying to get the tpot package built in Ubuntu, I've found that it
> fails to build in both Debian and Ubuntu:
>
> [...]
> ======================================================================
> FAIL: Assert that the TPOTClassifier score function outputs a known score for a fixed pipeline.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/tmp/tpot-0.11.7+dfsg/.pybuild/cpython3_3.10_tpot/build/tests/tpot_tests.py", line 642, in test_score_2
>     assert np.allclose(known_score, score)
> AssertionError
>
> ----------------------------------------------------------------------
> Ran 249 tests in 87.864s
>
> FAILED (SKIP=1, failures=1)
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd /tmp/tpot-0.11.7+dfsg/.pybuild/cpython3_3.10_tpot/build; python3.10 -m nose -v --ignore-files nn_tests.py --exclude test_log_file_verbose_3 --exclude test_sample_weight_func
> dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.10" returned exit code 13
> [...]
>
>   (https://launchpad.net/ubuntu/+source/tpot/0.11.7+dfsg-3/+build/23574118)
>
> I have no insights into the cause of this build regression, sorry!

There's a PR filed upstream that fixes this problem:

https://github.com/EpistasisLab/tpot/pull/1215

I've backported it, and the build now succeeds.

MR: https://salsa.debian.org/science-team/tpot/-/merge_requests/1

Cheers,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20220713/ff3842bf/attachment.sig>


More information about the debian-science-maintainers mailing list