diff mbox series

[meta-python,1/8] python3-flask-mail: Upgrade 0.9.1 -> 0.10.0

Message ID 20260224114407.1760757-1-leon.anavi@konsulko.com
State New
Headers show
Series [meta-python,1/8] python3-flask-mail: Upgrade 0.9.1 -> 0.10.0 | expand

Commit Message

Leon Anavi Feb. 24, 2026, 11:43 a.m. UTC
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

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...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%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb b/meta-python/recipes-devtools/python/python3-flask-mail_0.10.0.bb
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
--- a/meta-python/recipes-devtools/python/python3-flask-mail_0.9.1.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-mail_0.10.0.bb
@@ -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 \