commit: 0f30ed27283bcbaf311c490da0254f3832a15c09
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 21 06:19:51 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 21 06:19:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f30ed27
dev-python/requests-futures: enable py3.10, enable partial tests
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/requests-futures/requests-futures-1.0.0.ebuild | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/dev-python/requests-futures/requests-futures-1.0.0.ebuild
b/dev-python/requests-futures/requests-futures-1.0.0.ebuild
index b72806bb2c6..fb52803aeb0 100644
--- a/dev-python/requests-futures/requests-futures-1.0.0.ebuild
+++ b/dev-python/requests-futures/requests-futures-1.0.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
@@ -15,8 +15,17 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-RESTRICT="test" # https://github.com/ross/requests-futures/issues/94
+RESTRICT="test"
+PROPERTIES="test_network"
RDEPEND=">=dev-python/requests-1.2.0[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # known failures by upstream
+ # https://github.com/ross/requests-futures/issues/94
+ test_requests_futures.py::RequestsTestCase::test_redirect
+
test_requests_futures.py::RequestsProcessPoolTestCase::test_futures_existing_session
+
test_requests_futures.py::RequestsProcessPoolTestCase::test_futures_session
+)