python3-ipython: fix broken matplotlib_inline import

This commit is contained in:
Andrew J. Hesford 2021-05-01 16:23:34 -04:00 committed by Andrew J. Hesford
parent e4f55cc75a
commit 8abca2b2cb
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,12 @@
diff --git IPython/core/pylabtools.py IPython/core/pylabtools.py
index c71b0cdb6..bb815956e 100644
--- IPython/core/pylabtools.py
+++ IPython/core/pylabtools.py
@@ -383,6 +383,6 @@ def configure_inline_support(shell, backend):
stacklevel=2,
)
- from matplotlib_inline.backend_inline import configure_inline_support_orig
+ from matplotlib_inline.backend_inline import configure_inline_support as configure_inline_support_orig
configure_inline_support_orig(shell, backend)

View file

@ -1,7 +1,7 @@
# Template file for 'python3-ipython'
pkgname=python3-ipython
version=7.23.0
revision=1
revision=2
wrksrc="ipython-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"