14
0

- 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/package/show/devel:languages:python/python-whitenoise?expand=0&rev=11
This commit is contained in:
2022-02-22 17:53:36 +00:00
committed by Git OBS Bridge
parent a0bf620575
commit c4f67edaa2
4 changed files with 38 additions and 5 deletions

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Tue Feb 22 17:49:24 UTC 2022 - Matej Cepl <mcepl@suse.com>
- 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 doesnt 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).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 21 12:51:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> Tue Jul 21 12:51:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-whitenoise # spec file for package python-whitenoise
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-whitenoise Name: python-whitenoise
Version: 5.1.0 Version: 6.0.0
Release: 0 Release: 0
Summary: Static file serving for WSGI applications Summary: Static file serving for WSGI applications
License: MIT License: MIT

View File

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

BIN
whitenoise-6.0.0.tar.gz LFS Normal file

Binary file not shown.