ModelChimp / modelchimp

Experiment tracking for machine and deep learning projects
https://www.modelchimp.com/
BSD 2-Clause "Simplified" License
126 stars 12 forks source link

Update django-compressor to 4.4 #1173

Open pyup-bot opened 1 year ago

pyup-bot commented 1 year ago

This PR updates django-compressor from 2.3 to 4.4.

Changelog ### 4.4 ``` ------------------- `Full list of changes from v4.3.1 <https://github.com/django-compressor/django-compressor/compare/4.3.1...4.4>`_ - Officially support Django 4.2 ``` ### 4.3.1 ``` ------------------- `Full list of changes from v4.3 <https://github.com/django-compressor/django-compressor/compare/4.3...4.3.1>`_ - Documentation fixes only ``` ### 4.3 ``` ----------------- `Full list of changes from v4.2 <https://github.com/django-compressor/django-compressor/compare/4.2...4.3>`_ - Officially support Python 3.11 ``` ### 4.2 ``` ----------------- `Full list of changes from v4.1 <https://github.com/django-compressor/django-compressor/compare/4.1...4.2>`_ - Drop Python 3.6 and 3.7 support - Drop Django 2.2 and 3.1 support - Drop SlimItFilter - Update the `CachedS3Boto3Storage` example storage subclass in "Remote Storages" to work properly after the v4.0 change to how duplicate file names are handled by `CompressorFileStorage` - Update rsmin and jsmin versions ``` ### 4.1 ``` ----------------- `Full list of changes from v4.0 <https://github.com/django-compressor/django-compressor/compare/4.0...4.1>`_ - Add Django 4.1 compatibility - New setting ``COMPRESS_OFFLINE_MANIFEST_STORAGE`` to customize the offline manifest's file storage (1112) With this change the function ``compressor.cache.get_offline_manifest_filename()`` has been removed. You can now use the new file storage ``compressor.storage.default_offline_manifest_storage`` to access the location of the manifest. ``` ### 4.0 ``` ----------------- `Full list of changes from v3.1 <https://github.com/django-compressor/django-compressor/compare/3.1...4.0>`_ - Fix intermittent No such file or directory errors by changing strategy to deal with duplicate filenames in CompressorFileStorage Note: if your project has a custom storage backend following the example of `CachedS3Boto3Storage` from the "Remote Storages" documentation, it will need to be updated to call `save` instead of `_save` to work properly after this change to `CompressorFileStorage`. - Deprecate SlimItFilter, stop testing it with Python 3.7 or higher ``` ### 3.1 ``` ----------------- `Full list of changes from v3.0 <https://github.com/django-compressor/django-compressor/compare/3.0...3.1>`_ - Fix error with verbose offline compression when COMPRESS_OFFLINE_CONTEXT is a generator ``` ### 3.0 ``` ----------------- `Full list of changes from v2.4.1 <https://github.com/django-compressor/django-compressor/compare/2.4.1...3.0>`_ - Officially support Python 3.9 and 3.10 as well as Django 3.1, 3.2 and 4.0 - Drop support for Django 1.11, 2.1 and 3.0 - Drop support for Python 2.x and 3.4 - Fix compatibility with Jinja 3.x - Require django-sekizai 2.0 for django-sekizai extension - Make template compression in compress command threaded to improve performance - Correctly handle relative paths in ``extends`` tags (979) - Enable ``rCSSMinFilter`` by default (888) - Fix various deprecation warnings - Add ability to pass a logger to various classes & methods - Removed deprecated ``COMPRESS_JS_FILTERS`` and ``COMPRESS_CSS_FILTERS`` settings - Fix offline compression race condition, which could result in incomplete manifest ``` ### 2.4.1 ``` ------------------- `Full list of changes from v2.4 <https://github.com/django-compressor/django-compressor/compare/2.4...2.4.1>`_ - Raise proper ``DeprecationWarning`` for ``COMPRESS_JS_FILTERS`` and ``COMPRESS_CSS_FILTERS`` ``` ### 2.4 ``` ----------------- `Full list of changes from v2.3 <https://github.com/django-compressor/django-compressor/compare/2.3...2.4>`_ - Add support for Django 3.0 (950, 967) - Officially support Python 3.8 (967) - Add better support for JS strict mode and validation (952) - Add support for rel=preload (951) - Add support for Calmjs (957) Note: in 2.3, a new setting ``COMPRESS_FILTERS`` has been introduced that combines the existing ``COMPRESS_CSS_FILTERS`` and ``COMPRESS_JS_FILTERS``. The latter are now deprecated. See `the docs <https://django-compressor.readthedocs.io/en/stable/settings/#django.conf.settings.COMPRESS_FILTERS>`_ on how to use the new setting, the conversion is straightforward. ```
Links - PyPI: https://pypi.org/project/django-compressor - Changelog: https://pyup.io/changelogs/django-compressor/ - Docs: https://django-compressor.readthedocs.io/en/latest/