Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-aiosmtplib for
openSUSE:Factory checked in at 2021-05-08 22:07:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aiosmtplib (Old)
and /work/SRC/openSUSE:Factory/.python-aiosmtplib.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiosmtplib"
Sat May 8 22:07:33 2021 rev:6 rq:891391 version:1.1.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aiosmtplib/python-aiosmtplib.changes
2021-05-02 18:39:05.204188289 +0200
+++
/work/SRC/openSUSE:Factory/.python-aiosmtplib.new.2988/python-aiosmtplib.changes
2021-05-08 22:08:43.133404484 +0200
@@ -1,0 +2,6 @@
+Fri May 7 20:53:46 UTC 2021 - Matej Cepl <[email protected]>
+
+- Add failing_smtpd_tests.patch to fix failing tests
+ (gh#cole/aiosmtplib#171).
+
+-------------------------------------------------------------------
New:
----
failing_smtpd_tests.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aiosmtplib.spec ++++++
--- /var/tmp/diff_new_pack.Dhiy8F/_old 2021-05-08 22:08:43.589402509 +0200
+++ /var/tmp/diff_new_pack.Dhiy8F/_new 2021-05-08 22:08:43.593402491 +0200
@@ -26,6 +26,9 @@
Group: Development/Languages/Python
URL: https://github.com/cole/aiosmtplib
Source:
https://files.pythonhosted.org/packages/source/a/aiosmtplib/aiosmtplib-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM failing_smtpd_tests.patch gh#cole/aiosmtplib#171
[email protected]
+# fix tests/smtpd.py
+Patch0: failing_smtpd_tests.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -42,7 +45,7 @@
Python asyncio SMTP client.
%prep
-%setup -q -n aiosmtplib-%{version}
+%autosetup -p1 -n aiosmtplib-%{version}
%build
%python_build
@@ -53,8 +56,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# gh#cole/aiosmtplib#171
-%pytest -rs -k 'not (test_qq_login or test_starttls_gmail or
test_send_with_login or test_connect_with_login)'
+%pytest -rs -k 'not (test_qq_login or test_starttls_gmail)'
%files %{python_files}
%doc README.rst docs/*.rst
++++++ failing_smtpd_tests.patch ++++++
---
tests/smtpd.py | 2 ++
1 file changed, 2 insertions(+)
--- a/tests/smtpd.py
+++ b/tests/smtpd.py
@@ -115,6 +115,8 @@ class TestSMTPD(SMTPD):
if arg[:5] == "LOGIN":
await self.smtp_AUTH_LOGIN(arg[6:])
+ else:
+ await self.push("525 Unsupported auth method.")
async def smtp_AUTH_LOGIN(self, arg):
username = base64.b64decode(arg)