Source: django-graphiql-debug-toolbar
Version: 0.2.0-6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20250327 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  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.13 with "build" 
> module
> I: pybuild base:311: python3.13 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /build/reproducible-path/django-graphiql-debug-toolbar-0.2.0/.pybuild/cpython3_3.13_django-graphiql-debug-toolbar
>   
> * Building wheel...
> The "poetry.dev-dependencies" section is deprecated and will be removed in a 
> future version. Use "poetry.group.dev.dependencies" instead.
> Successfully built django_graphiql_debug_toolbar-0.2.0-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd 
> /build/reproducible-path/django-graphiql-debug-toolbar-0.2.0/.pybuild/cpython3_3.13_django-graphiql-debug-toolbar/build;
>  PYTHONPATH=. DJANGO_SETTINGS_MODULE=tests.settings django-admin test -v2 
> tests
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/django/core/files/storage/handler.py", 
> line 35, in __getitem__
>     return self._storages[alias]
>            ~~~~~~~~~~~~~~^^^^^^^
> KeyError: 'staticfiles'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/usr/bin/django-admin", line 33, in <module>
>     sys.exit(load_entry_point('Django==4.2.20', 'console_scripts', 
> 'django-admin')())
>              
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
>   File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
> line 442, in execute_from_command_line
>     utility.execute()
>     ~~~~~~~~~~~~~~~^^
>   File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
> line 416, in execute
>     django.setup()
>     ~~~~~~~~~~~~^^
>   File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup
>     apps.populate(settings.INSTALLED_APPS)
>     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 124, in 
> populate
>     app_config.ready()
>     ~~~~~~~~~~~~~~~~^^
>   File "/usr/lib/python3/dist-packages/debug_toolbar/apps.py", line 26, in 
> ready
>     cls.ready()
>     ~~~~~~~~~^^
>   File "/usr/lib/python3/dist-packages/debug_toolbar/panels/staticfiles.py", 
> line 79, in ready
>     cls = storage.staticfiles_storage.__class__
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 295, 
> in __getattribute__
>     value = super().__getattribute__(name)
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 266, 
> in inner
>     self._setup()
>     ~~~~~~~~~~~^^
>   File 
> "/usr/lib/python3/dist-packages/django/contrib/staticfiles/storage.py", line 
> 537, in _setup
>     self._wrapped = storages[STATICFILES_STORAGE_ALIAS]
>                     ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/core/files/storage/handler.py", 
> line 43, in __getitem__
>     storage = self.create_storage(params)
>   File "/usr/lib/python3/dist-packages/django/core/files/storage/handler.py", 
> line 55, in create_storage
>     return storage_cls(**options)
>   File 
> "/usr/lib/python3/dist-packages/django/contrib/staticfiles/storage.py", line 
> 29, in __init__
>     check_settings(base_url)
>     ~~~~~~~~~~~~~~^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/django/contrib/staticfiles/utils.py", 
> line 49, in check_settings
>     raise ImproperlyConfigured(
>     ...<2 lines>...
>     )
> django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app 
> without having set the required STATIC_URL setting.
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /build/reproducible-path/django-graphiql-debug-toolbar-0.2.0/.pybuild/cpython3_3.13_django-graphiql-debug-toolbar/build;
>  PYTHONPATH=. DJANGO_SETTINGS_MODULE=tests.settings django-admin test -v2 
> tests
> dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2025/03/27/django-graphiql-debug-toolbar_0.2.0-6_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250327;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250327&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to