Package: src:django-select2 Version: 7.10.0-3 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ 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 cannot 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 add an affects on src:django-select2, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --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:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django_select2 * Building wheel... WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' [... snipped ...] /usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text return t.render(c) ^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:175: in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/utils.py:111: in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) /usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send (receiver, receiver(signal=self, sender=sender, **named)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:267: in store_rendered_templates store["context"].append(copy(context)) ^^^^^^^^^^^^^ /usr/lib/python3.14/copy.py:82: in copy return copier(x) ^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__ duplicate = super().__copy__() ^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 'unicode_hint': '', 'frames': [{'exc_cause': None, '... /select2/fields/auto.json', 'lastframe': {'exc_cause': None, 'exc_cause_explicit': True, 'tb': None, 'type': 'user'}}] def __copy__(self): duplicate = copy(super()) > duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ E AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes /usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError _____________________ TestAutoResponseView.test_pagination _____________________ self = <tests.test_views.TestAutoResponseView object at 0x7f096b556570> genres = [<Genre: 7SNQVXIDBEQIEBLFIWKFGAWZ3LZWNYPRELQEMKHMO8JULVNSTG>, <Genre: 51PZQ8N0M2ESBF6US90IS5FRYSPRWD5F8LWXDUY20937HH1Y... TOGXT0ROZN55QP004RMOM8F2XIGWRVE25ZFG525ECP3TW59KXA>, <Genre: BM0NEQETGAT0EH47IR82VRVNOK9YWL3BRZ2CZGLXG4MO27PYWN>, ...] client = <django.test.client.Client object at 0x7f096b223610> def test_pagination(self, genres, client): url = reverse("django_select2:auto-json") widget = ModelSelect2Widget( max_results=10, model=Genre, search_fields=["title__icontains"] ) widget.render("name", None) field_id = widget.field_id response = client.get(url, {"field_id": field_id, "term": ""}) assert response.status_code == 200 data = json.loads(response.content.decode("utf-8")) assert data["more"] is True > response = client.get(url, {"field_id": field_id, "term": "", "page": > 1000}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_views.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/test/client.py:927: in get response = super().get(path, data=data, secure=secure, headers=headers, **extra) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:457: in get return self.generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) ^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/base.py:143: in get_response log_response( /usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response getattr(logger, level)( /usr/lib/python3.14/logging/__init__.py:1549: in error self._log(ERROR, msg, args, **kwargs) /usr/lib/python3.14/logging/__init__.py:1665: in _log self.handle(record) /usr/lib/python3.14/logging/__init__.py:1681: in handle self.callHandlers(record) /usr/lib/python3.14/logging/__init__.py:1737: in callHandlers hdlr.handle(record) /usr/lib/python3.14/logging/__init__.py:1027: in handle self.emit(record) /usr/lib/python3/dist-packages/django/utils/log.py:125: in emit reporter.get_traceback_text(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text return t.render(c) ^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:175: in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/utils.py:111: in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) /usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send (receiver, receiver(signal=self, sender=sender, **named)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:267: in store_rendered_templates store["context"].append(copy(context)) ^^^^^^^^^^^^^ /usr/lib/python3.14/copy.py:82: in copy return copier(x) ^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__ duplicate = super().__copy__() ^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 'unicode_hint': '', 'frames': [{'exc_cause': None, '... /select2/fields/auto.json', 'lastframe': {'exc_cause': None, 'exc_cause_explicit': True, 'tb': None, 'type': 'user'}}] def __copy__(self): duplicate = copy(super()) > duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ E AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes /usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError _____________________ TestAutoResponseView.test_url_check ______________________ self = <tests.test_views.TestAutoResponseView object at 0x7f096b5a0af0> client = <django.test.client.Client object at 0x7f096b2204b0> artists = [<Artist: 5VUKX7JMP6XB2G0JUDR793U2GKSF7VV7T6VJXCP406AWHHY2RK>, <Artist: 14CVUAF301C2NB3PI4J3Z6RWPHSDP5AP3JMC7KF2OZ2E8O...JQLO0KUOTO0QYWU0URS18JLP88X6UUBNDL8TKOBM4DQPWO3F6B>, <Artist: 033SHQKH6Z1KTWYZ1N1U1ENI5H011XMOFT7P2A6CPH1QG7L3DR>, ...] def test_url_check(self, client, artists): artist = artists[0] form = AlbumModelSelect2WidgetForm() assert form.as_p() field_id = form.fields["artist"].widget.field_id cache_key = form.fields["artist"].widget._get_cache_key() widget_dict = cache.get(cache_key) widget_dict["url"] = "yet/another/url" cache.set(cache_key, widget_dict) url = reverse("django_select2:auto-json") > response = client.get(url, {"field_id": field_id, "term": artist.title}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_views.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/test/client.py:927: in get response = super().get(path, data=data, secure=secure, headers=headers, **extra) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:457: in get return self.generic( /usr/lib/python3/dist-packages/django/test/client.py:609: in generic return self.request(**r) ^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:886: in request response = self.handler(environ) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:176: in __call__ response = self.get_response(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/core/handlers/base.py:143: in get_response log_response( /usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response getattr(logger, level)( /usr/lib/python3.14/logging/__init__.py:1549: in error self._log(ERROR, msg, args, **kwargs) /usr/lib/python3.14/logging/__init__.py:1665: in _log self.handle(record) /usr/lib/python3.14/logging/__init__.py:1681: in handle self.callHandlers(record) /usr/lib/python3.14/logging/__init__.py:1737: in callHandlers hdlr.handle(record) /usr/lib/python3.14/logging/__init__.py:1027: in handle self.emit(record) /usr/lib/python3/dist-packages/django/utils/log.py:125: in emit reporter.get_traceback_text(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text return t.render(c) ^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/base.py:175: in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/utils.py:111: in instrumented_test_render template_rendered.send(sender=self, template=self, context=context) /usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send (receiver, receiver(signal=self, sender=sender, **named)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/django/test/client.py:267: in store_rendered_templates store["context"].append(copy(context)) ^^^^^^^^^^^^^ /usr/lib/python3.14/copy.py:82: in copy return copier(x) ^^^^^^^^^ /usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__ duplicate = super().__copy__() ^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 'unicode_hint': '', 'frames': [{'exc_cause': None, '... /select2/fields/auto.json', 'lastframe': {'exc_cause': None, 'exc_cause_explicit': True, 'tb': None, 'type': 'user'}}] def __copy__(self): duplicate = copy(super()) > duplicate.dicts = self.dicts[:] ^^^^^^^^^^^^^^^ E AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for setting new attributes /usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241 /usr/lib/python3/dist-packages/django/conf/__init__.py:241: RemovedInDjango50Warning: The default value of USE_TZ will change from False to True in Django 5.0. Set USE_TZ to False in your project settings if you want to keep the current default behavior. warnings.warn( ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:267 /usr/lib/python3/dist-packages/django/conf/__init__.py:267: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale. warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.14.2-final-0 ----------- Name Stmts Miss Cover ------------------------------------------------ django_select2/__init__.py 3 1 67% django_select2/apps.py 4 0 100% django_select2/cache.py 4 0 100% django_select2/conf.py 22 0 100% django_select2/forms.py 189 4 98% django_select2/urls.py 4 0 100% django_select2/views.py 38 1 97% ------------------------------------------------ TOTAL 264 6 98% =========================== short test summary info ============================ FAILED tests/test_views.py::TestAutoResponseView::test_no_field_id - Attribut... FAILED tests/test_views.py::TestAutoResponseView::test_wrong_field_id - Attri... FAILED tests/test_views.py::TestAutoResponseView::test_field_id_not_found - A... FAILED tests/test_views.py::TestAutoResponseView::test_pagination - Attribute... FAILED tests/test_views.py::TestAutoResponseView::test_url_check - AttributeE... ============ 5 failed, 264 passed, 14 skipped, 2 warnings in 3.44s ============= E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django_select2/build; python3.14 -m pytest tests I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django_select2/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 django: version: 4.2.26, settings: tests.testapp.settings (from ini) rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django_select2/build configfile: setup.cfg plugins: cov-5.0.0, typeguard-4.4.4, django-4.11.1 collected 283 items tests/test_forms.py ..ss..ss...s.ss.....s............................ss. [ 18%] ..ssss [ 20%] tests/test_views.py ....... [ 22%] tests/test_cache.py . [ 23%] tests/test_forms.py .................................................... [ 41%] ........................................................................ [ 67%] ........................................................................ [ 92%] ..................... [100%] =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241 /usr/lib/python3/dist-packages/django/conf/__init__.py:241: RemovedInDjango50Warning: The default value of USE_TZ will change from False to True in Django 5.0. Set USE_TZ to False in your project settings if you want to keep the current default behavior. warnings.warn( ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:267 /usr/lib/python3/dist-packages/django/conf/__init__.py:267: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale. warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.13.11-final-0 ---------- Name Stmts Miss Cover ------------------------------------------------ django_select2/__init__.py 3 1 67% django_select2/apps.py 4 0 100% django_select2/cache.py 4 0 100% django_select2/conf.py 22 0 100% django_select2/forms.py 189 4 98% django_select2/urls.py 4 0 100% django_select2/views.py 38 1 97% ------------------------------------------------ TOTAL 264 6 98% ================= 269 passed, 14 skipped, 2 warnings in 1.92s ================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

