On Tue, Feb 6, 2024 at 9:47 PM Pushkar Kulkarni
<pushkar.kulkarni@canonical.com> wrote:
>
> === freedombox/bootstrapform ===
> The freedombox package depends on bootstrapform. Autopkgtests of the
> former fail because the latter imports distutils. I did a Debian MR
> [15] to replace distutils.StrictVersion with packaging.Version. But I
> now see bootstrapform also failing, independent of this merge request,
> with Python 3.12. Test pipelines on the MR are failing and this needs
> more investigation.
>
> [15] https://salsa.debian.org/freedombox-team/python-django-bootstrap-form/-/merge_requests/4
>
I worked a little bit on this one the other day, because it was
blocking my samba upload.
I filed this bug initially:
https://bugs.launchpad.net/ubuntu/+source/python-django-bootstrap-form/+bug/2050093
Fixing the distutils import. But then, as did you, I saw the django
failure with python 3.12:
344s autopkgtest [06:02:28]: test command1: [-----------------------
344s /tmp/autopkgtest.LCD785/build.iLk/src/runtests.py:61:
RemovedInDjango50Warning: The extra_tests argument is deprecated.
344s failures = test_runner.run_tests(['bootstrapform'], test_args)
344s Found 1 test(s).
344s Traceback (most recent call last):
344s File "/tmp/autopkgtest.LCD785/build.iLk/src/runtests.py", line
66, in <module>
344s runtests(*sys.argv[1:])
344s File "/tmp/autopkgtest.LCD785/build.iLk/src/runtests.py", line
61, in runtests
344s failures = test_runner.run_tests(['bootstrapform'], test_args)
344s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
344s File "/usr/lib/python3/dist-packages/django/test/runner.py",
line 1060, in run_tests
344s self.run_checks(databases)
344s File "/usr/lib/python3/dist-packages/django/test/runner.py",
line 977, in run_checks
344s call_command("check", verbosity=self.verbosity, databases=databases)
344s File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
line 110, in call_command
344s app_name = get_commands()[command_name]
344s ^^^^^^^^^^^^^^
344s File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
line 76, in get_commands
344s for app_config in reversed(apps.get_app_configs()):
344s ^^^^^^^^^^^^^^^^^^^^^^
344s File "/usr/lib/python3/dist-packages/django/apps/registry.py",
line 147, in get_app_configs
344s self.check_apps_ready()
344s File "/usr/lib/python3/dist-packages/django/apps/registry.py",
line 138, in check_apps_ready
344s raise AppRegistryNotReady("Apps aren't loaded yet.")
344s django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
I found the debian bug about the distutils import which you filed:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062980
Where I also sent my patch to, and also commented on the above django error.
Does someone with some django knowledge know what is going on above?
Unfortunately upstream
(https://github.com/tzangms/django-bootstrap-form) seems abandoned :(
This is the only package with this error:
$ ./retry-autopkgtest-regressions --log-regex "Apps aren't loaded yet"
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=python-django-bootstrap-form&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=python-django-bootstrap-form&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=python-django-bootstrap-form&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=python-django-bootstrap-form&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=s390x&package=python-django-bootstrap-form&trigger=python3-defaults%2F3.12.1-0ubuntu1
An on that topic, the distutils import problem affects these:
$ ./retry-autopkgtest-regressions --log-regex "No module named 'distutils'"
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=dolfinx-mpc&trigger=petsc4py%2F3.19.6-3ubuntu1&trigger=petsc%2F3.19.6%2Bdfsg1-2ubuntu1&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=onionshare&trigger=pyside2%2F5.15.12-4&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=onionshare&trigger=pyside2%2F5.15.12-4&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=onionshare&trigger=pyside2%2F5.15.12-4&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=onionshare&trigger=pyside2%2F5.15.12-4&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=s390x&package=onionshare&trigger=pyside2%2F5.15.12-4&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=faiss&trigger=faiss%2F1.7.4-3build1&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=faiss&trigger=faiss%2F1.7.4-3build1&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=faiss&trigger=faiss%2F1.7.4-3build1&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=faiss&trigger=faiss%2F1.7.4-3build1&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=s390x&package=faiss&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=anorack&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=anorack&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=anorack&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=anorack&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=booth&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=booth&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=booth&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=booth&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=crmsh&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=crmsh&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=crmsh&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=crmsh&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=mininet&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=mininet&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=mininet&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=multiqc&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=nibabel&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=openmm&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=pybdsf&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=pytest-openfiles&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=pytest-openfiles&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=pytest-openfiles&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=pytest-openfiles&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=python-asdf&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=python-asdf&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=python-asdf&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=python-asdf&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=s390x&package=python-asdf&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=radio-beam&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=reportbug&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=reportbug&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=reportbug&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=reportbug&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=s390x&package=reportbug&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=reprounzip&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=reprozip&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=i386&package=reprozip&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=ros-bloom&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=ros-bloom&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=ros-bloom&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=s390x&package=ros-bloom&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=sdkmanager&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=sdkmanager&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=sdkmanager&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=sdkmanager&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=s390x&package=sdkmanager&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=spades&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=armhf&package=spectral-cube&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=ufw&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=ufw&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=ufw&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=amd64&package=virulencefinder&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=arm64&package=virulencefinder&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=ppc64el&package=virulencefinder&trigger=python3-defaults%2F3.12.1-0ubuntu1
https://autopkgtest.ubuntu.com/request.cgi?release=noble&arch=s390x&package=virulencefinder&trigger=python3-defaults%2F3.12.1-0ubuntu1
It looks like a divide-and-conquer approach could be used to address
these in the +1 maintenance shift, as the fix is probably the same for
all.
--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel