From c4f67edaa2ef5bca2511e0750988221e7a1c0c441cf1ccb408f7dbd35412dcec Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 22 Feb 2022 17:53:36 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=206.0.0:=20=20=20-=20Drop=20sup?= =?UTF-8?q?port=20for=20Python=203.5=20and=203.6.=20=20=20-=20Add=20suppor?= =?UTF-8?q?t=20for=20Python=203.9=20and=203.10.=20=20=20-=20Drop=20support?= =?UTF-8?q?=20for=20Django=201.11,=202.0,=20and=202.1.=20=20=20-=20Add=20s?= =?UTF-8?q?upport=20for=20Django=204.0.=20=20=20-=20Import=20new=20MIME=20?= =?UTF-8?q?types=20from=20Nginx,=20changes:=20=20=20=20=20=20=20-=20.avif?= =?UTF-8?q?=20files=20are=20now=20served=20with=20the=20image/avif=20MIME?= =?UTF-8?q?=20type.=20=20=20=20=20=20=20-=20Open=20Document=20files=20with?= =?UTF-8?q?=20extensions=20.odg,=20.odp,=20=20=20=20=20=20=20=20=20.ods,?= =?UTF-8?q?=20and=20.odt=20are=20now=20served=20with=20their=20respective?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20application/vnd.oasis.opendocument.*?= =?UTF-8?q?=20MIME=20types.=20=20=20-=20The=20whitenoise.=5F=5Fversion=5F?= =?UTF-8?q?=5F=20attribute=20has=20been=20removed.=20Use=20=20=20=20=20imp?= =?UTF-8?q?ortlib.metadata.version()=20to=20check=20the=20version=20of=20?= =?UTF-8?q?=20=20=20=20Whitenoise=20if=20you=20need=20to.=20=20=20-=20Requ?= =?UTF-8?q?ests=20using=20the=20Range=20header=20can=20no=20longer=20read?= =?UTF-8?q?=20beyond=20the=20=20=20=20=20end=20of=20the=20requested=20rang?= =?UTF-8?q?e.=20=20=20-=20Treat=20empty=20and=20"*"=20values=20for=20Accep?= =?UTF-8?q?t-Encoding=20as=20if=20the=20=20=20=20=20client=20doesn?= =?UTF-8?q?=E2=80=99t=20support=20any=20encoding.=20=20=20-=20Gracefully?= =?UTF-8?q?=20handle=20unparsable=20If-Modified-Since=20headers=20=20=20?= =?UTF-8?q?=20=20(thanks=20@danielegozzi).=20=20=20-=20Add=20mimetype=20fo?= =?UTF-8?q?r=20Markdown=20(.md)=20files=20=20=20-=20Various=20documentatio?= =?UTF-8?q?n=20improvements=20=20=20-=20Add=20support=20for=20relative=20S?= =?UTF-8?q?TATIC=5FURLs=20in=20settings,=20as=20allowed=20=20=20=20=20in?= =?UTF-8?q?=20Django=203.1.=20=20=20-=20Add=20mimetype=20for=20.mjs=20(Jav?= =?UTF-8?q?aScript=20module)=20files=20and=20use=20=20=20=20=20recommended?= =?UTF-8?q?=20text/javascript=20mimetype=20for=20.js=20files.=20=20=20-=20?= =?UTF-8?q?Various=20documentation=20improvements=20(thanks=20@lukeburden)?= =?UTF-8?q?.=20=20=20-=20Add=20a=20manifest=5Fstrict=20setting=20to=20prev?= =?UTF-8?q?ent=20Django=20throwing=20=20=20=20=20errors=20when=20missing?= =?UTF-8?q?=20files=20are=20referenced.=20=20=20-=20Fix=20packaging=20to?= =?UTF-8?q?=20indicate=20only=20Python=203.5+=20compatibiity=20(thanks=20@?= =?UTF-8?q?mdalp).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whitenoise?expand=0&rev=11 --- python-whitenoise.changes | 33 +++++++++++++++++++++++++++++++++ python-whitenoise.spec | 4 ++-- whitenoise-5.1.0.tar.gz | 3 --- whitenoise-6.0.0.tar.gz | 3 +++ 4 files changed, 38 insertions(+), 5 deletions(-) delete mode 100644 whitenoise-5.1.0.tar.gz create mode 100644 whitenoise-6.0.0.tar.gz diff --git a/python-whitenoise.changes b/python-whitenoise.changes index ffed6d9..891215e 100644 --- a/python-whitenoise.changes +++ b/python-whitenoise.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Tue Feb 22 17:49:24 UTC 2022 - Matej Cepl + +- 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). + ------------------------------------------------------------------- Tue Jul 21 12:51:45 UTC 2020 - Marketa Calabkova diff --git a/python-whitenoise.spec b/python-whitenoise.spec index 08ec4c7..5e7fb83 100644 --- a/python-whitenoise.spec +++ b/python-whitenoise.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-whitenoise -Version: 5.1.0 +Version: 6.0.0 Release: 0 Summary: Static file serving for WSGI applications License: MIT diff --git a/whitenoise-5.1.0.tar.gz b/whitenoise-5.1.0.tar.gz deleted file mode 100644 index 16fd9b2..0000000 --- a/whitenoise-5.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bbc9800558e8e6a8f0aef2b0a2340d7492bcc3c8c90aa7ffd9c8b9a7c2b0a519 -size 52523 diff --git a/whitenoise-6.0.0.tar.gz b/whitenoise-6.0.0.tar.gz new file mode 100644 index 0000000..0e17ca2 --- /dev/null +++ b/whitenoise-6.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5558cd419c8d46bdc958064cb97f963d1ea793866414c025906ec15033512ed +size 14