Package: python3-vispy Version: 0.14.1-3 Severity: important Control: forwarded -1 https://github.com/vispy/vispy/pull/2599
Dear Maintainer, vispy package currently in sid (version 0.14.1-3) seems to be not compatible with numpy 2. >>> import numpy as np >>> from vispy.gloo.buffer import DataBuffer >>> data = np.zeros(1) >>> b = DataBuffer() >>> b.set_data(data) >>> b[0] = 1 Traceback (most recent call last): File "<python-input-20>", line 1, in <module> b[0] = 1 ~^^^ File "/build/python-vispy-0.14.1/vispy/gloo/buffer.py", line 286, in __setitem__ data = np.array(data, dtype=self.dtype, copy=False) ValueError: Unable to avoid copy while creating an array as requested. If using `np.array(obj, copy=False)` replace it with `np.asarray(obj)` to allow a copy when needed (no behavior change in NumPy 1.x). For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword. >>> Thanks for your work on vispy!