hawkpost
hawkpost copied to clipboard
Bump whitenoise from 5.3.0 to 6.8.2
Bumps whitenoise from 5.3.0 to 6.8.2.
Changelog
Sourced from whitenoise's changelog.
6.8.2 (2024-10-29)
Fix compression speed gains for the thread pool when running Django’s
collectstatic. The thread pool had no effect due to use of a generator for the results, a refactoring introduced when reviewing the initial PR.Thanks to Petr Přikryl for the investigation and fix in
PR [#616](https://github.com/evansd/whitenoise/issues/616) <https://github.com/evansd/whitenoise/pull/616>__.6.8.1 (2024-10-28)
Raise any errors from threads in the
whitenoise.compresscommand.Regression in 6.8.0. Thanks to Tom Grainger for the spotting this with a
comment on PR [#484](https://github.com/evansd/whitenoise/issues/484) <https://github.com/evansd/whitenoise/pull/484#discussion_r1818989096>__.6.8.0 (2024-10-28)
Drop Django 3.2 to 4.1 support.
Drop Python 3.8 support.
Support Python 3.13.
Fix a bug introduced in version 6.0.0 where
Rangerequests could lead to database connection errors in other requests.Thanks to Per Myren for the detailed investigation and fix in
PR [#612](https://github.com/evansd/whitenoise/issues/612) <https://github.com/evansd/whitenoise/pull/612>__.Use Django’s |FORCE_SCRIPT_NAME|__ setting correctly. This reverts a change from version 5.3.0 that added a call to Django’s |get_script_prefix() method|__ outside of the request-response cycle.
.. |FORCE_SCRIPT_NAME| replace::
FORCE_SCRIPT_NAME__ https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-FORCE_SCRIPT_NAME.. |get_script_prefix() method| replace::
get_script_prefix()method __ https://docs.djangoproject.com/en/stable/ref/urlresolvers/#django.urls.get_script_prefixThanks to Sarah Boyce in
PR [#486](https://github.com/evansd/whitenoise/issues/486) <https://github.com/evansd/whitenoise/pull/486>__.Compress files using a thread pool. This speeds up the compression step up to four times in benchmarks.
Thanks to Anthony Ricaud in
PR [#484](https://github.com/evansd/whitenoise/issues/484) <https://github.com/evansd/whitenoise/pull/484>__.6.7.0 (2024-06-19)
- Support Django 5.1.
... (truncated)
Commits
2f75ac8Version 6.8.261853c7Fix compression speed gains (#616)bfc5daeVersion 6.8.16bbec0fRaise errors from threads in whitenoise.compress (#615)0b054e5Version 6.8.054c464aUpgrade and clarify Django quickstart docs (#548)d5caf8dCompress each file in a ThreadPool (#484)9494ff3Use settings.FORCE_SCRIPT_NAME correctly (#486)c42e93cMake sure SlicedFile is closed properly (#612)f8dff50Drop Django 3.2 to 4.1 support (#614)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)