Source: python-django-pyscss Version: 2.0.2-9 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > make[1]: pyversions: No such file or directory > py3versions: no X-Python3-Version in control file, using supported versions > pkgos-dh_auto_install --no-py2 > + PKGOS_USE_PY2=yes > + PKGOS_USE_PY3=yes > + PKGOS_IN_TMP=no > + PKGOS_USE_PY2=no > + shift > + dpkg-parsechangelog -SSource > + SRC_PKG_NAME=python-django-pyscss > + echo python-django-pyscss > + sed s/python-// > + PY_MODULE_NAME=django-pyscss > + [ no = yes ] > + [ yes = yes ] > + py3versions -vr > + PYTHON3S=3.9 > + [ no = yes ] > + [ yes = yes ] > + [ no = yes ] > + TARGET_DIR=python3-django-pyscss > + pwd > + python3.9 setup.py install --install-layout=deb --root > /<<PKGBUILDDIR>>/debian/python3-django-pyscss > running install > running build > running build_py > creating build > creating build/lib > creating build/lib/django_pyscss > copying django_pyscss/__init__.py -> build/lib/django_pyscss > copying django_pyscss/compiler.py -> build/lib/django_pyscss > copying django_pyscss/compressor.py -> build/lib/django_pyscss > copying django_pyscss/utils.py -> build/lib/django_pyscss > creating build/lib/django_pyscss/extension > copying django_pyscss/extension/__init__.py -> > build/lib/django_pyscss/extension > copying django_pyscss/extension/django.py -> build/lib/django_pyscss/extension > running egg_info > creating django_pyscss.egg-info > writing django_pyscss.egg-info/PKG-INFO > writing dependency_links to django_pyscss.egg-info/dependency_links.txt > writing requirements to django_pyscss.egg-info/requires.txt > writing top-level names to django_pyscss.egg-info/top_level.txt > /usr/lib/python3/dist-packages/calmjs/cli.py:234: RuntimeWarning: Unable to > locate the 'npm' binary or runtime; default module level functions will not > work. Please either provide PATH and/or update PATH environment variable with > one that provides 'npm'; or specify a working NODE_PATH environment variable > with npm installed; or have install 'npm' into the current working directory > (/<<PKGBUILDDIR>>) either through npm or calmjs framework for this package. > Restart or reload this module once that is done. Alternatively, create a > manual Driver instance for 'npm' with explicitly defined arguments. > warnings.warn(msg, RuntimeWarning) > writing manifest file 'django_pyscss.egg-info/SOURCES.txt' > reading manifest file 'django_pyscss.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*.pyc' found under directory > 'tests' > warning: no previously-included files matching '*.pyc' found under directory > 'testproject' > adding license file 'LICENSE' > writing manifest file 'django_pyscss.egg-info/SOURCES.txt' > running install_lib > creating /<<PKGBUILDDIR>>/debian/python3-django-pyscss > creating /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr > creating /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib > creating /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3 > creating > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages > creating > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss > copying build/lib/django_pyscss/__init__.py -> > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss > copying build/lib/django_pyscss/compiler.py -> > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss > copying build/lib/django_pyscss/compressor.py -> > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss > creating > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension > copying build/lib/django_pyscss/extension/__init__.py -> > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension > copying build/lib/django_pyscss/extension/django.py -> > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension > copying build/lib/django_pyscss/utils.py -> > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss > byte-compiling > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/__init__.py > to __init__.cpython-39.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/compiler.py > to compiler.cpython-39.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/compressor.py > to compressor.cpython-39.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension/__init__.py > to __init__.cpython-39.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/extension/django.py > to django.cpython-39.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss/utils.py > to utils.cpython-39.pyc > running install_egg_info > Copying django_pyscss.egg-info to > /<<PKGBUILDDIR>>/debian/python3-django-pyscss/usr/lib/python3/dist-packages/django_pyscss-2.0.2.egg-info > Skipping SOURCES.txt > running install_scripts > + pwd > + rm -rf /<<PKGBUILDDIR>>/debian/python*/usr/lib/python*/dist-packages/*.pth > + pwd > + rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python*/dist-packages/*.pth > + pwd > + [ -d /<<PKGBUILDDIR>>/debian/python-django-pyscss/usr/bin ] > set -e ; for pyvers in 3.9; do \ > echo "===> Testing with python$pyvers" ; \ > PYTHONPATH=.:/<<PKGBUILDDIR>>/testproject http_proxy=127.0.0.1:9 > https_proxy=127.0.0.1:9 PYTHON=python$pyvers python$pyvers setup.py test ; \ > done > ===> Testing with python3.9 > running test > WARNING: Testing via this command is deprecated and will be removed in a > future version. Users looking for a generic test entry point independent of > test runner are encouraged to use tox. > running egg_info > writing django_pyscss.egg-info/PKG-INFO > writing dependency_links to django_pyscss.egg-info/dependency_links.txt > writing requirements to django_pyscss.egg-info/requires.txt > writing top-level names to django_pyscss.egg-info/top_level.txt > /usr/lib/python3/dist-packages/calmjs/cli.py:234: RuntimeWarning: Unable to > locate the 'npm' binary or runtime; default module level functions will not > work. Please either provide PATH and/or update PATH environment variable with > one that provides 'npm'; or specify a working NODE_PATH environment variable > with npm installed; or have install 'npm' into the current working directory > (/<<PKGBUILDDIR>>) either through npm or calmjs framework for this package. > Restart or reload this module once that is done. Alternatively, create a > manual Driver instance for 'npm' with explicitly defined arguments. > warnings.warn(msg, RuntimeWarning) > reading manifest file 'django_pyscss.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*.pyc' found under directory > 'tests' > warning: no previously-included files matching '*.pyc' found under directory > 'testproject' > adding license file 'LICENSE' > writing manifest file 'django_pyscss.egg-info/SOURCES.txt' > running build_ext > /usr/lib/python3/dist-packages/scss/selector.py:26: FutureWarning: Possible > nested set at position 329 > SELECTOR_TOKENIZER = re.compile(r''' > Creating test database for alias 'default'... > System check identified no issues (0 silenced). > EEE > ====================================================================== > ERROR: test_compressor_can_compile_scss (tests.test_compressor.CompressorTest) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line > 1034, in find_library > return parser.libraries[name] > KeyError: 'staticfiles' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_compressor.py", line 25, in > test_compressor_can_compile_scss > actual = Template(APP2_LINK_TAG).render(Context()) > File "/usr/lib/python3/dist-packages/django/template/base.py", line 155, in > __init__ > self.nodelist = self.compile_nodelist() > File "/usr/lib/python3/dist-packages/django/template/base.py", line 193, in > compile_nodelist > return parser.parse() > File "/usr/lib/python3/dist-packages/django/template/base.py", line 478, in > parse > raise self.error(token, e) > File "/usr/lib/python3/dist-packages/django/template/base.py", line 476, in > parse > compiled_result = compile_func(self, token) > File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line > 1091, in load > lib = find_library(parser, name) > File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line > 1036, in find_library > raise TemplateSyntaxError( > django.template.exceptions.TemplateSyntaxError: 'staticfiles' is not a > registered tag library. Must be one of: > admin_list > admin_modify > admin_urls > cache > compress > i18n > l10n > log > static > tz > > ====================================================================== > ERROR: test_compressor_can_compile_scss_from_style_tag > (tests.test_compressor.CompressorTest) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line > 1034, in find_library > return parser.libraries[name] > KeyError: 'staticfiles' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_compressor.py", line 34, in > test_compressor_can_compile_scss_from_style_tag > actual = Template(IMPORT_APP2_STYLE_TAG).render(Context()) > File "/usr/lib/python3/dist-packages/django/template/base.py", line 155, in > __init__ > self.nodelist = self.compile_nodelist() > File "/usr/lib/python3/dist-packages/django/template/base.py", line 193, in > compile_nodelist > return parser.parse() > File "/usr/lib/python3/dist-packages/django/template/base.py", line 478, in > parse > raise self.error(token, e) > File "/usr/lib/python3/dist-packages/django/template/base.py", line 476, in > parse > compiled_result = compile_func(self, token) > File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line > 1091, in load > lib = find_library(parser, name) > File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line > 1036, in find_library > raise TemplateSyntaxError( > django.template.exceptions.TemplateSyntaxError: 'staticfiles' is not a > registered tag library. Must be one of: > admin_list > admin_modify > admin_urls > cache > compress > i18n > l10n > log > static > tz > > ====================================================================== > ERROR: tests.test_scss (unittest.loader._FailedTest) > ---------------------------------------------------------------------- > ImportError: Failed to import test module: tests.test_scss > Traceback (most recent call last): > File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path > module = self._get_module_from_name(name) > File "/usr/lib/python3.9/unittest/loader.py", line 377, in > _get_module_from_name > __import__(name) > File "/<<PKGBUILDDIR>>/tests/test_scss.py", line 11, in <module> > from django_pyscss import DjangoScssCompiler > File "/<<PKGBUILDDIR>>/django_pyscss/__init__.py", line 1, in <module> > from .compiler import DjangoScssCompiler # NOQA > File "/<<PKGBUILDDIR>>/django_pyscss/compiler.py", line 6, in <module> > from django.utils.six.moves import StringIO > ModuleNotFoundError: No module named 'django.utils.six' > > > ---------------------------------------------------------------------- > Ran 3 tests in 0.041s > > FAILED (errors=3) > Destroying test database for alias 'default'... > make[1]: *** [debian/rules:22: override_dh_auto_install] Error 1 The full build log is available from: http://qa-logs.debian.net/2021/10/23/python-django-pyscss_2.0.2-9_unstable.log 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.

