Your message dated Tue, 07 Feb 2023 07:50:11 +0000
with message-id <[email protected]>
and subject line Bug#1028548: fixed in hyperspy 1.7.3-1
has caused the Debian Bug report #1028548,
regarding New upstream version needed
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.)
--
1028548: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028548
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hyperspy
Version: 1.6.1-1
Severity: normal
Hello,
a new upstream version of hyperspy is needed to fix #997475 and to build
with the python/numpy/* toolchain currently in sid.
I started packaging it at https://salsa.debian.org/science-team/hyperspy/
and it's currently blocked by:
* python3-statsmodels and python3-dask not being coinstallable
(relevant issues: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025393
and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027254 )
* seemingly numba-related errors in the test suite of this kind:
```
____________________________________________________________________
TestInteractive.test_lazy_interactive_snap[default]
_____________________________________________________________________
[gw1] linux -- Python 3.11.1 /usr/bin/python3.11
self = <hyperspy.tests.utils.test_roi.TestInteractive object at
0x7fb2319d5190>, snap = True
@pytest.mark.parametrize('snap', [True, False, 'default'])
def test_interactive_snap(self, snap):
kwargs = {}
if snap != 'default':
kwargs['snap'] = snap
else:
# default is True
snap = True
s = self.s
r = RectangularROI(left=3, right=7, top=2, bottom=5)
> s.plot()
hyperspy/tests/utils/test_roi.py:705:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
hyperspy/_signals/lazy.py:1234: in plot
super().plot(navigator=navigator, **kwargs)
hyperspy/_signals/signal1d.py:1658: in plot
super().plot(navigator=navigator,
hyperspy/signal.py:2898: in plot
self._plot.plot(**kwargs)
hyperspy/drawing/mpl_he.py:188: in plot
self.pointer.connect_navigate()
hyperspy/drawing/widget.py:225: in connect_navigate
self._on_navigate(self.axes_manager) # Update our position
hyperspy/drawing/widget.py:462: in _on_navigate
self.position = p # Use property to trigger events
hyperspy/drawing/widget.py:425: in <lambda>
lambda s, v: s._set_position(v))
hyperspy/drawing/widget.py:419: in _set_position
position = self._validate_pos(position)
hyperspy/drawing/widget.py:404: in _validate_pos
pos = self._do_snap_position(pos)
hyperspy/drawing/widget.py:434: in _do_snap_position
value[i] = ax.index2value(ax.value2index(value[i]))
hyperspy/axes.py:1214: in value2index
round_half_towards_zero(index, decimals=0),
/usr/lib/python3/dist-packages/numba/core/dispatcher.py:468: in
_compile_for_args
error_rewrite(e, 'typing')
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
e = TypingError('Failed in nopython mode pipeline (step: nopython
frontend)\n\x1b[1m\x1b[1m\x1b[1mNo implementation of fun... pragma: no cover\n
<source elided>\n\n\x1b[1m return np.where(array >= 0,\n\x1b[0m
\x1b[1m^\x1b[0m\x1b[0m\n')
issue_type = 'typing'
def error_rewrite(e, issue_type):
"""
Rewrite and raise Exception `e` with help supplied based on the
specified issue_type.
"""
if config.SHOW_HELP:
help_msg = errors.error_extras[issue_type]
e.patch_message('\n'.join((str(e).rstrip(), help_msg)))
if config.FULL_TRACEBACKS:
raise e
else:
> raise e.with_traceback(None)
E numba.core.errors.TypingError: Failed in nopython mode pipeline
(step: nopython frontend)
E No implementation of function Function(<function where at
0x7fb280c18cc0>) found for signature:
E
E >>> where(bool, float64, float64)
E
E There are 4 candidate implementations:
E - Of which 4 did not match due to:
E Overload in function
'_OverloadWrapper._build.<locals>.ol_generated': File:
numba/core/overload_glue.py: Line 129.
E With argument(s): '(bool, float64, float64)':
E Rejected as the implementation raised a specific error:
E TypeError: code() argument 13 must be str, not int
E raised from
/usr/lib/python3/dist-packages/numba/core/overload_glue.py:64
E
E During: resolving callee type: Function(<function where at
0x7fb280c18cc0>)
E During: typing of call at
/media/hyperspy/.pybuild/cpython3_3.11_hyperspy/build/hyperspy/misc/array_tools.py
(557)
E
E
E File "hyperspy/misc/array_tools.py", line 557:
E def round_half_towards_zero(array, decimals=0): # pragma: no cover
E <source elided>
E
E return np.where(array >= 0,
E ^
/usr/lib/python3/dist-packages/numba/core/dispatcher.py:409: TypingError
```
I'm opening this issue to track progress on the situation.
Enrico
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8),
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- End Message ---
--- Begin Message ---
Source: hyperspy
Source-Version: 1.7.3-1
Done: Enrico Zini <[email protected]>
We believe that the bug you reported is fixed in the latest version of
hyperspy, 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.
Enrico Zini <[email protected]> (supplier of updated hyperspy 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: Tue, 07 Feb 2023 08:20:22 +0100
Source: hyperspy
Architecture: source
Version: 1.7.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PaN Maintainers
<[email protected]>
Changed-By: Enrico Zini <[email protected]>
Closes: 997475 1018373 1028548
Changes:
hyperspy (1.7.3-1) unstable; urgency=medium
.
* New upstream version 1.7.3. Closes: #1028548
* Updated standards-version, no changes required
* Added debian/patches/fix-typo-import-scipy-datasets.diff to import a still
unreleased fix from upstream
* Removed nose dependency, not needed since hyperspy v1.2. Closes: #1018373
* Disable tests that require downloading datasets from the internet. Closes:
#997475
Checksums-Sha1:
974abfb745b26f65ba22b478a0e67b1703b78f16 2739 hyperspy_1.7.3-1.dsc
8e0c12ca1a6a18bb8c297ece182d234c6cc2ecfe 46334973 hyperspy_1.7.3.orig.tar.gz
02a1a48095926254717b7cd33da8a9ef2bd12d8a 3960 hyperspy_1.7.3-1.debian.tar.xz
aab97ad891089278b73495e6fe9e6fb2cf19836c 6280 hyperspy_1.7.3-1_source.buildinfo
Checksums-Sha256:
9b3dc0a157865fd1263bdb5a4d96726bf22f150df258a3e2999eba946522a15a 2739
hyperspy_1.7.3-1.dsc
a5d981ce98b91ada014db6e6119a40c2d54d2f7dd96ff1026159ba0cca57175c 46334973
hyperspy_1.7.3.orig.tar.gz
0351011a6c1e282dc998e78c1c22bc73515a260527cd155979773d311febded1 3960
hyperspy_1.7.3-1.debian.tar.xz
3159ba5764abe72cd2a1e59c0e2d2828585aef7d6bf7356ef703288008713803 6280
hyperspy_1.7.3-1_source.buildinfo
Files:
b603c29cbce6ee4a7aa1e61cb0d16f9b 2739 python optional hyperspy_1.7.3-1.dsc
43473fc0e868176a41900b5d6df20cee 46334973 python optional
hyperspy_1.7.3.orig.tar.gz
375b8b91208f93eea30f9f1984910c65 3960 python optional
hyperspy_1.7.3-1.debian.tar.xz
20e46cb48e2f709220b0775fe84bb0a5 6280 python optional
hyperspy_1.7.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCAAwFiEEJJAhGtA2CH5tHZqS0P9Jy+P0+2gFAmPh/rASHGVucmljb0Bk
ZWJpYW4ub3JnAAoJEND/Scvj9PtoQ0cP/1DvjV2Dws49vgveBvOlI/q9/YISiwZS
M9mVRJNEctZkrn1+WSI6jDVOIycikmLQCFzNKZZSdAws053zRDCEJMZ0q4jA0l6G
3Ruw7ZMfWthEFNJtISwVV6MPpKpOU0myRo/4xLTygK5LOdN/W4KPvyBO8lKvq+eo
KsoWkEHFElKOddUPxowdKoOZdvQ7u/chS0YiimjtgYY5K1AeNJ4f5PUTPRSDu+MK
JFUbi2SAZSVV/053bTRq2nCG1L07/q7XCcgVd8o3nXX7KzI20wVNTWL53+2YJRXs
FbsROcMJwoN0zfzl0GP7+DDCmTBg3aRVMEeJExo7ggfblT7f6wATWeSDwwnO/RyM
H+CIl2yNONdM9gAhNMK3tSNDc7n9yzK9JfMuKKRCBW1Xfywc1hODzxcExDAyxauV
YOr1FtLxzi+GYOdJcTDUBhm0LWIOxbIOkGCNNXCpwF58zRbEPU9lxrLJEQZFmWi2
QhydzGn4Q4FWOTBMSCpxrU1jUSGFPvvbDAfnSlnb+oCOIOjj4IifNh0ZVOiNBBQn
qxGCApqlmC3Gum1UsDgP7yhM1/A5G4JnTkGTIIg8Lz+b9kTYvpxYOP/AP9O1XL+s
NtN9pC+xXs8Nw8tMYO+T3YyHmipFXu9WqoPB9IfZIccvjtU8Azkl2GBZtqT9tKjO
9QOK1fXw6V/k
=L4cX
-----END PGP SIGNATURE-----
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers