1
0

Compare commits

19 Commits

Author SHA256 Message Date
e56a39c00c Accepting request 1307085 from devel:languages:python
- Fix build for Leap 15.7

OBS-URL: https://build.opensuse.org/request/show/1307085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=15
2025-09-25 16:45:53 +00:00
2919ef1fa9 - Fix build for Leap 15.7
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whitenoise?expand=0&rev=29
2025-09-25 11:17:28 +00:00
3ed4572de0 Accepting request 1306441 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1306441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=14
2025-09-22 14:40:42 +00:00
263e4c4e7c - Update to 6.11.0
* Support Django 6.0.
- from version 6.10.0
  * Support Python 3.14.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whitenoise?expand=0&rev=27
2025-09-22 08:38:51 +00:00
b87ce314e0 Accepting request 1249258 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1249258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=13
2025-02-28 16:47:22 +00:00
23f9d68603 - Update to 6.9.0
* Support Django 5.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whitenoise?expand=0&rev=25
2025-02-28 14:25:54 +00:00
a68c349ab9 Accepting request 1225343 from devel:languages:python
- update to 6.8.2:
  * 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.

OBS-URL: https://build.opensuse.org/request/show/1225343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=12
2024-11-21 14:13:59 +00:00
70edf7a4ce - update to 6.8.2:
* 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whitenoise?expand=0&rev=23
2024-11-20 16:42:29 +00:00
e88ea05dcf Accepting request 1219727 from devel:languages:python
- update to 6.8.1:
  * Raise any errors from threads in the whitenoise.compress
    command. Regression in 6.8.0. Thanks to Tom Grainger for the
    spotting this with a comment on PR #484.
  * 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 Range requests
    could lead to database connection errors in other requests.
    Thanks to Per Myren for the detailed investigation and fix in
    PR #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. Thanks to Sarah Boyce in PR #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.

OBS-URL: https://build.opensuse.org/request/show/1219727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=11
2024-10-31 15:09:38 +00:00
f714c1fa59 - update to 6.8.1:
* Raise any errors from threads in the whitenoise.compress
    command. Regression in 6.8.0. Thanks to Tom Grainger for the
    spotting this with a comment on PR #484.
  * 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 Range requests
    could lead to database connection errors in other requests.
    Thanks to Per Myren for the detailed investigation and fix in
    PR #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. Thanks to Sarah Boyce in PR #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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whitenoise?expand=0&rev=21
2024-10-30 19:55:34 +00:00
acff6ddfbb Accepting request 1183921 from devel:languages:python
- update to 6.7.0:
  * Support Django 5.1.

OBS-URL: https://build.opensuse.org/request/show/1183921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=10
2024-06-29 13:17:13 +00:00
9511ab24c4 Accepting request 1135358 from devel:languages:python
- update to 6.6.0:
  * Support Django 5.0.
  * Drop Python 3.7 support.
  * Support Python 3.12.
  * Changed documentation site URL from
    ``https://whitenoise.evans.io/`` to
    ``https://whitenoise.readthedocs.io/``.
  * Support Django 4.2.
  * Remove further support for byte strings from the ``root`` and
    ``prefix`` arguments to ``WhiteNoise``, and Django’s
    ``STATIC_ROOT`` setting.
  * Django does not support ``STATIC_ROOT`` being a byte string.
  * Add some video file extensions to be ignored during
    compression.
  * Remove the behaviour of decoding byte strings passed for
    settings that take strings.
  * Document “hidden” feature of setting ``max_age`` to ``None``
    to disable the ``Cache-Control`` header.
  * Drop support for working as old-style Django middleware, as
    support was `removed in Django 2.0

- Update to version 6.2.0
  * Add a manifest_strict setting to prevent Django throwing errors

OBS-URL: https://build.opensuse.org/request/show/1135358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=9
2023-12-28 22:02:48 +00:00
5c5116e781 Accepting request 1106283 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1106283
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=8
2023-08-28 15:17:12 +00:00
48f370e638 Accepting request 1009885 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1009885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=7
2022-10-12 16:24:32 +00:00
1fdf426f23 Accepting request 956876 from devel:languages:python
- Update to 6.0.0:
  - Drop support for Python 3.5 and 3.6.
  - Add support for Python 3.9 and 3.10.
  - Drop support for Django 1.11, 2.0, and 2.1.
  - Add support for Django 4.0.
  - Import new MIME types from Nginx, changes:
      - .avif files are now served with the image/avif MIME type.
      - Open Document files with extensions .odg, .odp,
        .ods, and .odt are now served with their respective
        application/vnd.oasis.opendocument.* MIME types.
  - The whitenoise.__version__ attribute has been removed. Use
    importlib.metadata.version() to check the version of
    Whitenoise if you need to.
  - Requests using the Range header can no longer read beyond the
    end of the requested range.
  - Treat empty and "*" values for Accept-Encoding as if the
    client doesn’t support any encoding.
  - Gracefully handle unparsable If-Modified-Since headers
    (thanks @danielegozzi).
  - Add mimetype for Markdown (.md) files
  - Various documentation improvements
  - Add support for relative STATIC_URLs in settings, as allowed
    in Django 3.1.
  - Add mimetype for .mjs (JavaScript module) files and use
    recommended text/javascript mimetype for .js files.
  - Various documentation improvements (thanks @lukeburden).
  - Add a manifest_strict setting to prevent Django throwing
    errors when missing files are referenced.
  - Fix packaging to indicate only Python 3.5+ compatibiity (thanks @mdalp).

OBS-URL: https://build.opensuse.org/request/show/956876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=6
2022-02-23 18:06:48 +00:00
4a3741bb3e Accepting request 850756 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/850756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=5
2020-11-29 11:26:54 +00:00
cb126ddfef Accepting request 770587 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/770587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=4
2020-02-07 14:54:11 +00:00
80f8574db8 Accepting request 717554 from devel:languages:python
- Update to 4.1.3:
  * Fix handling of zero-valued mtimes which can occur when running on some filesystems
  * Fix potential path traversal attack while running in autorefresh mode on Windows

OBS-URL: https://build.opensuse.org/request/show/717554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=3
2019-07-22 15:19:20 +00:00
3fcba4102a Accepting request 714017 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/714017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-whitenoise?expand=0&rev=2
2019-07-08 13:12:56 +00:00
4 changed files with 61 additions and 6 deletions

View File

@@ -1,3 +1,54 @@
-------------------------------------------------------------------
Thu Sep 25 11:15:10 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Fix build for Leap 15.7
-------------------------------------------------------------------
Fri Sep 19 11:36:52 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 6.11.0
* Support Django 6.0.
- from version 6.10.0
* Support Python 3.14.
-------------------------------------------------------------------
Fri Feb 28 09:19:24 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 6.9.0
* Support Django 5.2.
-------------------------------------------------------------------
Wed Nov 20 16:42:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.8.2:
* Fix compression speed gains for the thread pool when running
Djangos 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.
-------------------------------------------------------------------
Wed Oct 30 19:55:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.8.1:
* Raise any errors from threads in the whitenoise.compress
command. Regression in 6.8.0. Thanks to Tom Grainger for the
spotting this with a comment on PR #484.
* 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 Range requests
could lead to database connection errors in other requests.
Thanks to Per Myren for the detailed investigation and fix in
PR #612.
* Use Djangos FORCE_SCRIPT_NAME setting correctly. This
reverts a change from version 5.3.0 that added a call to
Djangos get_script_prefix() method outside of the request-
response cycle. Thanks to Sarah Boyce in PR #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.
-------------------------------------------------------------------
Sat Jun 29 05:41:54 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-whitenoise
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-whitenoise
Version: 6.7.0
Version: 6.11.0
Release: 0
Summary: Static file serving for WSGI applications
License: MIT
@@ -42,7 +42,11 @@ BuildArch: noarch
Static file serving for WSGI applications.
%prep
%setup -q -n whitenoise-%{version}
%autosetup -p1 -n whitenoise-%{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1600
sed -i '/license-files/d' pyproject.toml
sed -i 's/license = "MIT"/license = { text = "MIT" }/' pyproject.toml
%endif
%build
%pyproject_wheel

3
whitenoise-6.11.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f6d97a932ea8e8aa6c0690648fa146f9bd05fb89a3cebed902940bff43806de
size 104789

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1a3de05167b065eb4f5a849fd1b9e9072b81ac484cd91be06b5ba6728f6f4ac
size 56462