From 380c0f5f0924d658bf61dbf67817fa64733d6f77 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 27 May 2021 00:32:46 +0300 Subject: [PATCH] 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 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../{python3-werkzeug_1.0.1.bb => python3-werkzeug_2.0.1.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-werkzeug_1.0.1.bb => python3-werkzeug_2.0.1.bb} (89%) diff --git a/meta-python/recipes-devtools/python/python3-werkzeug_1.0.1.bb b/meta-python/recipes-devtools/python/python3-werkzeug_2.0.1.bb similarity index 89% rename from meta-python/recipes-devtools/python/python3-werkzeug_1.0.1.bb rename to meta-python/recipes-devtools/python/python3-werkzeug_2.0.1.bb index 8af0fef60..1653eeabd 100644 --- a/meta-python/recipes-devtools/python/python3-werkzeug_1.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-werkzeug_2.0.1.bb @@ -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