1.3.2: Suddenly many (45) failing tests due to incompatible importlib_resources API
Hi! When rebuilding the postorius 1.3.2 package (due to changes to how it will be packaged) that is currently in Arch Linux' [community-testing] repository, I ran into a lot of failing tests all of a sudden. They all seem to stem from not being able to communicate with the mailman API.
The tests test_accept_held_messages and test_held_message_count I even have to completely disable, as otherwise the test suite never returns (gets stuck on either of the two tests).
This is extremely puzzling, as in the build before everything went just fine.
- Test output from now: postorius-1.3.2-pytest.log
- Test output from a build before: postorius-1.3.2-3-x86_64-check.log
I assume, that there are breaking changes in some of the dependencies of postorius that cause this.
Here are all installed packages and their respective versions (in the nspawn container used for packaging):
- .BUILDINFO for the current build (when disabling the tests, as the build otherwise can't complete): .BUILDINFO
- .BUILDINFO for the previous build: .BUILDINFO
I don't see any obvious differences in versions that should cause something like this when diffing:
4c4
< pkgver = 1.3.2-3
---
> pkgver = 1.3.2-4
6,8c6,8
< pkgbuild_sha256sum = d567317751d1f322177ef04e124fd9cf59f7ed15218c734f9faa4d6fe9e40c98
< packager = David Runge <dave@sleepmap.de>
< builddate = 1580604249
---
> pkgbuild_sha256sum = 688c05ac6095683c66671851a49bcea16aa05cf53b701e77c5f34b8db8fae9f8
> packager = David Runge <dvzrv@archlinux.org>
> builddate = 1585782719
28,32c28,32
< installed = autoconf-2.69-6-any
< installed = automake-1.16.1-2-any
< installed = bash-5.0.011-2-x86_64
< installed = binutils-2.33.1-2-x86_64
< installed = bison-3.5-1-x86_64
---
> installed = autoconf-2.69-7-any
> installed = automake-1.16.2-1-any
> installed = bash-5.0.016-1-x86_64
> installed = binutils-2.34-2-x86_64
> installed = bison-3.5.3-1-x86_64
35c35
< installed = ca-certificates-mozilla-3.49.2-3-x86_64
---
> installed = ca-certificates-mozilla-3.51-1-x86_64
38c38
< installed = coreutils-8.31-3-x86_64
---
> installed = coreutils-8.32-1-x86_64
40,41c40,41
< installed = cryptsetup-2.2.2-1-x86_64
< installed = curl-7.68.0-1-x86_64
---
> installed = cryptsetup-2.3.1-1-x86_64
> installed = curl-7.69.1-1-x86_64
44c44
< installed = device-mapper-2.02.186-5-x86_64
---
> installed = device-mapper-2.02.187-1-x86_64
46c46,47
< installed = e2fsprogs-1.45.5-1-x86_64
---
> installed = e2fsprogs-1.45.6-1-x86_64
> installed = elfutils-0.178-2-x86_64
55,56c56,57
< installed = gcc-9.2.0-4-x86_64
< installed = gcc-libs-9.2.0-4-x86_64
---
> installed = gcc-9.3.0-1-x86_64
> installed = gcc-libs-9.3.0-1-x86_64
59,63c60,64
< installed = glib2-2.62.4-1-x86_64
< installed = glibc-2.30-3-x86_64
< installed = gmp-6.1.2-3-x86_64
< installed = gnupg-2.2.19-1-x86_64
< installed = gnutls-3.6.11.1-1-x86_64
---
> installed = glib2-2.64.1-1-x86_64
> installed = glibc-2.31-2-x86_64
> installed = gmp-6.2.0-1-x86_64
> installed = gnupg-2.2.20-1-x86_64
> installed = gnutls-3.6.13-1-x86_64
70,72c71,73
< installed = hwids-20191025-2-any
< installed = iana-etc-20191231-1-any
< installed = icu-65.1-2-x86_64
---
> installed = hwids-20200306-1-any
> installed = iana-etc-20200327-1-any
> installed = icu-65.1-3-x86_64
77,78c78,79
< installed = kmod-26-3-x86_64
< installed = krb5-1.17.1-1-x86_64
---
> installed = kmod-27-1-x86_64
> installed = krb5-1.18-1-x86_64
80c81
< installed = libarchive-3.4.1-1-x86_64
---
> installed = libarchive-3.4.2-1-x86_64
82,83c83
< installed = libatomic_ops-7.6.10-1-x86_64
< installed = libcap-2.30-1-x86_64
---
> installed = libcap-2.33-1-x86_64
86c86
< installed = libelf-0.177-2-x86_64
---
> installed = libelf-0.178-2-x86_64
89c89
< installed = libgpg-error-1.36-3-x86_64
---
> installed = libgpg-error-1.37-1-x86_64
92a93
> installed = libmicrohttpd-0.9.70-1-x86_64
95c96
< installed = libnetfilter_conntrack-1.0.7-1-x86_64
---
> installed = libnetfilter_conntrack-1.0.8-1-x86_64
97,98c98,99
< installed = libnftnl-1.1.5-1-x86_64
< installed = libnghttp2-1.39.2-2-x86_64
---
> installed = libnftnl-1.1.6-1-x86_64
> installed = libnghttp2-1.40.0-1-x86_64
100a102
> installed = libp11-kit-0.23.20-3-x86_64
104,105c106,107
< installed = libseccomp-2.4.1-3-x86_64
< installed = libsecret-0.20.1-1-x86_64
---
> installed = libseccomp-2.4.2-1-x86_64
> installed = libsecret-0.20.2-1-x86_64
107c109
< installed = libtasn1-4.15.0-1-x86_64
---
> installed = libtasn1-4.16.0-1-x86_64
109c111
< installed = libtool-2.4.6+42+gb88cebd5-8-x86_64
---
> installed = libtool-2.4.6+42+gb88cebd5-11-x86_64
115c117
< installed = linux-api-headers-5.3.1-2-any
---
> installed = linux-api-headers-5.4.17-1-any
119c121
< installed = make-4.2.1-4-x86_64
---
> installed = make-4.3-1-x86_64
121c123
< installed = ncurses-6.1-7-x86_64
---
> installed = ncurses-6.2-1-x86_64
124,125c126,127
< installed = openssl-1.1.1.d-2-x86_64
< installed = p11-kit-0.23.20-2-x86_64
---
> installed = openssl-1.1.1.f-1-x86_64
> installed = p11-kit-0.23.20-3-x86_64
127c129
< installed = pacman-mirrorlist-20200103-1-any
---
> installed = pacman-mirrorlist-20200207-1-any
131c133
< installed = pcre-8.43-2-x86_64
---
> installed = pcre-8.44-1-x86_64
133c135
< installed = perl-5.30.1-1-x86_64
---
> installed = perl-5.30.2-1-x86_64
138c140
< installed = python-3.8.1-4-x86_64
---
> installed = python-3.8.2-1-x86_64
140c142
< installed = python-alembic-1.3.2-1-any
---
> installed = python-alembic-1.4.2-1-any
143c145
< installed = python-asgiref-3.2.3-1-any
---
> installed = python-asgiref-3.2.5-1-any
147c149
< installed = python-attrs-19.3.0-3-any
---
> installed = python-attrs-19.3.0-4-any
152,153c154,155
< installed = python-bleach-3.1.0-3-any
< installed = python-cffi-1.13.2-2-x86_64
---
> installed = python-bleach-3.1.3-1-any
> installed = python-cffi-1.14.0-1-x86_64
155c157
< installed = python-click-7.0-3-any
---
> installed = python-click-7.1.1-1-any
157,158c159,160
< installed = python-cryptography-2.8-1-x86_64
< installed = python-dateutil-2.8.1-2-any
---
> installed = python-cryptography-2.8-2-x86_64
> installed = python-dateutil-2.8.1-3-any
160c162
< installed = python-django-3.0.2-1-any
---
> installed = python-django-3.0.4-1-any
162c164
< installed = python-django-gravatar-1.4.3-2-any
---
> installed = python-django-gravatar-1.4.4-1-any
166c168
< installed = python-docutils-0.14-4-any
---
> installed = python-docutils-0.16-1-any
168c170
< installed = python-falcon-2.0.0-3-x86_64
---
> installed = python-falcon-2.0.0-4-x86_64
172,174c174,176
< installed = python-idna-2.8-3-any
< installed = python-importlib-metadata-1.4.0-1-any
< installed = python-importlib_resources-1.0.2-1-any
---
> installed = python-idna-2.9-1-any
> installed = python-importlib-metadata-1.5.0-1-any
> installed = python-importlib_resources-1.4.0-1-any
180c182
< installed = python-mako-1.1.1-1-any
---
> installed = python-mako-1.1.2-1-any
183,184c185,186
< installed = python-more-itertools-8.1.0-1-any
< installed = python-multidict-4.7.4-1-x86_64
---
> installed = python-more-itertools-8.2.0-1-any
> installed = python-multidict-4.7.5-1-x86_64
186c188
< installed = python-oauthlib-3.1.0-3-any
---
> installed = python-oauthlib-3.1.0-4-any
189c191
< installed = python-packaging-20.0-1-any
---
> installed = python-packaging-20.3-1-any
191c193
< installed = python-pbr-5.4.4-1-any
---
> installed = python-pbr-5.4.4-2-any
196,197c198,199
< installed = python-pycparser-2.19-3-any
< installed = python-pygments-2.5.2-1-any
---
> installed = python-pycparser-2.20-1-any
> installed = python-pygments-2.6.1-2-any
199,200c201,202
< installed = python-pytest-5.3.5-1-any
< installed = python-pytest-django-3.8.0-1-any
---
> installed = python-pytest-5.4.1-1-any
> installed = python-pytest-django-3.9.0-1-any
202,205c204,207
< installed = python-readme-renderer-24.0-5-any
< installed = python-requests-2.22.0-3-any
< installed = python-requests-oauthlib-1.3.0-1-any
< installed = python-setuptools-1:45.0.0-1-any
---
> installed = python-readme-renderer-25.0-1-any
> installed = python-requests-2.23.0-1-any
> installed = python-requests-oauthlib-1.3.0-2-any
> installed = python-setuptools-1:46.1.3-1-any
208,211c210,213
< installed = python-sqlalchemy-1.3.13-1-x86_64
< installed = python-sqlparse-0.3.0-3-any
< installed = python-urllib3-1.25.8-1-any
< installed = python-vcrpy-2.1.1-2-any
---
> installed = python-sqlalchemy-1.3.15-1-x86_64
> installed = python-sqlparse-0.3.1-1-any
> installed = python-urllib3-1.25.8-2-any
> installed = python-vcrpy-4.0.2-1-any
214,215c216,217
< installed = python-wrapt-1.11.2-3-x86_64
< installed = python-yaml-5.3-1-x86_64
---
> installed = python-wrapt-1.12.1-1-x86_64
> installed = python-yaml-5.3.1-1-x86_64
217,219c219,221
< installed = python-zipp-2.0.0-1-x86_64
< installed = python-zope-component-4.6-1-any
< installed = python-zope-configuration-4.3.1-3-any
---
> installed = python-zipp-3.1.0-1-any
> installed = python-zope-component-4.6.1-1-any
> installed = python-zope-configuration-4.4.0-1-any
223,228c225,230
< installed = python-zope-hookable-5.0.0-1-x86_64
< installed = python-zope-i18nmessageid-5.0.0-1-x86_64
< installed = python-zope-interface-4.7.1-1-x86_64
< installed = python-zope-proxy-4.3.3-1-x86_64
< installed = python-zope-schema-4.9.3-4-any
< installed = readline-8.0.001-2-x86_64
---
> installed = python-zope-hookable-5.0.1-1-x86_64
> installed = python-zope-i18nmessageid-5.0.1-1-x86_64
> installed = python-zope-interface-5.0.2-1-x86_64
> installed = python-zope-proxy-4.3.5-1-x86_64
> installed = python-zope-schema-6.0.0-1-any
> installed = readline-8.0.004-1-x86_64
230c232
< installed = shadow-4.8-1-x86_64
---
> installed = shadow-4.8.1-1-x86_64
232,234c234,236
< installed = sudo-1.8.31-1-x86_64
< installed = systemd-244.1-1-x86_64
< installed = systemd-libs-244.1-1-x86_64
---
> installed = sudo-1.8.31.p1-1-x86_64
> installed = systemd-245.4-1-x86_64
> installed = systemd-libs-245.4-1-x86_64
240c242
< installed = xz-5.2.4-2-x86_64
---
> installed = xz-5.2.5-1-x86_64
Any hints would be greatly appreciated!