Package: alot
Version: 0.11-1
Severity: serious
Tags: patch

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

Since upgrading to python3.13, alot fails to start:

Traceback (most recent call last):
  File "/usr/bin/alot", line 5, in <module>
    from alot.__main__ import main
  File "/usr/share/alot/alot/__main__.py", line 11, in <module>
    from alot.settings.const import settings
  File "/usr/share/alot/alot/settings/const.py", line 4, in <module>
    from .manager import SettingsManager
  File "/usr/share/alot/alot/settings/manager.py", line 7, in <module>
    import mailcap
ModuleNotFoundError: No module named 'mailcap'

Installing package python3-standard-mailcap solved it for me.

I guess the solution is to declare a dependency like this:

 python3-standard-mailcap | python3 (<< 3.13)


 - Jonas

- -- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 
'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.10-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages alot depends on:
ii  python3             3.13.1-2
ii  python3-configobj   5.0.9-1
ii  python3-gpg         1.24.1-2
ii  python3-magic       2:0.4.27-3
ii  python3-notmuch2    0.38.3-3
ii  python3-twisted     24.11.0-1
ii  python3-urwid       2.6.16-1
ii  python3-urwidtrees  1.0.3.dev0-3

Versions of packages alot recommends:
ii  notmuch  0.38.3-3
ii  w3m      0.5.3+git20230121-2.1

Versions of packages alot suggests:
pn  alot-doc  <none>

- -- no debconf information


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

wsG7BAEBCgBvBYJngQH7CRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmcOGeCju0Oc9GKoVTNBAZkZm/96Jhw08jif2TcZ/TJX
dhYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAAAqnA//cTCxwWunokI9zsKnDLY0qEN5
QIHmqiLpFDY+AwLuRlLQ5NZOIWQtshFQ889LIh+aehueKQZbh6J+lFHiq4wuNVEJ
DXLGESb2iZqqzLQRd3T742lYNPNITol8kdMSY0Uhdc6KyaJAwBkeN1l7VeT6sxy3
aWmFccFNjk+1lhKNiENcqaDA3vMwCvVgGdrsADQP7rvXCRwlRF5ZFTkQqpWhYqZ8
rQIVHINSI4lSApZ8K1g0+Ioiet3ZI7/noHq3Yp/05zrRTLXr4izczRlXVX0hrhcz
JAtr6cQDNYtD26mqLLNhIwLfilaGMHgf8ljM2s7W0sWUp3oxfmPkXqK2PLu4mS1s
VplbwXKRDfweGLn85qGU7caiGL3ylW7rEacjczOtSFyKTO8xjDgcy0cX2/gMya2b
1DWO9yPS/CL8Ky5qjFK1VG4MPWdANSEx8Iv1S74BwEWcrspMmW0Fs489Jyqyc2d/
8l3PyvuYax2bgw/yCMQkOg/SJ91v6w+Hkty4hO04MBz4j8YWTicpxoVCngHFNqIH
HfoCohR19NYZ5bbwG3icp70P5SPQHpW5NUkQhkWkNpBpYAfcGIMRP4s2uuZh9q1J
e3rch3CX7djfMSn/5g3dk9n0UtTBd9XKrpwv4MSZjmRevmpsBQgp9CbPGgsByMoP
mLc3Mk4JHcVd5aGR8GA=
=NsnR
-----END PGP SIGNATURE-----

Reply via email to