Your message dated Fri, 14 Mar 2025 03:46:04 +0000
with message-id <e1tsvzo-000gzq...@fasolo.debian.org>
and subject line Bug#1100445: fixed in mypaint 2.0.1-12
has caused the Debian Bug report #1100445,
regarding mypaint: fails with an ImportError at start
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.)
--
1100445: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100445
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mypaint
Version: 2.0.1-11+b1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: frank.dietr...@gmx.li
Dear Maintainer,
starting mypaint from the console reveals the following error message
---- start ----
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.3 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "/usr/bin/mypaint", line 293, in
<module>
= get_paths()
File "/usr/bin/mypaint", line 241, in get_paths
from lib import fileutils
File "/usr/lib/mypaint/lib/fileutils.py", line 25, in <module>
import lib.helpers
File "/usr/lib/mypaint/lib/helpers.py", line 25, in <module>
from . import mypaintlib
File "/usr/lib/mypaint/lib/mypaintlib.py", line 10, in <module>
from . import _mypaintlib
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/numpy/core/_multiarray_umath.py", line
44, in __getattr__
raise ImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.3 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last):
File "/usr/bin/mypaint", line 293, in <module>
= get_paths()
~~~~~~~~~^^
File "/usr/bin/mypaint", line 241, in get_paths
from lib import fileutils
File "/usr/lib/mypaint/lib/fileutils.py", line 25, in <module>
import lib.helpers
File "/usr/lib/mypaint/lib/helpers.py", line 25, in <module>
from . import mypaintlib
File "/usr/lib/mypaint/lib/mypaintlib.py", line 10, in <module>
from . import _mypaintlib
ImportError: numpy.core.multiarray failed to import
----- end -----
Rebuild the package from source, without any further changes, produces a
runnable application.
steps executed to rebuild
# as non-root user
$ mkdir $temp_build
$ cd $temp_build
$ apt source mypaint
$ dpkg-buildpackage -b
# as root
$ cd $temp_dir/..
$ dpkg -i mypaint_2.0.1-11_amd64.deb
# as non-root user
$ mypaint
INFO: mypaint: Installation layout: conventional POSIX-like structure with
prefix '/usr'
INFO: gui.main: No locale setting found, using system locale
INFO: lib.i18n: POSIX: LANG='en_GB.UTF-8'
INFO: lib.i18n: POSIX: LANGUAGE='en_US:en'
INFO: lib.i18n: Value of LANGUAGE after cleanup: 'en_US:C:en'
INFO: gui.compatibility: Setting mode to 2.x (standard)
INFO: gui.compatibility: Setting default layer type to Pigment
...
Based on the initial error message it might be, that numpy was updated, and
mypaint was not rebuild.
kind regards
Frank
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.17-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mypaint depends on:
ii gir1.2-gtk-3.0 3.24.48-4
ii libc6 2.41-4
ii libgcc-s1 14.2.0-17
ii libgdk-pixbuf-2.0-0 2.42.12+dfsg-2
ii libgomp1 14.2.0-17
ii liblcms2-2 2.16-2
ii libmypaint-1.5-1 1.6.0-3
ii libpng16-16t64 1.6.47-1
ii librsvg2-bin 2.59.90+dfsg-2
ii libstdc++6 14.2.0-17
ii mypaint-brushes 2.0.2+ds1-2
ii mypaint-data 2.0.1-11
ii python3 3.13.2-2
ii python3-gi 3.50.0-4+b1
ii python3-gi-cairo 3.50.0-4+b1
ii python3-numpy 1:2.2.3+ds-2+b1
Versions of packages mypaint recommends:
ii mypaint-data-extras 2.0.1-11
ii shared-mime-info 2.4-5+b2
mypaint suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: mypaint
Source-Version: 2.0.1-12
Done: Vincent Cheng <vch...@debian.org>
We believe that the bug you reported is fixed in the latest version of
mypaint, 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 1100...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vincent Cheng <vch...@debian.org> (supplier of updated mypaint 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: Thu, 13 Mar 2025 19:47:08 -0700
Source: mypaint
Architecture: source
Version: 2.0.1-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Vincent Cheng <vch...@debian.org>
Closes: 1100445
Changes:
mypaint (2.0.1-12) unstable; urgency=medium
.
* Add build-dep on dh-sequence-numpy3 to avoid missing dependency on numpy
abi, and to make sure it gets binNUM-ed when necessary. (Closes: #1100445)
* Bump Standards-Version to 4.7.2.
Checksums-Sha1:
c5ceead2230ed7ecb713f326400651fa28a74fd5 2392 mypaint_2.0.1-12.dsc
a85c26c4e6067ef5951a0ac548920eed7f60034b 23396 mypaint_2.0.1-12.debian.tar.xz
Checksums-Sha256:
2c84f2eb5afd293bee482ef7205da024b4068c18dac017333b2165860cde2159 2392
mypaint_2.0.1-12.dsc
d4a552d350bc17460cf5243c2830d607bbc2b669b8a181792ac8b188ff297ca5 23396
mypaint_2.0.1-12.debian.tar.xz
Files:
d5bddead1afa4c2fec3c5c075740aba5 2392 graphics optional mypaint_2.0.1-12.dsc
b2575ebb73d647d19cf68f439cfffddc 23396 graphics optional
mypaint_2.0.1-12.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE1TqBWjy3ZZr4guOVju3MG6ofMv8FAmfTnY8ACgkQju3MG6of
Mv/MlhAA70rVwdRRrGySf+XtapHQbodHGu2z+0zCVwg92VaH/C3Zpgby44G8wnQ6
HZLawd9QVYUm2L/jA1f59rwBwO7OyXhLiuwMN/SrR7pkMrbeaH44YwqLkeYnTF8n
sH+2X7kOiGyr1P/M9OcYQcnfDkolNzFJXKs6fjE9bfZJWGBFSWHfAHFJHDYLQI6P
xIDAjibX7RAQtFywqQ8lX97KZnnRZPau4eZlhdj4tbHca95jHLK4lioqmo40gFns
i53f673R/o9WJlNq2Do7ScesEWfKvdmtrqx0LteLNia18gWqUQUL7l4MSkTtAmks
hduCijZhl2MnZ54dOQ1+nnFVzVGifi2ybRzQsikAZUc4AIbxtP5PPgWKkZLbXhZt
z6o37LzCb0zwoScwJMPMeB60bpYBylqehHnOco9Q24ASZv4siPnQOnK4eoDV6zEE
wpweAqhISxFBrjVTmsG7BOIdoG4/DL1eu6slpATIO/MBHnJeDgkh58ee/2XMuqsm
kie1/QDDp2hvL7yq4fnMrx/TyfWx8Wt4HFJcDHg0tx1Nc0OZNyXJq3BE4Ue1ue4u
nKBhyYvs8jUzyrU9nO2YV+UUENTp21GmL8szDfqwypb62OjMhfKYfQykEE7mHeW1
i5GKZmij7dsIn1BAgPU4LFaz/nY64afDpznQgKLls3rY5Yj9fPs=
=N/Fq
-----END PGP SIGNATURE-----
pgpeF1xdWcKMg.pgp
Description: PGP signature
--- End Message ---