Your message dated Wed, 17 Aug 2022 19:28:14 +0200
with message-id <[email protected]>
and subject line Re: Bug#1013573: djangorestframework-filters: FTBFS: 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 
3.10" returned exit code 13
has caused the Debian Bug report #1013573,
regarding djangorestframework-filters: FTBFS: missing python3-tz Depends in 
python3-djangorestframework
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1013573: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013573
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: djangorestframework-filters
Version: 1.0.0.dev2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
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 build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>       pybuild --configure -i python{version} -p "3.9 3.10"
> 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
>       pybuild --build -i python{version} -p "3.9 3.10"
> I: pybuild base:239: /usr/bin/python3.9 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/complex_ops.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/filters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/backends.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/filterset.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters/templatetags
> copying rest_framework_filters/templatetags/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters/templatetags
> copying rest_framework_filters/templatetags/rest_framework_filters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters/templatetags
> running egg_info
> creating djangorestframework_filters.egg-info
> writing djangorestframework_filters.egg-info/PKG-INFO
> writing dependency_links to 
> djangorestframework_filters.egg-info/dependency_links.txt
> writing requirements to djangorestframework_filters.egg-info/requires.txt
> writing top-level names to djangorestframework_filters.egg-info/top_level.txt
> writing manifest file 'djangorestframework_filters.egg-info/SOURCES.txt'
> reading manifest file 'djangorestframework_filters.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found anywhere 
> in distribution
> warning: no previously-included files matching '*.py[co]' found anywhere in 
> distribution
> adding license file 'LICENSE'
> writing manifest file 'djangorestframework_filters.egg-info/SOURCES.txt'
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters/templates
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters
> copying 
> rest_framework_filters/templates/rest_framework_filters/crispy_form.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters
> copying rest_framework_filters/templates/rest_framework_filters/form.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters
> I: pybuild base:239: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/complex_ops.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/filters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/backends.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/filterset.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters
> copying rest_framework_filters/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters/templatetags
> copying rest_framework_filters/templatetags/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters/templatetags
> copying rest_framework_filters/templatetags/rest_framework_filters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters/templatetags
> running egg_info
> writing djangorestframework_filters.egg-info/PKG-INFO
> writing dependency_links to 
> djangorestframework_filters.egg-info/dependency_links.txt
> writing requirements to djangorestframework_filters.egg-info/requires.txt
> writing top-level names to djangorestframework_filters.egg-info/top_level.txt
> reading manifest file 'djangorestframework_filters.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found anywhere 
> in distribution
> warning: no previously-included files matching '*.py[co]' found anywhere in 
> distribution
> adding license file 'LICENSE'
> writing manifest file 'djangorestframework_filters.egg-info/SOURCES.txt'
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters/templates
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters
> copying 
> rest_framework_filters/templates/rest_framework_filters/crispy_form.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters
> copying rest_framework_filters/templates/rest_framework_filters/form.html -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/rest_framework_filters/templates/rest_framework_filters
>    dh_auto_test -O--buildsystem=pybuild
>       pybuild --test --test-pytest -i python{version} -p "3.9 3.10"
> I: pybuild base:239: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build; 
> python3.9 -m pytest tests
> ============================= 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 environment variable)
> rootdir: /<<PKGBUILDDIR>>
> plugins: django-3.5.1
> collected 54 items / 4 errors / 50 selected
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.9_djangorestframework-filters/build/tests/test_backends.py
>  _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/tests/test_backends.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_backends.py:6: in <module>
>     from rest_framework.test import APIRequestFactory, APITestCase
> /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'.
> _ ERROR collecting 
> .pybuild/cpython3_3.9_djangorestframework-filters/build/tests/test_complex_ops.py
>  _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/tests/test_complex_ops.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_complex_ops.py:7: in <module>
>     from rest_framework.serializers import ValidationError
> /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'
> _ ERROR collecting 
> .pybuild/cpython3_3.9_djangorestframework-filters/build/tests/test_filterset.py
>  _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/tests/test_filterset.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_filterset.py:8: in <module>
>     from rest_framework.test import APIRequestFactory
> /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'.
> _ ERROR collecting 
> .pybuild/cpython3_3.9_djangorestframework-filters/build/tests/test_regressions.py
>  _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build/tests/test_regressions.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_regressions.py:13: in <module>
>     from rest_framework import serializers
> /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'
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:206
>   /usr/lib/python3/dist-packages/django/conf/__init__.py:206: 
> 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/apps/registry.py:91
>   /usr/lib/python3/dist-packages/django/apps/registry.py:91: 
> RemovedInDjango41Warning: 'tests.testapp' defines default_app_config = 
> 'tests.testapp.apps.TestappConfig'. Django now detects this configuration 
> automatically. You can remove default_app_config.
>     app_config = AppConfig.create(entry)
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> ERROR tests/test_backends.py
> ERROR tests/test_complex_ops.py
> ERROR tests/test_filterset.py
> ERROR tests/test_regressions.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ======================== 2 warnings, 4 errors in 0.67s 
> =========================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_djangorestframework-filters/build; 
> python3.9 -m pytest tests
> I: pybuild base:239: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build; 
> python3.10 -m pytest tests
> ============================= 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 environment variable)
> rootdir: /<<PKGBUILDDIR>>
> plugins: django-3.5.1
> collected 54 items / 4 errors / 50 selected
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR collecting 
> .pybuild/cpython3_3.10_djangorestframework-filters/build/tests/test_backends.py
>  _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/tests/test_backends.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_backends.py:6: in <module>
>     from rest_framework.test import APIRequestFactory, APITestCase
> /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'.
> _ ERROR collecting 
> .pybuild/cpython3_3.10_djangorestframework-filters/build/tests/test_complex_ops.py
>  _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/tests/test_complex_ops.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_complex_ops.py:7: in <module>
>     from rest_framework.serializers import ValidationError
> /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'
> _ ERROR collecting 
> .pybuild/cpython3_3.10_djangorestframework-filters/build/tests/test_filterset.py
>  _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/tests/test_filterset.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_filterset.py:8: in <module>
>     from rest_framework.test import APIRequestFactory
> /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'.
> _ ERROR collecting 
> .pybuild/cpython3_3.10_djangorestframework-filters/build/tests/test_regressions.py
>  _
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build/tests/test_regressions.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_regressions.py:13: in <module>
>     from rest_framework import serializers
> /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'
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:206
>   /usr/lib/python3/dist-packages/django/conf/__init__.py:206: 
> 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/apps/registry.py:91
>   /usr/lib/python3/dist-packages/django/apps/registry.py:91: 
> RemovedInDjango41Warning: 'tests.testapp' defines default_app_config = 
> 'tests.testapp.apps.TestappConfig'. Django now detects this configuration 
> automatically. You can remove default_app_config.
>     app_config = AppConfig.create(entry)
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> ERROR tests/test_backends.py
> ERROR tests/test_complex_ops.py
> ERROR tests/test_filterset.py
> ERROR tests/test_regressions.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ======================== 2 warnings, 4 errors in 0.67s 
> =========================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_djangorestframework-filters/build; 
> python3.10 -m pytest tests
> 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/djangorestframework-filters_1.0.0.dev2-1_unstable.log

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

--- End Message ---
--- Begin Message ---
Version: 3.13.1-1
Done: Michael Fladischer <[email protected]>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 08 Jul 2022 19:34:35 +0000
Source: djangorestframework
Architecture: source
Version: 3.13.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian Python Team <[email protected]>
Changed-By: Michael Fladischer <[email protected]>
Closes: 1013742
Changes:
 djangorestframework (3.13.1-1) unstable; urgency=low
 .
   * New upstream release.
   * Expand privacy patch to cover release notes.
   * Drop unused patches.
   * Add python3-uritemplate to Build-Depends, enabling more tests.
   * Rework autopkgtests to use separate test script and reused packaging
     dependencies.
   * Drop --nolint flag for build-time tests.
   * Add node-jquery to Build-Depends, required by mkdocs.
   * Add python3-tz to Build-Depends (Closes: #1013742).
   * Bump Standards-Version to 4.6.1.0.
   * Update lintian-overrides.
   * Update missing-sources for jquery-3.5.1.
Checksums-Sha1:
 8994ebb740a1050c21be881790b5ceae918b877c 2211 djangorestframework_3.13.1-1.dsc
 8e467de8be7856f305c72f5f825ae9e4b5124e17 8868916 
djangorestframework_3.13.1.orig.tar.gz
 7953c6b783fb3a6d41ad5e800559001029838a70 338908 
djangorestframework_3.13.1-1.debian.tar.xz
 9d906ae59a9fd627ec0c020ac461c62c1efc002e 9410 
djangorestframework_3.13.1-1_arm64.buildinfo
Checksums-Sha256:
 a8900135c166533f19d6e7f288aa32b235bc3f1bd9778a5a39889b212791342a 2211 
djangorestframework_3.13.1-1.dsc
 ae501b6efa9ec8a3b2a30c0df842cf7f9231c9ee0bb49b5873f3c18db5e5ad9b 8868916 
djangorestframework_3.13.1.orig.tar.gz
 4f0555a0198e4348e5a89315e64f54b2003e9e828b1c6ffc5a7b939288b4bedd 338908 
djangorestframework_3.13.1-1.debian.tar.xz
 05881309c9bbc392f994df3ecd490b28f5b76f7bd6656b0a7748aa3c97278208 9410 
djangorestframework_3.13.1-1_arm64.buildinfo
Files:
 191a713e60eddb6ea6d350bcb6e3fc60 2211 python optional 
djangorestframework_3.13.1-1.dsc
 8854e9c0e3fbc3b3fb38d94d93f840e0 8868916 python optional 
djangorestframework_3.13.1.orig.tar.gz
 40237056ff7d09a06b4231c8347b54a8 338908 python optional 
djangorestframework_3.13.1-1.debian.tar.xz
 5bdc02c11e591e3bc2f7b18eb80a4c44 9410 python optional 
djangorestframework_3.13.1-1_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmLIiTgACgkQ/9PIi5l9
0WpqcQf/eyviCHSafXswshMno7q/wmq0fcfjlg0VUFUFSpv14RfpoXB4Su8lM9wj
QRdY4Y5HulPlVgGX1KXCQNb2J0WdFkLZk93mTVr7cPlKsfohLbUCgirUbFgIafTe
QUsM5Ij4Lf5NwKXUah2KwWy42U/BMgAyWuUArajIJR6G2uTg2u9ADCdN9FlaI5UP
zIXhTn9069OaEe1C90MkQnEyfaiT3Saylsr/lpueoQIuwxgr+lCqvpPG3Z0ElCbp
Ooc0r8mOoBy8lCggVb9E2xskGVROhB9BFePaOUAKtOFAV7jwdF/pMOSiYNP4ieX/
jqHfqBhz3Xaw5bIBsepHe+mTIHAU+A==
=q8VN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to