python3-werkzeug: Upgrade 1.0.1 -> 2.0.1

Upgrade to release 2.0.1:

- Fix type annotation for send_file max_age callable. Don't pass
  pathlib.Path to max_age.
- Mark top-level names as exported so type checking understands
  imports in user projects.
- Fix some types that weren't available in Python 3.6.0.
- cached_property is generic over its return type, properties
  decorated with it report the correct type.
- Fix multipart parsing bug when boundary contains special regex
  characters.
- Type checking understands that calling headers.get with a string
  default will always return a string.
- If HTTPException.description is not a string, get_description
  will convert it to a string.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Leon Anavi
2021-05-27 00:32:46 +03:00
committed by Khem Raj
parent 33ffacddcf
commit 380c0f5f09

View File

@@ -12,8 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
PYPI_PACKAGE = "Werkzeug"
SRC_URI[md5sum] = "5d499cfdd30de5d9c946994783772efd"
SRC_URI[sha256sum] = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"
SRC_URI[sha256sum] = "1de1db30d010ff1af14a009224ec49ab2329ad2cde454c8a708130642d579c42"
inherit pypi setuptools3