[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: django-pipeline / slimit



Brian May <bam@debian.org> writes:

> Ok, so now I think I understand, time to test the lastest version of
> pipeline I think. See if that helps.

It fixes the problem. However we get a new problem:


I: pybuild base:184: PYTHONPATH=. python3.5 /usr/bin/django-admin test --settings=tests.settings
..ssssss....sss.Esssss..................................................................s
======================================================================
ERROR: test_slimit (tests.tests.test_compressor.CompressorImplementationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/tests/tests/test_compressor.py", line 230, in test_slimit
    'js', 'pipeline/compressors/slimit.js')
  File "/«PKGBUILDDIR»/tests/tests/test_compressor.py", line 215, in _test_compressor
    [_('pipeline/js/first.js'), _('pipeline/js/second.js')])
  File "/«PKGBUILDDIR»/pipeline/compressors/__init__.py", line 69, in compress_js
    js = getattr(compressor(verbose=self.verbose), 'compress_js')(js)
  File "/«PKGBUILDDIR»/pipeline/compressors/slimit.py", line 12, in compress_js
    from slimit import minify
ImportError: No module named 'slimit'

----------------------------------------------------------------------
Ran 89 tests in 0.839s

FAILED (errors=1, skipped=15)


Does this mean we need to change the slimit package into python-slimit
and python3-slimit packages?
-- 
Brian May <bam@debian.org>


Reply to: