--- Begin Message ---
Source: django-sass-processor
Version: 1.1-2
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 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
> 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-sass-processor/build/sass_processor
> copying sass_processor/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor
> copying sass_processor/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor
> copying sass_processor/processor.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor
> copying sass_processor/storage.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor
> copying sass_processor/types.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor
> copying sass_processor/finders.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor
> copying sass_processor/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/jinja2
> copying sass_processor/jinja2/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/jinja2
> copying sass_processor/jinja2/ext.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/jinja2
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management
> copying sass_processor/management/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/templatetags
> copying sass_processor/templatetags/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/templatetags
> copying sass_processor/templatetags/sass_tags.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/templatetags
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands
> copying sass_processor/management/commands/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands
> copying sass_processor/management/commands/compilescss.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands
> I: pybuild base:239: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor
> copying sass_processor/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor
> copying sass_processor/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor
> copying sass_processor/processor.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor
> copying sass_processor/storage.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor
> copying sass_processor/types.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor
> copying sass_processor/finders.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor
> copying sass_processor/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/jinja2
> copying sass_processor/jinja2/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/jinja2
> copying sass_processor/jinja2/ext.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/jinja2
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management
> copying sass_processor/management/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/templatetags
> copying sass_processor/templatetags/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/templatetags
> copying sass_processor/templatetags/sass_tags.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/templatetags
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands
> copying sass_processor/management/commands/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands
> copying sass_processor/management/commands/compilescss.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:239: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/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 ini file)
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build,
> configfile: pytest.ini
> plugins: django-3.5.1
> collected 10 items
>
> tests/test_sass_processor.py FFF....FFF
> [100%]
>
> =================================== FAILURES
> ===================================
> _______________ SassProcessorTest.test_management_command_django
> _______________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 107, in test_management_command_django
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> _______________ SassProcessorTest.test_management_command_jinja2
> _______________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 113, in test_management_command_jinja2
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> ______________ SassProcessorTest.test_management_command_multiple
> ______________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 119, in test_management_command_multiple
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> __________________ SassProcessorTest.test_use_storage_django
> ___________________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 125, in test_use_storage_django
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> __________________ SassProcessorTest.test_use_storage_jinja2
> ___________________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 132, in test_use_storage_jinja2
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> _________________ SassProcessorTest.test_use_storage_multiple
> __________________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 139, in test_use_storage_multiple
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'sass_processor' defines default_app_config =
> 'sass_processor.apps.SassProcessorConfig'. 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
> ============================
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_management_command_django
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_management_command_jinja2
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_management_command_multiple
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_use_storage_django
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_use_storage_jinja2
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_use_storage_multiple
> ==================== 6 failed, 4 passed, 1 warning in 0.29s
> ====================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-sass-processor/build; python3.9
> -m pytest tests
> I: pybuild base:239: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/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 ini file)
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build,
> configfile: pytest.ini
> plugins: django-3.5.1
> collected 10 items
>
> tests/test_sass_processor.py FFF....FFF
> [100%]
>
> =================================== FAILURES
> ===================================
> _______________ SassProcessorTest.test_management_command_django
> _______________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 107, in test_management_command_django
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> _______________ SassProcessorTest.test_management_command_jinja2
> _______________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 113, in test_management_command_jinja2
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> ______________ SassProcessorTest.test_management_command_multiple
> ______________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 119, in test_management_command_multiple
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> __________________ SassProcessorTest.test_use_storage_django
> ___________________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 125, in test_use_storage_django
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> __________________ SassProcessorTest.test_use_storage_jinja2
> ___________________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 132, in test_use_storage_jinja2
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> _________________ SassProcessorTest.test_use_storage_multiple
> __________________
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 139, in test_use_storage_multiple
> self.assert_management_command(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/tests/test_sass_processor.py",
> line 87, in assert_management_command
> call_command(
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 198, in call_command
> return command.execute(*args, **defaults)
> File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
> 460, in execute
> output = self.handle(*args, **options)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 138, in handle
> self.parser = self.get_parser(engine)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build/sass_processor/management/commands/compilescss.py",
> line 121, in get_parser
> from compressor.offline.django import DjangoParser
> File "/usr/lib/python3/dist-packages/compressor/offline/django.py", line
> 13, in <module>
> from compressor.templatetags.compress import CompressorNode
> File "/usr/lib/python3/dist-packages/compressor/templatetags/compress.py",
> line 5, in <module>
> from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
> File "/usr/lib/python3/dist-packages/compressor/cache.py", line 11, in
> <module>
> from django.utils.encoding import force_text, smart_bytes
> ImportError: cannot import name 'force_text' from 'django.utils.encoding'
> (/usr/lib/python3/dist-packages/django/utils/encoding.py)
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
> /usr/lib/python3/dist-packages/django/apps/registry.py:91:
> RemovedInDjango41Warning: 'sass_processor' defines default_app_config =
> 'sass_processor.apps.SassProcessorConfig'. 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
> ============================
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_management_command_django
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_management_command_jinja2
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_management_command_multiple
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_use_storage_django
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_use_storage_jinja2
> FAILED
> tests/test_sass_processor.py::SassProcessorTest::test_use_storage_multiple
> ==================== 6 failed, 4 passed, 1 warning in 0.26s
> ====================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-sass-processor/build;
> python3.10 -m pytest tests
> dh_auto_test: error: pybuild --test -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-sass-processor_1.1-2_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.
--- End Message ---