[Pkg-mailman-hackers] Bug#1049957: mailman3: does not work with importlib_resources v6

Matthias Urlichs smurf at smurf.noris.de
Thu Aug 17 11:21:15 BST 2023


Package: mailman3
Version: 3.3.8
Severity: normal
X-Debbugs-Cc: smurf at smurf.noris.de


# mailman 
Traceback (most recent call last):
  File "/usr/bin/mailman", line 33, in <module>
    sys.exit(load_entry_point('mailman==3.3.8', 'console_scripts', 'mailman')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  [...]
  File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 27, in <module>
    from importlib_resources import path, read_text
ImportError: cannot import name 'path' from 'importlib_resources' (/usr/lib/python3/dist-packages/importlib_resources/__init__.py)
#

Please add a "Breaks:" header for importlib-resource >= 6. Alternately,
Upstream (unreleased) contains two patches to src/mailman/utilities/i18n.py
which fix this and allow depending on importlib-resource 6+.

-- System Information:
Debian Release: 12.1
  APT prefers stable
  APT policy: (750, 'stable'), (700, 'testing'), (650, 'oldstable'), (600, 'oldoldstable'), (500, 'stable-security'), (500, 'oldstable-security'), (500, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 mailman3 depends on:
pn  cron                                                          <none>
pn  dbconfig-sqlite3 | dbconfig-pgsql | dbconfig-mysql | dbconfi  <none>
    g-no-thanks
ii  debconf [debconf-2.0]                                         1.5.82
ii  init-system-helpers                                           1.65.2
ii  logrotate                                                     3.21.0-1
ii  lsb-base                                                      11.6
ii  python3                                                       3.11.2-1+b1
pn  python3-aiosmtpd                                              <none>
ii  python3-alembic                                               1.8.1-2
pn  python3-authheaders                                           <none>
pn  python3-authres                                               <none>
ii  python3-click                                                 8.1.3-2
ii  python3-dateutil                                              2.8.2-2
pn  python3-dnspython                                             <none>
pn  python3-falcon                                                <none>
pn  python3-flufl.bounce                                          <none>
pn  python3-flufl.i18n                                            <none>
pn  python3-flufl.lock                                            <none>
pn  python3-gunicorn                                              <none>
pn  python3-importlib-resources                                   <none>
pn  python3-lazr.config                                           <none>
ii  python3-passlib                                               1.7.4-3
ii  python3-psycopg2                                              2.9.5-1+b1
pn  python3-public                                                <none>
ii  python3-requests                                              2.28.1+dfsg-1
ii  python3-sqlalchemy                                            1.4.46+ds1-1
pn  python3-zope.component                                        <none>
pn  python3-zope.configuration                                    <none>
pn  python3-zope.event                                            <none>
ii  python3-zope.interface                                        5.5.2-1+b1
ii  systemd-cron [cron-daemon]                                    1.15.19-5
ii  sysvinit-utils [lsb-base]                                     3.06-4
ii  ucf                                                           3.0043+nmu1

Versions of packages mailman3 recommends:
ii  nullmailer [mail-transport-agent]  1:2.2-4

Versions of packages mailman3 suggests:
ii  chromium [www-browser]                   114.0.5735.198-1~deb12u1
ii  epiphany-browser [www-browser]           43.1-1
ii  firefox [www-browser]                    115.0.2-1
ii  links [www-browser]                      2.28-1+b2
ii  lynx [www-browser]                       2.9.0dev.12-1
pn  mailman3-doc                             <none>
ii  mysql-server-8.0 [virtual-mysql-server]  8.0.34-1
ii  postgresql                               15+248
ii  systemd-cron [anacron]                   1.15.19-5



More information about the Pkg-mailman-hackers mailing list