#1028748 bottleneck: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.11" returned exit code 13 #1028748
- Package:
- src:bottleneck
- Source:
- src:bottleneck
- Submitter:
- Lucas Nussbaum
- Date:
- 2023-01-19 21:21:03 UTC
- Severity:
- normal
- Tags:
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): The full build log is available from: http://qa-logs.debian.net/2023/01/13/bottleneck_1.3.5+ds1-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lucas@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.
There is one hacky way to get this moving, and the package build with the patch. But not sure if it should be applied or not (as this is ugly) I am not adding a patch tag for the same reason. Have also mentioned this as a comment in upstream issue.--- a/bottleneck/slow/move.py +++ b/bottleneck/slow/move.py @@ -232,8 +232,9 @@ # At least one dimension has length 0 shape = list(a.shape) shape.pop(axis) - r = np.empty(shape, dtype=a.dtype) + r = np.empty(shape, dtype=float) r.fill(np.nan) + r = r.astype(a.dtype) if (r.ndim == 0) and (r.size == 1): r = np.nan return r
Hello, Bug #1028748 in bottleneck reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/python-team/packages/bottleneck/-/commit/1e9826700e19c07757d48a71856998f8ff3219d1 (this message was generated automatically) -- Greetings https://bugs.debian.org/1028748
We believe that the bug you reported is fixed in the latest version of
bottleneck, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1028748@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nilesh Patra <nilesh@debian.org> (supplier of updated bottleneck package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 20 Jan 2023 02:20:34 +0530
Source: bottleneck
Architecture: source
Version: 1.3.5+ds1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Nilesh Patra <nilesh@debian.org>
Closes: 1028748
Changes:
bottleneck (1.3.5+ds1-2) unstable; urgency=medium
.
* Team Upload.
* Cherry-pick upstream patch to fix numpy
1.24 FTBFS (Closes: #1028748)
Checksums-Sha1:
4dfb4319963823f73ccb2ae55888b2955c4c8551 1757 bottleneck_1.3.5+ds1-2.dsc
dfbca7a17ad330fd2fb270ec16c1a9659726b722 5804 bottleneck_1.3.5+ds1-2.debian.tar.xz
b67761a89b1f0314697b277dc1107e2b9ffc0ffd 8267 bottleneck_1.3.5+ds1-2_amd64.buildinfo
Checksums-Sha256:
65de5fdd4a5b8382facb9496790d5342001455d20056c5848a2f44c1c5e0e851 1757 bottleneck_1.3.5+ds1-2.dsc
678a721231fdd0f3f1ca61844c2b72db30dd05b9092a69a869054b7a7a939802 5804 bottleneck_1.3.5+ds1-2.debian.tar.xz
131bd17ba89372ccdf02a4547f8e3a5c3d65bf33a127bfdfc75fc9df51b04c4d 8267 bottleneck_1.3.5+ds1-2_amd64.buildinfo
Files:
580f42efc21bd765346408affa9ae340 1757 python optional bottleneck_1.3.5+ds1-2.dsc
5101df91a6036aa9bf81de9ad7cb0131 5804 python optional bottleneck_1.3.5+ds1-2.debian.tar.xz
69b681f6be9465a8726930fb30d66fc5 8267 python optional bottleneck_1.3.5+ds1-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUCY8mwMAAKCRAqJ5BL1yQ+
2josAQDz8nvjDBwrdqe1kMO9ekwe/vk4/8WaSNC55msEcjKVaAD9ELhzv/PZrShG
7mXOd5PcBcp+/6JUFph9nDn4T9GQpwo=
=dWUq
-----END PGP SIGNATURE-----