Skip to contentSkip to conversation

python3-flask-mail: Upgrade 0.9.1 -> 0.10.0

PATCH New Leon Anavi 1 participant 8 messages Feb 24

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/8 python3-flask-mail: Upgrade 0.9.1 -> 0.10.0

Upgrade to release 0.10.0:

- Drop support for Python < 3.8.
- Use pyproject.toml for packaging metadata.
- Use flit_core as build backend.
- Apply code formatting and linting tools.
- Add static type annotations.
- Deprecate the __version__ attribute. Use feature detection or importlib.metadata.version("flask-mail") instead.
- Indicate that the deprecated is_bad_headers will be removed in the next version.
- Fix the email_dispatched signal to pass the current app as the sender and message as an argument, rather than the other way around.
- Attachment.data may not be None.
- Attachment.content_type will be detected based on filename and data and will not be None.

License-Update: Use LICENSE.txt

---
 ...3-flask-mail_0.9.1.bb => python3-flask-mail_0.10.0.bb} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-flask-mail_0.9.1.bb => python3-flask-mail_0.10.0.bb} (55%)
meta-python/recipes-devtools/python/python3-flask-mail_0.10.0.bb renamed from meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb +4 -4
similarity index 55%
rename from meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb
rename to meta-python/recipes-devtools/python/python3-flask-mail_0.10.0.bb
index c5b839eb72..5d3f60cff0 100644
@@ -2,14 +2,14 @@ SUMMARY = "Flask extension for sending email"
 DESCRIPTION = "A Flask extension for sending email"
 HOMEPAGE = " https://github.com/rduplain/flask-email"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=5b16dfa6d3f275ace5985bb92949f770"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=201f2b80112efa61b78515bd54e9f138"
 
-SRC_URI[sha256sum] = "22e5eb9a940bf407bcf30410ecc3708f3c56cc44b29c34e1726fe85006935f41"
+SRC_URI[sha256sum] = "44083e7b02bbcce792209c06252f8569dd5a325a7aaa76afe7330422bd97881d"
 
-PYPI_PACKAGE = "Flask-Mail"
+PYPI_PACKAGE = "flask_mail"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} = " \
     python3-blinker \
Signature · 1 line
2.47.3
author
#1 lore raw

PATCH 2/8 python3-flask-migrate: Upgrade 4.0.7 -> 4.1.0

Upgrade to release 4.1.0:

- Accept arguments such as --directory in environment variables
- Fix minor typos in documentation

---
 ...-flask-migrate_4.0.7.bb => python3-flask-migrate_4.1.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-flask-migrate_4.0.7.bb => python3-flask-migrate_4.1.0.bb} (75%)
meta-python/recipes-devtools/python/python3-flask-migrate_4.1.0.bb renamed from meta-python/recipes-devtools/python/python3-flask-migrate_4.0.7.bb +2 -2
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-flask-migrate_4.0.7.bb
rename to meta-python/recipes-devtools/python/python3-flask-migrate_4.1.0.bb
index bacf7851aa..7cdada071f 100644
@@ -2,9 +2,9 @@ DESCRIPTION = "SQLAlchemy database migrations for Flask applications using Alemb
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85"
 
-SRC_URI[sha256sum] = "dff7dd25113c210b069af280ea713b883f3840c1e3455274745d7355778c8622"
+SRC_URI[sha256sum] = "1a336b06eb2c3ace005f5f2ded8641d534c18798d64061f6ff11f79e1434126d"
 
-PYPI_PACKAGE = "Flask-Migrate"
+PYPI_PACKAGE = "flask_migrate"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 inherit pypi python_setuptools_build_meta
Signature · 1 line
2.47.3
author
#2 lore raw

PATCH 3/8 python3-flask: Upgrade 3.1.2 -> 3.1.3

In reply to Leon Anavi

Upgrade to release 3.1.3:

- The session is marked as accessed for operations that only access the keys but not the values, such as in and len.

---
 .../python/{python3-flask_3.1.2.bb => python3-flask_3.1.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-flask_3.1.2.bb => python3-flask_3.1.3.bb} (81%)
meta-python/recipes-devtools/python/python3-flask_3.1.3.bb renamed from meta-python/recipes-devtools/python/python3-flask_3.1.2.bb +2 -2
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-flask_3.1.2.bb
rename to meta-python/recipes-devtools/python/python3-flask_3.1.3.bb
index 1b289c7227..559f781e7e 100644
@@ -1,12 +1,12 @@
 SUMMARY = "A microframework based on Werkzeug, Jinja2 and good intentions"
 DESCRIPTION = "\
 Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \
-intentions. And before you ask: It’s BSD licensed!"
+intentions. And before you ask: It is BSD licensed!"
 HOMEPAGE = "https://github.com/pallets/flask"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
 
-SRC_URI[sha256sum] = "bf656c15c80190ed628ad08cdfd3aaa35beb087855e2f494910aa3774cc4fd87"
+SRC_URI[sha256sum] = "0ef0e52b8a9cd932855379197dd8f94047b359ca0a78695144304cb45f87c9eb"
 
 CVE_PRODUCT = "flask"
 
Signature · 1 line
2.47.3
author
#3 lore raw

PATCH 4/8 python3-flask-marshmallow: Upgrade 1.3.0 -> 1.4.0

In reply to Leon Anavi

Upgrade to release 1.4.0:

- Add missing commas in error message for validate.FileType
- Support Python 3.10-3.14

---
 ...-marshmallow_1.3.0.bb => python3-flask-marshmallow_1.4.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-flask-marshmallow_1.3.0.bb => python3-flask-marshmallow_1.4.0.bb} (81%)
meta-python/recipes-devtools/python/python3-flask-marshmallow_1.4.0.bb renamed from meta-python/recipes-devtools/python/python3-flask-marshmallow_1.3.0.bb +1 -1
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-flask-marshmallow_1.3.0.bb
rename to meta-python/recipes-devtools/python/python3-flask-marshmallow_1.4.0.bb
index f0cc8ef64f..189ed5335b 100644
@@ -8,7 +8,7 @@ inherit pypi python_flit_core
 PYPI_PACKAGE = "flask_marshmallow"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
-SRC_URI[sha256sum] = "27a35d0ce5dcba161cc5f2f4764afbc2536c93fa439a793250b827835e3f3be6"
+SRC_URI[sha256sum] = "98c90a253052c72d2ddddc925539ac33bbd780c6fba86478ffe18e3b89d8b471"
 
 RDEPENDS:${PN} += "\
     python3-flask \
Signature · 1 line
2.47.3
author
#4 lore raw

PATCH 5/8 python3-flask-cors: Upgrade 5.0.0 -> 6.0.2

In reply to Leon Anavi

Upgrade to release 6.0.2:

- Update license pyproject.toml

From 6.0.1:

- Invert regex sorting to make it correctly match the intent (sorting by specificity descending)
- Fix README file extension in pyproject.toml

From 6.0.0:

- [CVE-2024-6839] Sort Paths by Regex Specificity
- [CVE-2024-6844] Replace use of (urllib) unquote_plus with unquote
- [CVE-2024-6866] Case Sensitive Request Path Matching

License-Update: Use line 6 from PKG-INFO

---
 ...hon3-flask-cors_5.0.0.bb => python3-flask-cors_6.0.2.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-flask-cors_5.0.0.bb => python3-flask-cors_6.0.2.bb} (65%)
meta-python/recipes-devtools/python/python3-flask-cors_6.0.2.bb renamed from meta-python/recipes-devtools/python/python3-flask-cors_5.0.0.bb +3 -3
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-flask-cors_5.0.0.bb
rename to meta-python/recipes-devtools/python/python3-flask-cors_6.0.2.bb
index 1fead4f8d1..6134b5ba10 100644
@@ -5,14 +5,14 @@ DESCRIPTION = "\
   "
 SECTION = "devel/python"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=118fecaa576ab51c1520f95e98db61ce"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=134f1026f0de92fd30e71976590a2868"
 
 PYPI_PACKAGE = "flask_cors"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 CVE_PRODUCT = "flask-cors"
 
-inherit pypi setuptools3
-SRC_URI[sha256sum] = "5aadb4b950c4e93745034594d9f3ea6591f734bb3662e16e255ffbf5e89c88ef"
+inherit pypi python_setuptools_build_meta
+SRC_URI[sha256sum] = "6e118f3698249ae33e429760db98ce032a8bf9913638d085ca0f4c5534ad2423"
 
 RDEPENDS:${PN} += "python3-flask"
Signature · 1 line
2.47.3
author
#5 lore raw

PATCH 6/8 python3-flask-socketio: Upgrade 5.6.0 -> 5.6.1

In reply to Leon Anavi

Upgrade to release 5.6.1:

- Session fixes for Flask >= 3.1.3
- Update SocketIO constructor documentation
- Switch to the Furo documentation template

---
 ...-flask-socketio_5.6.0.bb => python3-flask-socketio_5.6.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-flask-socketio_5.6.0.bb => python3-flask-socketio_5.6.1.bb} (83%)
meta-python/recipes-devtools/python/python3-flask-socketio_5.6.1.bb renamed from meta-python/recipes-devtools/python/python3-flask-socketio_5.6.0.bb +1 -1
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-flask-socketio_5.6.0.bb
rename to meta-python/recipes-devtools/python/python3-flask-socketio_5.6.1.bb
index 8358489089..9e94d20748 100644
@@ -10,7 +10,7 @@ inherit pypi python_setuptools_build_meta
 PYPI_PACKAGE = "flask_socketio"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
-SRC_URI[sha256sum] = "42a7bc552013633875ad320e39462323b4f7334594f1658d72b6ffed99940d4c"
+SRC_URI[sha256sum] = "fe5bd995c3ed4da9a98f335d0d830fa1a19d84a64789f6265642a671fdacaeac"
 
 RDEPENDS:${PN} += "\
     python3-flask \
Signature · 1 line
2.47.3
author
#6 lore raw

PATCH 7/8 python3-flask-pymongo: Upgrade 2.3.0 -> 3.0.1

In reply to Leon Anavi

Upgrade to release 3.0.1:

- Fix link rendering in readme
- Fix handling of _version.py file

From release 3.0.0:

- Support Flask 3.0+ and PyMongo 4.0+.
- Support Python 3.9-3.13.
- Support MongoDB 4.4+.
- Add support for ~flask.json.jsonify().

---
 ...mongo_2.3.0.bb => python3-flask-pymongo_3.0.1.bb} | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-flask-pymongo_2.3.0.bb => python3-flask-pymongo_3.0.1.bb} (59%)
meta-python/recipes-devtools/python/python3-flask-pymongo_3.0.1.bb renamed from meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb +8 -4
similarity index 59%
rename from meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb
rename to meta-python/recipes-devtools/python/python3-flask-pymongo_3.0.1.bb
index 75a52a033e..7773e2830e 100644
@@ -5,13 +5,17 @@ SECTION = "devel/python"
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://flask_pymongo/wrappers.py;beginline=1;endline=24;md5=424c4e1047d28e01b4e4634a069c019d"
 
-SRC_URI[sha256sum] = "620eb02dc8808a5fcb90f26cab6cba9d6bf497b15032ae3ca99df80366e33314"
+SRC_URI[sha256sum] = "d225b51c21ceca2e670e6cca79b5c584ad17b96252b48e84e3b423ddb73304cc"
 
-PYPI_PACKAGE = "Flask-PyMongo"
+PYPI_PACKAGE = "flask_pymongo"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta python_hatchling
 
-DEPENDS = "python3-vcversioner python3-vcversioner-native"
+DEPENDS = " \
+    python3-vcversioner \
+    python3-vcversioner-native \
+    python3-hatchling-native \
+"
 
 RDEPENDS:${PN} = "python3-pymongo python3-flask"
Signature · 1 line
2.47.3
author
#7 lore raw

PATCH 8/8 python3-flask-jwt-extended: Upgrade 4.6.0 -> 4.7.1

In reply to Leon Anavi

Upgrade to release 4.7.1:

- Add controls for verify_sub option in PyJWT

From release 4.7.0:

- Drop support for python 3.7 and 3.8, add 3.13
- Fix documentation around identity needing to be a string

---
 ...-extended_4.6.0.bb => python3-flask-jwt-extended_4.7.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-flask-jwt-extended_4.6.0.bb => python3-flask-jwt-extended_4.7.1.bb} (74%)
meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.7.1.bb renamed from meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.6.0.bb +2 -2
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.6.0.bb
rename to meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.7.1.bb
index e188f2b09c..b36ea81d97 100644
@@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9166295d7c482b9440bbb2b5c0fa43ac"
 
 inherit pypi setuptools3
 
-PYPI_PACKAGE = "Flask-JWT-Extended"
+PYPI_PACKAGE = "flask_jwt_extended"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
-SRC_URI[sha256sum] = "9215d05a9413d3855764bcd67035e75819d23af2fafb6b55197eb5a3313fdfb2"
+SRC_URI[sha256sum] = "8085d6757505b6f3291a2638c84d207e8f0ad0de662d1f46aa2f77e658a0c976"
 
 RDEPENDS:${PN} += "\
     python3-werkzeug \
Signature · 1 line
2.47.3