mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/ipython: Drop vulnerable version (CVE-2015-5607, CVE-2015-7337)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=554868 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=560708 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
The extension magics for oct2py and rpy live now in the oct2py and rpy2 package. The tests shipped with ipython are broken. We should disable
|
||||
those tests and remove the magics files:
|
||||
|
||||
IPython/extensions/rmagic.py -> rpy/ipython/rmagic.py
|
||||
IPython/extension/octavemagic.py -> oct2py/ipython/octavemagic.py
|
||||
|
||||
deleted: IPython/extensions/octavemagic.py
|
||||
deleted: IPython/extensions/rmagic.py
|
||||
modified: IPython/testing/iptest.py
|
||||
|
||||
diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py
|
||||
index 45d2c78..db0bdfe 100644
|
||||
--- a/IPython/testing/iptest.py
|
||||
+++ b/IPython/testing/iptest.py
|
||||
@@ -250,12 +250,10 @@ sec = test_sections['extensions']
|
||||
if not have['cython']:
|
||||
sec.exclude('cythonmagic')
|
||||
sec.exclude('tests.test_cythonmagic')
|
||||
-if not have['oct2py']:
|
||||
- sec.exclude('octavemagic')
|
||||
- sec.exclude('tests.test_octavemagic')
|
||||
-if not have['rpy2'] or not have['numpy']:
|
||||
- sec.exclude('rmagic')
|
||||
- sec.exclude('tests.test_rmagic')
|
||||
+sec.exclude('octavemagic')
|
||||
+sec.exclude('tests.test_octavemagic')
|
||||
+sec.exclude('rmagic')
|
||||
+sec.exclude('tests.test_rmagic')
|
||||
# autoreload does some strange stuff, so move it to its own test section
|
||||
sec.exclude('autoreload')
|
||||
sec.exclude('tests.test_autoreload')
|
||||
|
||||
Reference in New Issue
Block a user