Package: src:python-django-zeal
Version: 1.4.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel 
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-zeal
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/zeal
copying src/zeal/errors.py -> build/lib/zeal
copying src/zeal/listeners.py -> build/lib/zeal
copying src/zeal/apps.py -> build/lib/zeal
copying src/zeal/__init__.py -> build/lib/zeal
copying src/zeal/util.py -> build/lib/zeal
copying src/zeal/middleware.py -> build/lib/zeal
copying src/zeal/patch.py -> build/lib/zeal
running egg_info
creating src/django_zeal.egg-info
writing src/django_zeal.egg-info/PKG-INFO
writing dependency_links to src/django_zeal.egg-info/dependency_links.txt
writing top-level names to src/django_zeal.egg-info/top_level.txt
writing manifest file 'src/django_zeal.egg-info/SOURCES.txt'
reading manifest file 'src/django_zeal.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/django_zeal.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/zeal
copying build/lib/zeal/errors.py -> build/bdist.linux-x86_64/wheel/./zeal
copying build/lib/zeal/listeners.py -> build/bdist.linux-x86_64/wheel/./zeal
copying build/lib/zeal/apps.py -> build/bdist.linux-x86_64/wheel/./zeal
copying build/lib/zeal/__init__.py -> build/bdist.linux-x86_64/wheel/./zeal
copying build/lib/zeal/util.py -> build/bdist.linux-x86_64/wheel/./zeal
copying build/lib/zeal/middleware.py -> build/bdist.linux-x86_64/wheel/./zeal
copying build/lib/zeal/patch.py -> build/bdist.linux-x86_64/wheel/./zeal
running install_egg_info
Copying src/django_zeal.egg-info to 
build/bdist.linux-x86_64/wheel/./django_zeal-1.4.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/django_zeal-1.4.0.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-zeal/.tmp-ff2v9cjo/django_zeal-1.4.0-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'zeal/__init__.py'
adding 'zeal/apps.py'
adding 'zeal/errors.py'
adding 'zeal/listeners.py'
adding 'zeal/middleware.py'
adding 'zeal/patch.py'
adding 'zeal/util.py'
adding 'django_zeal-1.4.0.dist-info/LICENSE'
adding 'django_zeal-1.4.0.dist-info/METADATA'
adding 'django_zeal-1.4.0.dist-info/WHEEL'
adding 'django_zeal-1.4.0.dist-info/top_level.txt'
adding 'django_zeal-1.4.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built django_zeal-1.4.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-zeal/build; python3.12 -m pytest 
-k 'not test_can_log_errors and not test_errors_include_caller and not 
test_ignores_calls_on_different_lines'
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
django: settings: djangoproject.settings (from ini)
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-zeal/build
configfile: pyproject.toml
testpaths: tests
plugins: typeguard-4.3.0, Faker-28.1.0, django-4.5.2
collected 0 items / 3 errors

==================================== ERRORS ====================================
___________________ ERROR collecting tests/test_listeners.py ___________________
tests/test_listeners.py:9: in <module>
    from .factories import PostFactory, UserFactory
tests/factories.py:9: in <module>
    class BaseFactory(Generic[T], factory.django.DjangoModelFactory):
/usr/lib/python3/dist-packages/factory/base.py:80: in __new__
    new_class = super().__new__(
E   TypeError: Cannot create a consistent method resolution
E   order (MRO) for bases Generic, DjangoModelFactory
___________________ ERROR collecting tests/test_nplusones.py ___________________
tests/test_nplusones.py:10: in <module>
    from .factories import PostFactory, ProfileFactory, UserFactory
tests/factories.py:9: in <module>
    class BaseFactory(Generic[T], factory.django.DjangoModelFactory):
/usr/lib/python3/dist-packages/factory/base.py:80: in __new__
    new_class = super().__new__(
E   TypeError: Cannot create a consistent method resolution
E   order (MRO) for bases Generic, DjangoModelFactory
_____________________ ERROR collecting tests/test_patch.py _____________________
tests/test_patch.py:6: in <module>
    from tests.factories import UserFactory
tests/factories.py:9: in <module>
    class BaseFactory(Generic[T], factory.django.DjangoModelFactory):
/usr/lib/python3/dist-packages/factory/base.py:80: in __new__
    new_class = super().__new__(
E   TypeError: Cannot create a consistent method resolution
E   order (MRO) for bases Generic, DjangoModelFactory
=========================== short test summary info ============================
ERROR tests/test_listeners.py - TypeError: Cannot create a consistent method ...
ERROR tests/test_nplusones.py - TypeError: Cannot create a consistent method ...
ERROR tests/test_patch.py - TypeError: Cannot create a consistent method reso...
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 3 errors in 0.14s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-zeal/build; python3.12 -m pytest 
-k 'not test_can_log_errors and not test_errors_include_caller and not 
test_ignores_calls_on_different_lines'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 
returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to