1 |
commit: 06ad8727b9a3514e3f03c659517834d9d1aa87c2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 1 12:45:09 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 1 14:44:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06ad8727 |
7 |
|
8 |
dev-python/ipyparallel: Port to py3.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild | 12 ++++++------ |
13 |
1 file changed, 6 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild b/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild |
16 |
index 0bef8279f49..127af46a1d9 100644 |
17 |
--- a/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild |
18 |
+++ b/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild |
19 |
@@ -3,10 +3,8 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=( python3_{7..9} ) |
24 |
+PYTHON_COMPAT=( python3_{8..10} ) |
25 |
PYTHON_REQ_USE="threads(+)" |
26 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
27 |
- |
28 |
inherit distutils-r1 optfeature |
29 |
|
30 |
DESCRIPTION="Interactive Parallel Computing with IPython" |
31 |
@@ -16,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
32 |
LICENSE="BSD" |
33 |
SLOT="0" |
34 |
KEYWORDS="amd64 ~arm arm64 ~sparc x86 ~amd64-linux ~x86-linux" |
35 |
-IUSE="doc test" |
36 |
-RESTRICT="!test? ( test )" |
37 |
|
38 |
# About tests and tornado |
39 |
# Upstreams claims to work fine with tornado 5, and it's indeed possible to |
40 |
@@ -40,7 +36,6 @@ BDEPEND="${RDEPEND} |
41 |
test? ( |
42 |
dev-python/ipython[test] |
43 |
dev-python/mock[${PYTHON_USEDEP}] |
44 |
- dev-python/pytest[${PYTHON_USEDEP}] |
45 |
dev-python/testpath[${PYTHON_USEDEP}] |
46 |
) |
47 |
" |
48 |
@@ -60,6 +55,11 @@ python_test() { |
49 |
ipyparallel/tests/test_view.py::TestView::test_unicode_execute |
50 |
ipyparallel/tests/test_view.py::TestView::test_sync_imports_quiet |
51 |
) |
52 |
+ [[ ${EPYTHON} == python3.10 ]] && deselect+=( |
53 |
+ # failing due to irrelevant warnings |
54 |
+ ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning |
55 |
+ ipyparallel/tests/test_client.py::TestClient::test_warning_on_hostname_match |
56 |
+ ) |
57 |
epytest ${deselect[@]/#/--deselect } |
58 |
} |