Your message dated Mon, 23 Jan 2023 19:49:49 +0000
with message-id <[email protected]>
and subject line Bug#1027192: fixed in binoculars 0.0.12-1.1
has caused the Debian Bug report #1027192,
regarding binoculars: FTBFS: AttributeError: module 'numpy' has no attribute
'bool'. Unable to parse configuration option 'maskmatrix'. The error can quite
likely be solved by modifying the option in the configuration file.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1027192: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027192
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: binoculars
Version: 0.0.12-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20230120 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args='{interpreter} -m unittest
> discover -s tests -t {dir} -v'
> pybuild --test -i python{version} -p 3.11 --system=custom
> "--test-args={interpreter} -m unittest discover -s tests -t {dir} -v"
> I: pybuild base:240: python3.11 -m unittest discover -s tests -t
> /<<PKGBUILDDIR>> -v
> test_IO (tests.test_cfg.TestCase.test_IO) ... ok
> test_IO (tests.test_id03.TestCase.test_IO) ...
> /<<PKGBUILDDIR>>/binoculars/backends/id03.py:1177: FutureWarning: In the
> future `np.bool` will be defined as the corresponding NumPy scalar. (This
> may have returned Python scalars in past versions.
> return numpy.array(numpy.load(filename), dtype=numpy.bool)
> ERROR
> test_IO (tests.test_metadata.MetaDataTestCase.test_IO) ... expected failure
>
> ======================================================================
> ERROR: test_IO (tests.test_id03.TestCase.test_IO)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/test_id03.py", line 24, in setUp
> self.id03input = id03.EH2(cfg_unparsed)
> ^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/binoculars/util.py", line 744, in __init__
> self.parse_config(config)
> File "/<<PKGBUILDDIR>>/binoculars/backends/id03.py", line 909, in
> parse_config
> super(EH2, self).parse_config(config)
> File "/<<PKGBUILDDIR>>/binoculars/backends/id03.py", line 478, in
> parse_config
> self.config.maskmatrix = load_matrix(
> ^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/binoculars/backends/id03.py", line 1177, in
> load_matrix
> return numpy.array(numpy.load(filename), dtype=numpy.bool)
> ^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 284, in
> __getattr__
> raise AttributeError("module {!r} has no attribute "
> AttributeError: module 'numpy' has no attribute 'bool'. Unable to parse
> configuration option 'maskmatrix'. The error can quite likely be solved by
> modifying the option in the configuration file.
>
> ----------------------------------------------------------------------
> Ran 3 tests in 0.065s
>
> FAILED (errors=1, expected failures=1)
> ConfigFile{
> [dispatcher]
> destination = b'demo_{first}-{last}.hdf5'
> overwrite = b'true'
> type = b'local'
> [projection]
> resolution = b'0.002, 0.002, 1'
> type = b'id03:hklprojection'
> [input]
> centralpixel = b'40, 255'
> imagefolder = b'/path/to/data/images/{rUCCD[0]}/'
> pixelsize = b'0.055, 0.055'
> sdd = b'1050'
> specfile = b'/path/to/data/file.spec'
> target_weight = b'4000'
> type = b'id03:eh1'
> xmask = b'50-235'
> ymask = b'185-253,262-400'
> }
> origin = test.hdf5
> command =
> MetaBase{
> [first]
> string = string
> numpy.array = [0 1 2 3 4 5 6 7 8 9]
> list = range(0, 10)
> tuple = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
> }
>
> Space (3 dimensions, 1331 points, 20.8 kB) {
> Axis h (min=0.0, max=10.0, res=1.0, count=11)
> Axis k (min=0.0, max=10.0, res=1.0, count=11)
> Axis l (min=0.0, max=10.0, res=1.0, count=11)
> }
> E: pybuild pybuild:388: test: plugin custom failed with: exit code=1:
> python3.11 -m unittest discover -s tests -t /<<PKGBUILDDIR>> -v
> rm -fr -- /tmp/dh-xdg-rundir-D4gM_IpQ
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11
> --system=custom "--test-args={interpreter} -m unittest discover -s tests -t
> {dir} -v" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/01/20/binoculars_0.0.12-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230120;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230120&[email protected]&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.
--- End Message ---
--- Begin Message ---
Source: binoculars
Source-Version: 0.0.12-1.1
Done: Bas Couwenberg <[email protected]>
We believe that the bug you reported is fixed in the latest version of
binoculars, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bas Couwenberg <[email protected]> (supplier of updated binoculars 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 11 Jan 2023 17:48:13 +0100
Source: binoculars
Built-For-Profiles: noudeb
Architecture: source
Version: 0.0.12-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian PaN Maintainers
<[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Closes: 1027192
Changes:
binoculars (0.0.12-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Add patch to fix test failure with Numpy 1.24.
(closes: #1027192)
Checksums-Sha1:
230b9d6ea6b96a9e8e0c3277fd2778946655df77 2409 binoculars_0.0.12-1.1.dsc
6f93614b62e0b383d5abbbef23e5f1e09990a53f 4968
binoculars_0.0.12-1.1.debian.tar.xz
c2c0cb22aaa6985b81027f7609f5482c445ba4ba 8751
binoculars_0.0.12-1.1_source.buildinfo
Checksums-Sha256:
e6bb4e4d3858e7d7f9251b43c1bb1687b929acc540d3f4600082fadc43bbc713 2409
binoculars_0.0.12-1.1.dsc
bc26e12ff30bd2bed2152ebfeed3491125e423ea82eb0ca08cea779f9f078e47 4968
binoculars_0.0.12-1.1.debian.tar.xz
49c908dfa2ce604fc61bfbff5d00f73514381f47344ac6bf5f273ee497a2f072 8751
binoculars_0.0.12-1.1_source.buildinfo
Files:
39e579e3daa162b9b01780a38f121976 2409 science optional
binoculars_0.0.12-1.1.dsc
b9a759b29e4c2cdf0613e8053a6afe92 4968 science optional
binoculars_0.0.12-1.1.debian.tar.xz
cd7401a711e6d2dd8a80027e6e26b851 8751 science optional
binoculars_0.0.12-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmPO4CoACgkQ4n8s+EWM
L6TAnQ/9ENZi0YVOGLND8avcxd6peH537v3VebsHQbZ/G7kC9CHftxGbEsGjkwUz
JJWHuey/plPUKNG/RQNBfSRfgSSTJ3vGpy2p1ZZsbgoX9PfBOeWps/ebI4z4OKlA
FK5x9C+58pOMASmS/Jv28ie9WGs+vFnnGbvCIwGO/w2EFfogis0hIXpZj4kqTLMz
brUqs6HrJDEaPB9+jRnizGYb/OV/cQsMsDHGSf09j1UV0aZ33yLLDfp5e8qC6XOw
8I2Ots+sO/eT9IC/D4VXBSP+NnsZifNNsppa8MPHbN5PAZymduQG0goSNjw4kzuv
U78YRkvKe5xjhbvTnRrQUAcTBYael2Oqz8+K0yv3ezPbq6zaGVX/zIvsS0JjOpx3
yJF1ABq60125xcqZ5YV5NCWjA3JIJZmXLAWEbUxMgQiHdZIvykhhofGdvhKd7RKc
UsIIJO2CDXSDq0ZwnupwG4Cf+6Hv0Iax6NaCLKURDc37Pbd5iBQYQKvNCMBiiI2r
6hKT2uryy4/KXatqSkFMrPKf/SYwZL0mAHAkoDi2eiCTZmTuveqnC1Ef/L9gQcu8
HZSmWQQoE2cNNcl6xVZlQoGjJE4LWPwP2nMaYhlEQMDTWMuqBAIE1CcJHntSoWyQ
yV1gxLr4l3Vy+OoA3x68DPrKRf/ReGgtlkIjCok6ZIhrkg/CUs8=
=vGbB
-----END PGP SIGNATURE-----
--- End Message ---