Skip to content

Commit

Permalink
Drop slimit support (#765)
Browse files Browse the repository at this point in the history
Remove slimit official package support due to not maintained package:
no any release since 2013
  • Loading branch information
TheBuky authored and TheBuky committed Jan 10, 2022
1 parent 991bd91 commit f961008
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 31 deletions.
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ Unreleased
2.0.8
=====

* Added **Django 4.0** compatibility. Thanks to @kevinmarsh (#760)
* Add tests for **Django 4.0**, **Python 3.9** and **Python 3.10**.
Thank to @kevinmarsh (#739)
* Introduce CODE_OF_CONDUCT.md for the project. Thank to @hugovk (#758)
* Add precision in the documentation for PipelineCachedStorage.
Thank to @gatsinski (#739)
* Drop support for slimit compressor (#765) due to package not released
an official version for Python 3 and not any new package release from 2013.
* Edit github actions matrix: django 3.2.9 support python 3.10, remove
python 4.0 (doesn't exist) and exclude pypy-3.8 for django-main.
* Add .pre-commit-config.yaml. Thanks to @hugovk (#762)
* Update package.json due to CoffeeScript on NPM has moved to "coffeescript"
* Update setup.py with Django 4.0 and Python 3.10

Expand Down
15 changes: 0 additions & 15 deletions docs/compressors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,21 +158,6 @@ Install the jsmin library with your favorite Python package manager ::
pip install jsmin


SlimIt compressor
=================

The slimit compressor uses `SlimIt <https://slimit.readthedocs.io>`_ to
compress javascripts.

To use it add this to your ``PIPELINE['JS_COMPRESSOR']`` ::

PIPELINE['JS_COMPRESSOR'] = 'pipeline.compressors.slimit.SlimItCompressor'

Install the slimit library with your favorite Python package manager ::

pip install slimit


Terser compressor
===================

Expand Down
11 changes: 0 additions & 11 deletions pipeline/compressors/slimit.py

This file was deleted.

4 changes: 0 additions & 4 deletions tests/tests/test_compressor.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,6 @@ def test_jsmin(self):
self._test_compressor('pipeline.compressors.jsmin.JSMinCompressor',
'js', 'pipeline/compressors/jsmin.js')

def test_slimit(self):
self._test_compressor('pipeline.compressors.slimit.SlimItCompressor',
'js', 'pipeline/compressors/slimit.js')

def test_csshtmljsminify(self):
self._test_compressor('pipeline.compressors.csshtmljsminify.CssHtmlJsMinifyCompressor',
'css', 'pipeline/compressors/csshtmljsminify.css')
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ deps =
coverage
jsmin==3.0.0
ply==3.4
slimit==0.8.1
css-html-js-minify==2.5.5
setenv =
DJANGO_SETTINGS_MODULE = tests.settings
Expand Down

0 comments on commit f961008

Please sign in to comment.