Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-ipython: fix broken matplotlib_inline import
@ 2021-05-01 20:29 ahesford
  2021-05-02  0:09 ` ahesford
  2021-05-02  0:09 ` [PR PATCH] [Merged]: " ahesford
  0 siblings, 2 replies; 3+ messages in thread
From: ahesford @ 2021-05-01 20:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

There is a new pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages ipython
https://github.com/void-linux/void-packages/pull/30616

python3-ipython: fix broken matplotlib_inline import
Looks like the upstream restructuring introduced a bug. Awaiting either upstream acknowledgment or downstream confirmation that this fix is sufficient.

Issue report: https://www.reddit.com/r/voidlinux/comments/n2nxyd/matplotlib_inline_broken_after_most_recent_update/
Proposed upstream fix: https://github.com/ipython/ipython/pull/12940

A patch file from https://github.com/void-linux/void-packages/pull/30616.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ipython-30616.patch --]
[-- Type: text/x-diff, Size: 1677 bytes --]

From a4b475435e2d3e825ff8116e3c2b12d1dfa44a42 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Sat, 1 May 2021 16:23:34 -0400
Subject: [PATCH] python3-ipython: fix broken matplotlib_inline import

---
 srcpkgs/python3-ipython/patches/mpl_inline_fix.patch | 12 ++++++++++++
 srcpkgs/python3-ipython/template                     |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/python3-ipython/patches/mpl_inline_fix.patch

diff --git a/srcpkgs/python3-ipython/patches/mpl_inline_fix.patch b/srcpkgs/python3-ipython/patches/mpl_inline_fix.patch
new file mode 100644
index 000000000000..4526ce4af0e7
--- /dev/null
+++ b/srcpkgs/python3-ipython/patches/mpl_inline_fix.patch
@@ -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)
diff --git a/srcpkgs/python3-ipython/template b/srcpkgs/python3-ipython/template
index bf1b012ed3a3..671614a92a1d 100644
--- a/srcpkgs/python3-ipython/template
+++ b/srcpkgs/python3-ipython/template
@@ -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"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: python3-ipython: fix broken matplotlib_inline import
  2021-05-01 20:29 [PR PATCH] python3-ipython: fix broken matplotlib_inline import ahesford
@ 2021-05-02  0:09 ` ahesford
  2021-05-02  0:09 ` [PR PATCH] [Merged]: " ahesford
  1 sibling, 0 replies; 3+ messages in thread
From: ahesford @ 2021-05-02  0:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 266 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/30616#issuecomment-830712841

Comment:
The fix works: https://www.reddit.com/r/voidlinux/comments/n2nxyd/matplotlib_inline_broken_after_most_recent_update/gwl6emv/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: python3-ipython: fix broken matplotlib_inline import
  2021-05-01 20:29 [PR PATCH] python3-ipython: fix broken matplotlib_inline import ahesford
  2021-05-02  0:09 ` ahesford
@ 2021-05-02  0:09 ` ahesford
  1 sibling, 0 replies; 3+ messages in thread
From: ahesford @ 2021-05-02  0:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

There's a merged pull request on the void-packages repository

python3-ipython: fix broken matplotlib_inline import
https://github.com/void-linux/void-packages/pull/30616

Description:
Looks like the upstream restructuring introduced a bug. Awaiting either upstream acknowledgment or downstream confirmation that this fix is sufficient.

Issue report: https://www.reddit.com/r/voidlinux/comments/n2nxyd/matplotlib_inline_broken_after_most_recent_update/
Proposed upstream fix: https://github.com/ipython/ipython/pull/12940

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-02  0:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-01 20:29 [PR PATCH] python3-ipython: fix broken matplotlib_inline import ahesford
2021-05-02  0:09 ` ahesford
2021-05-02  0:09 ` [PR PATCH] [Merged]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).