Skip to content

Commit f961008

Browse files
TheBukyTheBuky
TheBuky
authored and
TheBuky
committed
Drop slimit support (#765)
Remove slimit official package support due to not maintained package: no any release since 2013
1 parent 991bd91 commit f961008

File tree

5 files changed

+4
-31
lines changed

5 files changed

+4
-31
lines changed

HISTORY.rst

+4
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ Unreleased
99
2.0.8
1010
=====
1111

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

docs/compressors.rst

-15
Original file line numberDiff line numberDiff line change
@@ -158,21 +158,6 @@ Install the jsmin library with your favorite Python package manager ::
158158
pip install jsmin
159159

160160

161-
SlimIt compressor
162-
=================
163-
164-
The slimit compressor uses `SlimIt <https://slimit.readthedocs.io>`_ to
165-
compress javascripts.
166-
167-
To use it add this to your ``PIPELINE['JS_COMPRESSOR']`` ::
168-
169-
PIPELINE['JS_COMPRESSOR'] = 'pipeline.compressors.slimit.SlimItCompressor'
170-
171-
Install the slimit library with your favorite Python package manager ::
172-
173-
pip install slimit
174-
175-
176161
Terser compressor
177162
===================
178163

pipeline/compressors/slimit.py

-11
This file was deleted.

tests/tests/test_compressor.py

-4
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,6 @@ def test_jsmin(self):
226226
self._test_compressor('pipeline.compressors.jsmin.JSMinCompressor',
227227
'js', 'pipeline/compressors/jsmin.js')
228228

229-
def test_slimit(self):
230-
self._test_compressor('pipeline.compressors.slimit.SlimItCompressor',
231-
'js', 'pipeline/compressors/slimit.js')
232-
233229
def test_csshtmljsminify(self):
234230
self._test_compressor('pipeline.compressors.csshtmljsminify.CssHtmlJsMinifyCompressor',
235231
'css', 'pipeline/compressors/csshtmljsminify.css')

tox.ini

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ deps =
4444
coverage
4545
jsmin==3.0.0
4646
ply==3.4
47-
slimit==0.8.1
4847
css-html-js-minify==2.5.5
4948
setenv =
5049
DJANGO_SETTINGS_MODULE = tests.settings

0 commit comments

Comments
 (0)