Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package python-molotov

Version in sid fixies FTBFS (#924805).

Debdiff attached.

Thanks.

unblock python-molotov/1.6-3

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8),
LANGUAGE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru python-molotov-1.6/debian/changelog python-molotov-1.6/debian/changelog
--- python-molotov-1.6/debian/changelog	2018-08-16 13:59:34.000000000 +0200
+++ python-molotov-1.6/debian/changelog	2019-03-19 17:35:11.000000000 +0100
@@ -1,3 +1,13 @@
+python-molotov (1.6-3) unstable; urgency=medium
+
+  * Fix FTBFS (Closes: #924805)
+    - d/p/0002-Disable-internet-tests.patch:
+      Disable tests if they require Internet access
+    - d/p/0003-Disable-session-tests.patch:
+      Disable session tests, they doesn't work with newer aiohttp
+
+ -- Ondřej Nový <on...@debian.org>  Tue, 19 Mar 2019 17:35:11 +0100
+
 python-molotov (1.6-2) unstable; urgency=medium
 
   * d/p/0001-Print-reason-why-is-not-possible-to-start-the-coserv.patch:
diff -Nru python-molotov-1.6/debian/patches/series python-molotov-1.6/debian/patches/series
--- python-molotov-1.6/debian/patches/series	2018-08-16 13:58:41.000000000 +0200
+++ python-molotov-1.6/debian/patches/series	2019-03-19 17:26:44.000000000 +0100
@@ -1 +1,3 @@
 0001-Print-reason-why-is-not-possible-to-start-the-coserv.patch
+0002-Disable-internet-tests.patch
+0003-Disable-session-tests.patch
diff -Nru python-molotov-1.6/debian/patches/0002-Disable-internet-tests.patch python-molotov-1.6/debian/patches/0002-Disable-internet-tests.patch
--- python-molotov-1.6/debian/patches/0002-Disable-internet-tests.patch	1970-01-01 01:00:00.000000000 +0100
+++ python-molotov-1.6/debian/patches/0002-Disable-internet-tests.patch	2019-03-19 17:27:13.000000000 +0100
@@ -0,0 +1,19 @@
+Description: Disable tests if they require Internet access
+Author: Ondřej Nový <on...@debian.org>
+
+--- a/molotov/tests/test_fmwk.py
++++ b/molotov/tests/test_fmwk.py
+@@ -1,4 +1,5 @@
+ import os
++import pytest
+ import signal
+ from molotov.session import LoggedClientSession
+ from molotov.runner import Runner
+@@ -220,6 +221,7 @@
+         self.assertEqual(len(res), 1)
+ 
+     @async_test
++    @pytest.mark.skip(reason="This test requires internet access")
+     async def test_setup_session_failure(self, loop, console, results):
+ 
+         @setup_session()
diff -Nru python-molotov-1.6/debian/patches/0003-Disable-session-tests.patch python-molotov-1.6/debian/patches/0003-Disable-session-tests.patch
--- python-molotov-1.6/debian/patches/0003-Disable-session-tests.patch	1970-01-01 01:00:00.000000000 +0100
+++ python-molotov-1.6/debian/patches/0003-Disable-session-tests.patch	2019-03-19 17:27:02.000000000 +0100
@@ -0,0 +1,20 @@
+Description: Disable session tests, they doesn't work with newer aiohttp
+Author: Ondřej Nový <on...@debian.org>
+
+--- a/molotov/tests/test_session.py
++++ b/molotov/tests/test_session.py
+@@ -1,4 +1,5 @@
+ import gzip
++import pytest
+ from aiohttp.client_reqrep import ClientRequest
+ from yarl import URL
+ from unittest.mock import patch
+@@ -8,7 +9,7 @@
+ from molotov.tests.support import coserver, Response, Request
+ from molotov.tests.support import TestLoop, async_test, serialize
+ 
+-
++@pytest.mark.skip(reason="This test doesn't work with newer aiohttp")
+ class TestLoggedClientSession(TestLoop):
+ 
+     def _get_session(self, *args, **kw):

Reply via email to