Source: django-oauth-toolkit
Version: 1.7.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm

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
> I: pybuild base:239: python3.9 setup.py config 
> running config
> I: pybuild base:239: python3.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:239: /usr/bin/python3.9 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/generators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/middleware.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/models.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/settings.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/http.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/urls.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/decorators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/forms.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/validators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/oauth2_validators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/apps.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/oauth2_backends.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/tasks.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/signals.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/scopes.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/backends.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/admin.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/0003_auto_20201211_1314.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/0004_auto_20200902_2022.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/0005_auto_20211222_2352.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/0001_initial.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/0002_auto_20190406_1805.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/migrations
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/introspect.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/mixins.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/generic.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/application.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/token.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/oidc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/views
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/management
> copying oauth2_provider/management/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/management
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/contrib
> copying oauth2_provider/contrib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/contrib
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/management/commands
> copying oauth2_provider/management/commands/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/management/commands
> copying oauth2_provider/management/commands/cleartokens.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/management/commands
> copying oauth2_provider/management/commands/createapplication.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/management/commands
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/contrib/rest_framework
> copying oauth2_provider/contrib/rest_framework/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/contrib/rest_framework
> copying oauth2_provider/contrib/rest_framework/permissions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/contrib/rest_framework
> copying oauth2_provider/contrib/rest_framework/authentication.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/contrib/rest_framework
> running egg_info
> creating django_oauth_toolkit.egg-info
> writing django_oauth_toolkit.egg-info/PKG-INFO
> writing dependency_links to django_oauth_toolkit.egg-info/dependency_links.txt
> writing requirements to django_oauth_toolkit.egg-info/requires.txt
> writing top-level names to django_oauth_toolkit.egg-info/top_level.txt
> writing manifest file 'django_oauth_toolkit.egg-info/SOURCES.txt'
> reading manifest file 'django_oauth_toolkit.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> adding license file 'AUTHORS'
> writing manifest file 'django_oauth_toolkit.egg-info/SOURCES.txt'
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying 
> oauth2_provider/templates/oauth2_provider/application_confirm_delete.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/application_detail.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/application_form.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/application_list.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying 
> oauth2_provider/templates/oauth2_provider/application_registration_form.html 
> -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/authorize.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/authorized-oob.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying 
> oauth2_provider/templates/oauth2_provider/authorized-token-delete.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/authorized-tokens.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/base.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> I: pybuild base:239: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/generators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/middleware.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/models.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/settings.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/http.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/urls.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/decorators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/forms.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/validators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/oauth2_validators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/apps.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/oauth2_backends.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/tasks.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/signals.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/scopes.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/backends.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> copying oauth2_provider/admin.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/0003_auto_20201211_1314.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/0004_auto_20200902_2022.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/0005_auto_20211222_2352.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/0001_initial.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/migrations
> copying oauth2_provider/migrations/0002_auto_20190406_1805.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/migrations
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/introspect.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/mixins.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/generic.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/application.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/token.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/views
> copying oauth2_provider/views/oidc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/views
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/management
> copying oauth2_provider/management/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/management
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/contrib
> copying oauth2_provider/contrib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/contrib
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/management/commands
> copying oauth2_provider/management/commands/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/management/commands
> copying oauth2_provider/management/commands/cleartokens.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/management/commands
> copying oauth2_provider/management/commands/createapplication.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/management/commands
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/contrib/rest_framework
> copying oauth2_provider/contrib/rest_framework/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/contrib/rest_framework
> copying oauth2_provider/contrib/rest_framework/permissions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/contrib/rest_framework
> copying oauth2_provider/contrib/rest_framework/authentication.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/contrib/rest_framework
> running egg_info
> writing django_oauth_toolkit.egg-info/PKG-INFO
> writing dependency_links to django_oauth_toolkit.egg-info/dependency_links.txt
> writing requirements to django_oauth_toolkit.egg-info/requires.txt
> writing top-level names to django_oauth_toolkit.egg-info/top_level.txt
> reading manifest file 'django_oauth_toolkit.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> adding license file 'AUTHORS'
> writing manifest file 'django_oauth_toolkit.egg-info/SOURCES.txt'
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying 
> oauth2_provider/templates/oauth2_provider/application_confirm_delete.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/application_detail.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/application_form.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/application_list.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying 
> oauth2_provider/templates/oauth2_provider/application_registration_form.html 
> -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/authorize.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/authorized-oob.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying 
> oauth2_provider/templates/oauth2_provider/authorized-token-delete.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/authorized-tokens.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
> copying oauth2_provider/templates/oauth2_provider/base.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/oauth2_provider/templates/oauth2_provider
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:239: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build; python3.9 
> -m pytest --ds tests.settings
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.13, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> Django settings: tests.settings (from command line option)
> rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini
> plugins: mock-3.7.0, django-3.5.1, cov-3.0.0, xdist-2.5.0, forked-1.4.0
> collected 348 items / 1 error / 347 selected
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.9_django-oauth-toolkit/build/tests/test_rest_framework.py 
> _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/tests/test_rest_framework.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3/dist-packages/rest_framework/settings.py:177: in 
> import_from_string
>     return import_string(val)
> /usr/lib/python3/dist-packages/django/utils/module_loading.py:30: in 
> import_string
>     return cached_import(module_path, class_name)
> /usr/lib/python3/dist-packages/django/utils/module_loading.py:15: in 
> cached_import
>     import_module(module_path)
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1030: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1007: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:986: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:680: in _load_unlocked
>     ???
> <frozen importlib._bootstrap_external>:850: in exec_module
>     ???
> <frozen importlib._bootstrap>:228: in _call_with_frames_removed
>     ???
> /usr/lib/python3/dist-packages/rest_framework/renderers.py:22: in <module>
>     from rest_framework import VERSION, exceptions, serializers, status
> /usr/lib/python3/dist-packages/rest_framework/serializers.py:29: in <module>
>     from rest_framework.fields import get_error_detail, set_value
> /usr/lib/python3/dist-packages/rest_framework/fields.py:32: in <module>
>     from pytz.exceptions import InvalidTimeError
> E   ModuleNotFoundError: No module named 'pytz'
> 
> During handling of the above exception, another exception occurred:
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_rest_framework.py:14: in <module>
>     from rest_framework.test import APIRequestFactory, force_authenticate
> /usr/lib/python3/dist-packages/rest_framework/test.py:138: in <module>
>     class APIRequestFactory(DjangoRequestFactory):
> /usr/lib/python3/dist-packages/rest_framework/test.py:139: in 
> APIRequestFactory
>     renderer_classes_list = api_settings.TEST_REQUEST_RENDERER_CLASSES
> /usr/lib/python3/dist-packages/rest_framework/settings.py:225: in __getattr__
>     val = perform_import(val, attr)
> /usr/lib/python3/dist-packages/rest_framework/settings.py:168: in 
> perform_import
>     return [import_from_string(item, setting_name) for item in val]
> /usr/lib/python3/dist-packages/rest_framework/settings.py:168: in <listcomp>
>     return [import_from_string(item, setting_name) for item in val]
> /usr/lib/python3/dist-packages/rest_framework/settings.py:180: in 
> import_from_string
>     raise ImportError(msg)
> E   ImportError: Could not import 
> 'rest_framework.renderers.MultiPartRenderer' for API setting 
> 'TEST_REQUEST_RENDERER_CLASSES'. ModuleNotFoundError: No module named 'pytz'.
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:229
>   /usr/lib/python3/dist-packages/django/conf/__init__.py:229: 
> 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)
> 
> tests/test_client_credential.py:106
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build/tests/test_client_credential.py:106:
>  PytestCollectionWarning: cannot collect test class 'TestView' because it has 
> a __init__ constructor (from: 
> .pybuild/cpython3_3.9_django-oauth-toolkit/build/tests/test_client_credential.py)
>     class TestView(OAuthLibMixin, View):
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> 
> 
> =========================== short test summary info 
> ============================
> ERROR tests/test_rest_framework.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> ========================= 2 warnings, 1 error in 3.05s 
> =========================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-oauth-toolkit/build; python3.9 
> -m pytest --ds tests.settings
> I: pybuild base:239: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build; 
> python3.10 -m pytest --ds tests.settings
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.5, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> Django settings: tests.settings (from command line option)
> rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini
> plugins: mock-3.7.0, django-3.5.1, cov-3.0.0, xdist-2.5.0, forked-1.4.0
> collected 348 items / 1 error / 347 selected
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.10_django-oauth-toolkit/build/tests/test_rest_framework.py
>  _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/tests/test_rest_framework.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3/dist-packages/rest_framework/settings.py:177: in 
> import_from_string
>     return import_string(val)
> /usr/lib/python3/dist-packages/django/utils/module_loading.py:30: in 
> import_string
>     return cached_import(module_path, class_name)
> /usr/lib/python3/dist-packages/django/utils/module_loading.py:15: in 
> cached_import
>     import_module(module_path)
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1050: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1027: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:688: in _load_unlocked
>     ???
> <frozen importlib._bootstrap_external>:883: in exec_module
>     ???
> <frozen importlib._bootstrap>:241: in _call_with_frames_removed
>     ???
> /usr/lib/python3/dist-packages/rest_framework/renderers.py:22: in <module>
>     from rest_framework import VERSION, exceptions, serializers, status
> /usr/lib/python3/dist-packages/rest_framework/serializers.py:29: in <module>
>     from rest_framework.fields import get_error_detail, set_value
> /usr/lib/python3/dist-packages/rest_framework/fields.py:32: in <module>
>     from pytz.exceptions import InvalidTimeError
> E   ModuleNotFoundError: No module named 'pytz'
> 
> During handling of the above exception, another exception occurred:
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_rest_framework.py:14: in <module>
>     from rest_framework.test import APIRequestFactory, force_authenticate
> /usr/lib/python3/dist-packages/rest_framework/test.py:138: in <module>
>     class APIRequestFactory(DjangoRequestFactory):
> /usr/lib/python3/dist-packages/rest_framework/test.py:139: in 
> APIRequestFactory
>     renderer_classes_list = api_settings.TEST_REQUEST_RENDERER_CLASSES
> /usr/lib/python3/dist-packages/rest_framework/settings.py:225: in __getattr__
>     val = perform_import(val, attr)
> /usr/lib/python3/dist-packages/rest_framework/settings.py:168: in 
> perform_import
>     return [import_from_string(item, setting_name) for item in val]
> /usr/lib/python3/dist-packages/rest_framework/settings.py:168: in <listcomp>
>     return [import_from_string(item, setting_name) for item in val]
> /usr/lib/python3/dist-packages/rest_framework/settings.py:180: in 
> import_from_string
>     raise ImportError(msg)
> E   ImportError: Could not import 
> 'rest_framework.renderers.MultiPartRenderer' for API setting 
> 'TEST_REQUEST_RENDERER_CLASSES'. ModuleNotFoundError: No module named 'pytz'.
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:229
>   /usr/lib/python3/dist-packages/django/conf/__init__.py:229: 
> 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)
> 
> tests/test_client_credential.py:106
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build/tests/test_client_credential.py:106:
>  PytestCollectionWarning: cannot collect test class 'TestView' because it has 
> a __init__ constructor (from: 
> .pybuild/cpython3_3.10_django-oauth-toolkit/build/tests/test_client_credential.py)
>     class TestView(OAuthLibMixin, View):
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> 
> 
> =========================== short test summary info 
> ============================
> ERROR tests/test_rest_framework.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> ========================= 2 warnings, 1 error in 3.10s 
> =========================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-oauth-toolkit/build; 
> python3.10 -m pytest --ds tests.settings
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 
> 3.10" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/06/24/django-oauth-toolkit_1.7.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&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 marking 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