Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-django-mailer for openSUSE:Factory checked in at 2023-10-04 22:31:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-mailer (Old) and /work/SRC/openSUSE:Factory/.python-django-mailer.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-mailer" Wed Oct 4 22:31:24 2023 rev:5 rq:1114933 version:2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-mailer/python-django-mailer.changes 2022-05-10 15:13:02.455654034 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-mailer.new.28202/python-django-mailer.changes 2023-10-04 22:32:19.449533698 +0200 @@ -1,0 +2,21 @@ +Mon Oct 2 11:03:48 UTC 2023 - pgaj...@suse.com + +- version update to 2.3 + 2.3 - 2023-09-25 + ---------------- + * Dropped Python 3.7 support. + * Added ``runmailer_pg`` - advanced sending method for sending emails without delay + immediate, PostgreSQL only. + 2.2.1 - 2023-09-22 + ------------------ + * Added admin action to send messages + * Added fix for email address that is a ``NoneType`` + * Stopped testing on unsupported Python (<3.7) and Django (<2.2) versions + * Started testing on Python 3.11 and Django 4.1/4.2 + * Added setting to limit the amount of retries for deferred messages + (``MAILER_EMAIL_MAX_RETRIES``), defaults to ``None`` (unlimited) + (See Issue `#161 <https://github.com/pinax/django-mailer/issues/161>`_ +- deleted patches + - python-django-mailer-no-mock.patch (upstreamed) + +------------------------------------------------------------------- Old: ---- django-mailer-2.2.tar.gz python-django-mailer-no-mock.patch New: ---- django-mailer-2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-mailer.spec ++++++ --- /var/tmp/diff_new_pack.N9NRj0/_old 2023-10-04 22:32:20.461570277 +0200 +++ /var/tmp/diff_new_pack.N9NRj0/_new 2023-10-04 22:32:20.465570421 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-django-mailer # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,29 +16,28 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python36 1 Name: python-django-mailer -Version: 2.2 +Version: 2.3 Release: 0 Summary: A reusable Django app for queuing the sending of email License: MIT Group: Development/Languages/Python URL: https://github.com/pinax/django-mailer/ Source: https://files.pythonhosted.org/packages/source/d/django-mailer/django-mailer-%{version}.tar.gz -# https://github.com/pinax/django-mailer/issues/157 -Patch0: python-django-mailer-no-mock.patch -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Django >= 1.11 Requires: python-lockfile >= 0.8 -Requires: python-six BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Django >= 1.11} BuildRequires: %{python_module lockfile >= 0.8} -BuildRequires: %{python_module six} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest-django} +BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -47,18 +46,17 @@ consolidation of multiple notifications into single emails and logging of mail failures. %prep -%setup -q -n django-mailer-%{version} -%patch0 -p1 +%autosetup -p1 -n django-mailer-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python runtests.py +%pytest -v %files %{python_files} %doc AUTHORS CHANGES.rst README.rst ++++++ django-mailer-2.2.tar.gz -> django-mailer-2.3.tar.gz ++++++ ++++ 2846 lines of diff (skipped)