Source: python-django-health-check
Version: 3.12.1-3
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 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-health-check/build/health_check
> copying health_check/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check
> copying health_check/plugins.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check
> copying health_check/exceptions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check
> copying health_check/urls.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check
> copying health_check/mixins.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check
> copying health_check/views.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check
> copying health_check/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check
> copying health_check/conf.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check
> running egg_info
> writing django_health_check.egg-info/PKG-INFO
> writing dependency_links to django_health_check.egg-info/dependency_links.txt
> writing requirements to django_health_check.egg-info/requires.txt
> writing top-level names to django_health_check.egg-info/top_level.txt
> reading manifest file 'django_health_check.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: manifest_maker: MANIFEST.in, line 2: 'recursive-include' expects
> <dir> <pattern1> <pattern2> ...
>
> warning: manifest_maker: MANIFEST.in, line 3: 'prune' expects a single
> <dir_pattern>
>
> adding license file 'LICENSE'
> writing manifest file 'django_health_check.egg-info/SOURCES.txt'
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/cache
> copying health_check/cache/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/cache
> copying health_check/cache/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/cache
> copying health_check/cache/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/cache
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib
> copying health_check/contrib/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/celery
> copying health_check/contrib/celery/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/celery
> copying health_check/contrib/celery/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/celery
> copying health_check/contrib/celery/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/celery
> copying health_check/contrib/celery/tasks.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/celery
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/psutil
> copying health_check/contrib/psutil/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/psutil
> copying health_check/contrib/psutil/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/psutil
> copying health_check/contrib/psutil/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/psutil
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/rabbitmq
> copying health_check/contrib/rabbitmq/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/rabbitmq
> copying health_check/contrib/rabbitmq/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/rabbitmq
> copying health_check/contrib/rabbitmq/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/rabbitmq
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/redis
> copying health_check/contrib/redis/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/redis
> copying health_check/contrib/redis/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/redis
> copying health_check/contrib/redis/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/redis
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/s3boto3_storage
> copying health_check/contrib/s3boto3_storage/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/s3boto3_storage
> copying health_check/contrib/s3boto3_storage/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/s3boto3_storage
> copying health_check/contrib/s3boto3_storage/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/s3boto3_storage
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/s3boto_storage
> copying health_check/contrib/s3boto_storage/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/s3boto_storage
> copying health_check/contrib/s3boto_storage/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/s3boto_storage
> copying health_check/contrib/s3boto_storage/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/contrib/s3boto_storage
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/db
> copying health_check/db/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/db
> copying health_check/db/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/db
> copying health_check/db/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/db
> copying health_check/db/models.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/db
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/db/migrations
> copying health_check/db/migrations/0001_initial.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/db/migrations
> copying health_check/db/migrations/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/db/migrations
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/management
> copying health_check/management/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/management
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/management/commands
> copying health_check/management/commands/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/management/commands
> copying health_check/management/commands/health_check.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/management/commands
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/storage
> copying health_check/storage/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/storage
> copying health_check/storage/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/storage
> copying health_check/storage/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/storage
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/templates
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/templates/health_check
> copying health_check/templates/health_check/index.html ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/health_check/templates/health_check
> I: pybuild base:239: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check
> copying health_check/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check
> copying health_check/plugins.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check
> copying health_check/exceptions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check
> copying health_check/urls.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check
> copying health_check/mixins.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check
> copying health_check/views.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check
> copying health_check/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check
> copying health_check/conf.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check
> running egg_info
> writing django_health_check.egg-info/PKG-INFO
> writing dependency_links to django_health_check.egg-info/dependency_links.txt
> writing requirements to django_health_check.egg-info/requires.txt
> writing top-level names to django_health_check.egg-info/top_level.txt
> reading manifest file 'django_health_check.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: manifest_maker: MANIFEST.in, line 2: 'recursive-include' expects
> <dir> <pattern1> <pattern2> ...
>
> warning: manifest_maker: MANIFEST.in, line 3: 'prune' expects a single
> <dir_pattern>
>
> adding license file 'LICENSE'
> writing manifest file 'django_health_check.egg-info/SOURCES.txt'
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/cache
> copying health_check/cache/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/cache
> copying health_check/cache/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/cache
> copying health_check/cache/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/cache
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib
> copying health_check/contrib/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/celery
> copying health_check/contrib/celery/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/celery
> copying health_check/contrib/celery/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/celery
> copying health_check/contrib/celery/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/celery
> copying health_check/contrib/celery/tasks.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/celery
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/psutil
> copying health_check/contrib/psutil/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/psutil
> copying health_check/contrib/psutil/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/psutil
> copying health_check/contrib/psutil/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/psutil
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/rabbitmq
> copying health_check/contrib/rabbitmq/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/rabbitmq
> copying health_check/contrib/rabbitmq/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/rabbitmq
> copying health_check/contrib/rabbitmq/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/rabbitmq
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/redis
> copying health_check/contrib/redis/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/redis
> copying health_check/contrib/redis/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/redis
> copying health_check/contrib/redis/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/redis
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/s3boto3_storage
> copying health_check/contrib/s3boto3_storage/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/s3boto3_storage
> copying health_check/contrib/s3boto3_storage/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/s3boto3_storage
> copying health_check/contrib/s3boto3_storage/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/s3boto3_storage
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/s3boto_storage
> copying health_check/contrib/s3boto_storage/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/s3boto_storage
> copying health_check/contrib/s3boto_storage/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/s3boto_storage
> copying health_check/contrib/s3boto_storage/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/contrib/s3boto_storage
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/db
> copying health_check/db/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/db
> copying health_check/db/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/db
> copying health_check/db/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/db
> copying health_check/db/models.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/db
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/db/migrations
> copying health_check/db/migrations/0001_initial.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/db/migrations
> copying health_check/db/migrations/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/db/migrations
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/management
> copying health_check/management/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/management
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/management/commands
> copying health_check/management/commands/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/management/commands
> copying health_check/management/commands/health_check.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/management/commands
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/storage
> copying health_check/storage/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/storage
> copying health_check/storage/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/storage
> copying health_check/storage/backends.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/storage
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/templates
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/templates/health_check
> copying health_check/templates/health_check/index.html ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/health_check/templates/health_check
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:300: cp -r /<<PKGBUILDDIR>>/tests
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build
> I: pybuild base:239: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/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.testapp.settings (from environment variable)
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: django-3.5.1
> collected 32 items / 1 error / 31 selected
>
> ==================================== ERRORS
> ====================================
> _ ERROR collecting
> .pybuild/cpython3_3.9_django-health-check/build/tests/test_views.py _
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/tests/test_views.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_views.py:80: in <module>
> class TestMainView:
> tests/test_views.py:81: in TestMainView
> url = reverse('health_check:health_check_home')
> /usr/lib/python3/dist-packages/django/urls/base.py:54: in reverse
> app_list = resolver.app_dict[ns]
> /usr/lib/python3/dist-packages/django/urls/resolvers.py:619: in app_dict
> self._populate()
> /usr/lib/python3/dist-packages/django/urls/resolvers.py:529: in _populate
> for url_pattern in reversed(self.url_patterns):
> /usr/lib/python3/dist-packages/django/utils/functional.py:49: in __get__
> res = instance.__dict__[self.name] = self.func(instance)
> /usr/lib/python3/dist-packages/django/urls/resolvers.py:696: in url_patterns
> patterns = getattr(self.urlconf_module, "urlpatterns",
> self.urlconf_module)
> /usr/lib/python3/dist-packages/django/utils/functional.py:49: in __get__
> res = instance.__dict__[self.name] = self.func(instance)
> /usr/lib/python3/dist-packages/django/urls/resolvers.py:689: in urlconf_module
> return import_module(self.urlconf_name)
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/testapp/urls.py:1: in <module>
> from django.conf.urls import include, url
> E ImportError: cannot import name 'url' from 'django.conf.urls'
> (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py)
> =============================== 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/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)
>
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'health_check.cache' defines default_app_config =
> 'health_check.cache.apps.HealthCheckConfig'. Django now detects this
> configuration automatically. You can remove default_app_config.
> app_config = AppConfig.create(entry)
>
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'health_check.db' defines default_app_config =
> 'health_check.db.apps.HealthCheckConfig'. Django now detects this
> configuration automatically. You can remove default_app_config.
> app_config = AppConfig.create(entry)
>
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'health_check.storage' defines default_app_config =
> 'health_check.storage.apps.HealthCheckConfig'. Django now detects this
> configuration automatically. You can remove default_app_config.
> app_config = AppConfig.create(entry)
>
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'health_check.contrib.celery' defines
> default_app_config = 'health_check.contrib.celery.apps.HealthCheckConfig'.
> Django now detects this configuration automatically. You can remove
> default_app_config.
> app_config = AppConfig.create(entry)
>
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'health_check.contrib.s3boto_storage' defines
> default_app_config =
> 'health_check.contrib.s3boto_storage.apps.HealthCheckConfig'. Django now
> detects this configuration automatically. You can remove default_app_config.
> app_config = AppConfig.create(entry)
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1233
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1233:
> PytestConfigWarning: Unknown config option: django_settings_module
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> tests/test_commands.py:22
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/tests/test_commands.py:22:
> PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
> Use @pytest.fixture instead; they are the same.
> @pytest.yield_fixture(autouse=True)
>
> tests/test_mixins.py:23
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/tests/test_mixins.py:23:
> PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
> Use @pytest.fixture instead; they are the same.
> @pytest.yield_fixture(autouse=True)
>
> tests/test_plugins.py:18
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build/tests/test_plugins.py:18:
> PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
> Use @pytest.fixture instead; they are the same.
> @pytest.yield_fixture(autouse=True)
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
> !!!!!!!!!!!!!!!!!!!!
> ======================== 11 warnings, 1 error in 0.34s
> =========================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-health-check/build; python3.9
> -m pytest tests
> I: pybuild pybuild:300: cp -r /<<PKGBUILDDIR>>/tests
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build
> I: pybuild base:239: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/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.testapp.settings (from environment variable)
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: django-3.5.1
> collected 32 items / 1 error / 31 selected
>
> ==================================== ERRORS
> ====================================
> _ ERROR collecting
> .pybuild/cpython3_3.10_django-health-check/build/tests/test_views.py _
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/tests/test_views.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_views.py:80: in <module>
> class TestMainView:
> tests/test_views.py:81: in TestMainView
> url = reverse('health_check:health_check_home')
> /usr/lib/python3/dist-packages/django/urls/base.py:54: in reverse
> app_list = resolver.app_dict[ns]
> /usr/lib/python3/dist-packages/django/urls/resolvers.py:619: in app_dict
> self._populate()
> /usr/lib/python3/dist-packages/django/urls/resolvers.py:529: in _populate
> for url_pattern in reversed(self.url_patterns):
> /usr/lib/python3/dist-packages/django/utils/functional.py:49: in __get__
> res = instance.__dict__[self.name] = self.func(instance)
> /usr/lib/python3/dist-packages/django/urls/resolvers.py:696: in url_patterns
> patterns = getattr(self.urlconf_module, "urlpatterns",
> self.urlconf_module)
> /usr/lib/python3/dist-packages/django/utils/functional.py:49: in __get__
> res = instance.__dict__[self.name] = self.func(instance)
> /usr/lib/python3/dist-packages/django/urls/resolvers.py:689: in urlconf_module
> return import_module(self.urlconf_name)
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/testapp/urls.py:1: in <module>
> from django.conf.urls import include, url
> E ImportError: cannot import name 'url' from 'django.conf.urls'
> (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py)
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/kombu/utils/compat.py:82
> /usr/lib/python3/dist-packages/kombu/utils/compat.py:82:
> DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
> for ep in importlib_metadata.entry_points().get(namespace, [])
>
> ../../../../../../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/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)
>
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'health_check.cache' defines default_app_config =
> 'health_check.cache.apps.HealthCheckConfig'. Django now detects this
> configuration automatically. You can remove default_app_config.
> app_config = AppConfig.create(entry)
>
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'health_check.db' defines default_app_config =
> 'health_check.db.apps.HealthCheckConfig'. Django now detects this
> configuration automatically. You can remove default_app_config.
> app_config = AppConfig.create(entry)
>
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'health_check.storage' defines default_app_config =
> 'health_check.storage.apps.HealthCheckConfig'. Django now detects this
> configuration automatically. You can remove default_app_config.
> app_config = AppConfig.create(entry)
>
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'health_check.contrib.celery' defines
> default_app_config = 'health_check.contrib.celery.apps.HealthCheckConfig'.
> Django now detects this configuration automatically. You can remove
> default_app_config.
> app_config = AppConfig.create(entry)
>
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'health_check.contrib.s3boto_storage' defines
> default_app_config =
> 'health_check.contrib.s3boto_storage.apps.HealthCheckConfig'. Django now
> detects this configuration automatically. You can remove default_app_config.
> app_config = AppConfig.create(entry)
>
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1233
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1233:
> PytestConfigWarning: Unknown config option: django_settings_module
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> tests/test_commands.py:22
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/tests/test_commands.py:22:
> PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
> Use @pytest.fixture instead; they are the same.
> @pytest.yield_fixture(autouse=True)
>
> tests/test_mixins.py:23
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/tests/test_mixins.py:23:
> PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
> Use @pytest.fixture instead; they are the same.
> @pytest.yield_fixture(autouse=True)
>
> tests/test_plugins.py:18
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/build/tests/test_plugins.py:18:
> PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
> Use @pytest.fixture instead; they are the same.
> @pytest.yield_fixture(autouse=True)
>
> ../../../../../../usr/lib/python3/dist-packages/redis/connection.py:2
> /usr/lib/python3/dist-packages/redis/connection.py:2: DeprecationWarning:
> The distutils package is deprecated and slated for removal in Python 3.12.
> Use setuptools or check PEP 632 for potential alternatives
> from distutils.version import StrictVersion
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
> !!!!!!!!!!!!!!!!!!!!
> ======================== 13 warnings, 1 error in 0.32s
> =========================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-health-check/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/python-django-health-check_3.12.1-3_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.