1 |
commit: 646a67c11a0f08ff38722b5ad6e9b3fe71e9e762 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 14 07:06:26 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 14 08:08:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=646a67c1 |
7 |
|
8 |
dev-python/ipython: Fix dependencies and tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/831141 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
.../{ipython-8.0.0.ebuild => ipython-8.0.0-r1.ebuild} | 19 ++++++++++--------- |
14 |
1 file changed, 10 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/ipython/ipython-8.0.0.ebuild b/dev-python/ipython/ipython-8.0.0-r1.ebuild |
17 |
similarity index 89% |
18 |
rename from dev-python/ipython/ipython-8.0.0.ebuild |
19 |
rename to dev-python/ipython/ipython-8.0.0-r1.ebuild |
20 |
index d86fd0952f68..1f2f15baf27c 100644 |
21 |
--- a/dev-python/ipython/ipython-8.0.0.ebuild |
22 |
+++ b/dev-python/ipython/ipython-8.0.0-r1.ebuild |
23 |
@@ -21,17 +21,19 @@ RESTRICT="!test? ( test )" |
24 |
|
25 |
RDEPEND=" |
26 |
dev-python/backcall[${PYTHON_USEDEP}] |
27 |
+ dev-python/black[${PYTHON_USEDEP}] |
28 |
dev-python/decorator[${PYTHON_USEDEP}] |
29 |
>=dev-python/jedi-0.16[${PYTHON_USEDEP}] |
30 |
+ dev-python/matplotlib-inline[${PYTHON_USEDEP}] |
31 |
>=dev-python/pexpect-4.3[${PYTHON_USEDEP}] |
32 |
dev-python/pickleshare[${PYTHON_USEDEP}] |
33 |
>=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}] |
34 |
<dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}] |
35 |
dev-python/pygments[${PYTHON_USEDEP}] |
36 |
+ dev-python/stack_data[${PYTHON_USEDEP}] |
37 |
>=dev-python/traitlets-5.0[${PYTHON_USEDEP}] |
38 |
matplotlib? ( |
39 |
dev-python/matplotlib[${PYTHON_USEDEP}] |
40 |
- dev-python/matplotlib-inline[${PYTHON_USEDEP}] |
41 |
) |
42 |
" |
43 |
|
44 |
@@ -39,12 +41,10 @@ BDEPEND=" |
45 |
test? ( |
46 |
app-text/dvipng[truetype] |
47 |
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] |
48 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
49 |
dev-python/matplotlib-inline[${PYTHON_USEDEP}] |
50 |
dev-python/nbformat[${PYTHON_USEDEP}] |
51 |
>=dev-python/numpy-1.19[${PYTHON_USEDEP}] |
52 |
dev-python/requests[${PYTHON_USEDEP}] |
53 |
- dev-python/stack_data[${PYTHON_USEDEP}] |
54 |
dev-python/testpath[${PYTHON_USEDEP}] |
55 |
) |
56 |
doc? ( |
57 |
@@ -102,16 +102,17 @@ python_compile_all() { |
58 |
|
59 |
python_test() { |
60 |
local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 |
61 |
- local EPYTEST_DESELECT=() |
62 |
+ local EPYTEST_DESELECT=( |
63 |
+ # Internet |
64 |
+ IPython/core/display.py::IPython.core.display.Image.__init__ |
65 |
+ # TODO |
66 |
+ IPython/core/tests/test_oinspect.py::test_class_signature |
67 |
+ IPython/core/tests/test_oinspect.py::test_render_signature_long |
68 |
+ ) |
69 |
[[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=( |
70 |
# TODO |
71 |
IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups |
72 |
IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions |
73 |
- IPython/core/tests/test_oinspect.py::test_pinfo_docstring_if_detail_and_no_source |
74 |
- # fails due to changed argparse output |
75 |
- IPython/core/tests/test_magic_arguments.py::test_magic_arguments |
76 |
- # py3.10 API incompat, doesn't look important |
77 |
- IPython/lib/tests/test_pretty.py::test_pprint_heap_allocated_type |
78 |
) |
79 |
virtx epytest |
80 |
} |