Your message dated Sun, 26 Feb 2023 16:52:22 +0000
with message-id <e1pwkg6-000afr...@fasolo.debian.org>
and subject line Bug#1031832: fixed in python-vispy 0.6.6-3
has caused the Debian Bug report #1031832,
regarding python3-vispy: import fails: AttributeError: module 'numpy' has no 
attribute 'bool'
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 ow...@bugs.debian.org
immediately.)


-- 
1031832: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031832
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-vispy
Severity: serious


Dear Maintainer,

This import fails in a Sid chroot:

>>> from vispy.plot import Fig
/usr/lib/python3/dist-packages/vispy/gloo/program.py:113: FutureWarning: In the 
future `np.bool` will be defined as the corresponding NumPy scalar.
 'bvec2':        (np.bool,    2),
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/usr/lib/python3/dist-packages/vispy/plot/__init__.py", line 34, in 
<module>
   from .fig import Fig  # noqa
   ^^^^^^^^^^^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/vispy/plot/fig.py", line 5, in <module>
   from ..scene import SceneCanvas
 File "/usr/lib/python3/dist-packages/vispy/scene/__init__.py", line 33, in 
<module>
   from .visuals import *  # noqa
   ^^^^^^^^^^^^^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/vispy/scene/visuals.py", line 18, in 
<module>
   from .. import visuals
 File "/usr/lib/python3/dist-packages/vispy/visuals/__init__.py", line 14, in 
<module>
   from .axis import AxisVisual  # noqa
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/vispy/visuals/axis.py", line 11, in 
<module>
   from .visual import CompoundVisual
 File "/usr/lib/python3/dist-packages/vispy/visuals/visual.py", line 90, in 
<module>
   from .. import gloo
 File "/usr/lib/python3/dist-packages/vispy/gloo/__init__.py", line 54, in 
<module>
   from .program import Program  # noqa
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/vispy/gloo/program.py", line 74, in 
<module>
   class Program(GLObject):
 File "/usr/lib/python3/dist-packages/vispy/gloo/program.py", line 113, in 
Program
   'bvec2':        (np.bool,    2),
                    ^^^^^^^
 File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 305, in 
__getattr__
   raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in 
existing code, use `bool` by itself. Doing this will not modify any behavior
and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` 
here.
The aliases was originally deprecated in NumPy 1.20; for more details and 
guidance see the original release note at:
   https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you 
mean: 'bool_'?

Kind Regards

--- End Message ---
--- Begin Message ---
Source: python-vispy
Source-Version: 0.6.6-3
Done: Étienne Mollier <emoll...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-vispy, 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 1031...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Étienne Mollier <emoll...@debian.org> (supplier of updated python-vispy 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 26 Feb 2023 16:13:22 +0100
Source: python-vispy
Architecture: source
Version: 0.6.6-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Étienne Mollier <emoll...@debian.org>
Closes: 1031832
Changes:
 python-vispy (0.6.6-3) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Update lintian override info to new format on line 1.
   * Use secure URI in debian/watch.
   * Set upstream metadata fields: Repository-Browse.
   * Update standards version to 4.6.1, no changes needed.
 .
   [ Étienne Mollier ]
   * numpy-1.24.patch: fix import failure of vispy.plot (Closes: #1031832)
Checksums-Sha1:
 ac66eb16a2577b1607adf779838b3c6622bd0620 2487 python-vispy_0.6.6-3.dsc
 3f518130fdcf7babe647963078ca83850366f6eb 79876 
python-vispy_0.6.6-3.debian.tar.xz
Checksums-Sha256:
 c229d5385747fe27e2ba922a8af94f8691982dbdd0a826ae91cdaa3ef990d60a 2487 
python-vispy_0.6.6-3.dsc
 c1fd3a7c381c1804630979ad34315da7e07943aecac3cc382667e2a83643fb2e 79876 
python-vispy_0.6.6-3.debian.tar.xz
Files:
 79471a87e0837b7d5d1e42ebb47df82a 2487 python optional python-vispy_0.6.6-3.dsc
 9385de47bd4e3ba11a5a22e083a5eff8 79876 python optional 
python-vispy_0.6.6-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmP7gxAUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdp6AxAAv9IO5AOwqAJyzCkfy2mGvOb+d1N8
eS0184g3YWQ+VRNePEvlFUv5vEYQp3XWgqgR6XHBNHaE5e1jp64ph7Zp9AXy5/sb
WFQ0ICcK1sh0BUy1PpkJ07AcYfIGi1zJAg2EI/Ot0trembYSZvq3RT14E0TB/zUp
90K2A6A93t7HwFN4J3MYNOHlTzuc/Ngeyrp2hgZHeWuVLOcnqYPRVHC4nw/Zd4wE
cfJyYvTd3y2vZWbKqd738VCMg62RZ6sU1SAy0WhC6woO/I7XLVSyfATwtLEQ2G4A
C8apzVR/bG/yyTAfNehsslTHe5ZM4ENeI0/QvNnqb0ZzZIEYYKgvSicxKgd8VXEf
JWUERPe5ccDxZojXMpSuS4ymRk6FrE5E6P4mc490dD3QgrlXg08lKTaTSNP0emrO
HdkgHkgPBa25sde33YNAUaD5B5AyU3Wm4W5Bsa5NmpQCqWrZWNwzqS1EKW9tF2oY
SFGbtUTs0l1n1k8KSPNDshv+lbUzwhEVao4/iIdrOsMjTMkoTiJ7PK6gEoYGPT+J
dbMhXizjg5d5HOiJmwoybSzbrrpFnYLK/thjX7mpVrvZ3I9DbFTSRccNKJjwy+nI
hRRuStRNckPOy9ZebuVYq8iEgJfSU/beukiW1x8RO3DhCAbdPl0FEuzbfJjCCWWn
p1LRDmDVwIKdKac=
=06iq
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to