Package: python-django-compressor / 4.5.1-4

Metadata

Package Version Patches format
python-django-compressor 4.5.1-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
neutralize broken test_css_return_if_off test.patch | (download)

compressor/tests/test_parsers.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 neutralize test_css_return_if_off() test
tests write to temp dir.patch | (download)

compressor/test_settings.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 tests: write to temp directory
 The test suite will write to the source directory, which either forces us to
 clean it up before installing into the binary package. This change makes it
 write to a temporary directory passed in as an environment variable
 TMP_TEST_DIR, which is assumed to be initialized with a copy of
 compressor/tests/static.
Fix stylesheet detection in CssComproessor with bs4.13.patch | (download)

compressor/css.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix stylesheet detection in csscompressor with bs4 4.13
 This change should deal with the fact that with beautifulsoup 4.13.0 the
 values of a tag attribute are now represented by a list.
 .
 I'm keeping the lowercasing strategy intact, since it allows matching of
 non-lowercase stylesheet representations.
 .
 This change is likely incomplete and requires further thought.
Closes: #1279
fix unit test.patch | (download)

compressor/tests/test_templatetags.py | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 fix unit test