Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Flask-Mail for 
openSUSE:Factory checked in at 2026-07-01 16:54:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-Mail (Old)
 and      /work/SRC/openSUSE:Factory/.python-Flask-Mail.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Flask-Mail"

Wed Jul  1 16:54:14 2026 rev:6 rq:1362892 version:0.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Flask-Mail/python-Flask-Mail.changes      
2025-04-22 17:29:25.829973470 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-Flask-Mail.new.11887/python-Flask-Mail.changes
   2026-07-01 16:54:34.078411501 +0200
@@ -1,0 +2,22 @@
+Fri Jun 26 10:04:35 UTC 2026 - Antonio Larrosa <[email protected]>
+
+- Update to python-Flask-Mail 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.
+
+- Drop patch that is not needed anymore:
+  * python-Flask-Mail-no-mock.patch
+-------------------------------------------------------------------

Old:
----
  Flask-Mail-0.9.1.tar.gz
  python-Flask-Mail-no-mock.patch

New:
----
  flask_mail-0.10.0.tar.gz

----------(Old B)----------
  Old:- Drop patch that is not needed anymore:
  * python-Flask-Mail-no-mock.patch
-------------------------------------------------------------------
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Flask-Mail.spec ++++++
--- /var/tmp/diff_new_pack.LTvQvx/_old  2026-07-01 16:54:34.922440626 +0200
+++ /var/tmp/diff_new_pack.LTvQvx/_new  2026-07-01 16:54:34.926440764 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Flask-Mail
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,12 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-Flask-Mail
-Version:        0.9.1
+Version:        0.10.0
 Release:        0
 Summary:        Flask extension for sending email
 License:        BSD-3-Clause
-URL:            https://github.com/rduplain/flask-mail
-Source:         
https://files.pythonhosted.org/packages/source/F/Flask-Mail/Flask-Mail-%{version}.tar.gz
-# do not use mock, upstream url unavailable
-Patch0:         python-Flask-Mail-no-mock.patch
+URL:            https://github.com/pallets-eco/flask-mail
+Source:         
https://github.com/pallets-eco/flask-mail/archive/%{version}.tar.gz#/flask_mail-%{version}.tar.gz
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
@@ -34,6 +32,8 @@
 # Test requirements
 BuildRequires:  %{python_module Flask}
 BuildRequires:  %{python_module blinker}
+BuildRequires:  %{python_module flit-core}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module speaklater}
 # End of test requirements
 Requires:       python-Flask
@@ -45,10 +45,7 @@
 A Flask extension for sending email messages.
 
 %prep
-%autosetup -p1 -n Flask-Mail-%{version}
-sed -i 's/assertEquals/assertEqual/' tests.py
-# Skip two failing tests
-sed -i 's/test_unicode_sender/_test_unicode_sender/' tests.py
+%autosetup -p1 -n flask-mail-%{version}
 
 %build
 %pyproject_wheel
@@ -58,12 +55,13 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pyunittest -v
+# Skip unicode failing tests
+donttest="test_unicode_sender"
+%pytest -k "not ($donttest)"
 
 %files %{python_files}
-%doc README.rst
-%license LICENSE
-%{python_sitelib}/flask_mail.py
-%pycache_only %{python_sitelib}/__pycache__/flask_mail.*.py*
+%doc README.md
+%license LICENSE.txt
+%{python_sitelib}/flask_mail
 %{python_sitelib}/[Ff]lask_[Mm]ail-%{version}.dist-info
 

Reply via email to