dev-python/geventhttpclient: drop broken PyPy, skip a failing test
authorLouis Sautier <sbraz@gentoo.org>
Wed, 11 Dec 2019 10:46:13 +0000 (11:46 +0100)
committerLouis Sautier <sbraz@gentoo.org>
Wed, 11 Dec 2019 15:41:47 +0000 (16:41 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
dev-python/geventhttpclient/geventhttpclient-1.3.1-r1.ebuild

index 82e4d70b8d498e70cc9a5ba5ab46495c90fefe7d..8848ebc00731af759b068c43db9af2914c565560 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy python{2_7,3_{5,6,7}} )
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
 
 inherit distutils-r1
 
@@ -39,7 +39,10 @@ python_test() {
        # Ignore tests which require network access
        # Append to sys.path to avoid ImportError
        # https://bugs.gentoo.org/667758
+       # Skip a test that fails with Python > 3.7
+       # https://github.com/gwik/geventhttpclient/issues/119
        pytest --import-mode=append -vv src/geventhttpclient/tests --ignore \
-               src/geventhttpclient/tests/test_client.py || \
-               die "Tests failed with ${EPYTHON}"
+               src/geventhttpclient/tests/test_client.py --deselect \
+               src/geventhttpclient/tests/test_headers.py::test_cookielib_compatibility \
+               || die "Tests failed with ${EPYTHON}"
 }