summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-12 05:22:20 +0100
committerSam James <sam@gentoo.org>2023-06-12 05:22:20 +0100
commitde294f985a028405be1bc1cc625e7f3e7ea2f548 (patch)
tree17227d23e3eb40f5facb997b037cdd2b241d0529 /dev-python/nbconvert
parentnet-nntp/sabnzbd: drop dev-python/pkginfo test dep (diff)
downloadgentoo-de294f985a028405be1bc1cc625e7f3e7ea2f548.tar.gz
gentoo-de294f985a028405be1bc1cc625e7f3e7ea2f548.tar.bz2
gentoo-de294f985a028405be1bc1cc625e7f3e7ea2f548.zip
dev-python/nbconvert: fix nbconvert dep on mistune
Incompatible w/ mistune-3, see https://github.com/jupyter/nbconvert/pull/1820. Closes: https://bugs.gentoo.org/908377 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/nbconvert')
-rw-r--r--dev-python/nbconvert/nbconvert-7.3.1-r1.ebuild (renamed from dev-python/nbconvert/nbconvert-7.3.1.ebuild)3
-rw-r--r--dev-python/nbconvert/nbconvert-7.4.0-r1.ebuild (renamed from dev-python/nbconvert/nbconvert-7.4.0.ebuild)3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-python/nbconvert/nbconvert-7.3.1.ebuild b/dev-python/nbconvert/nbconvert-7.3.1-r1.ebuild
index c1f994686ded..089bfb2a087c 100644
--- a/dev-python/nbconvert/nbconvert-7.3.1.ebuild
+++ b/dev-python/nbconvert/nbconvert-7.3.1-r1.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
+# <mistune-3 for https://github.com/jupyter/nbconvert/pull/1820 (bug #908377)
RDEPEND="
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/bleach[${PYTHON_USEDEP}]
@@ -30,7 +31,7 @@ RDEPEND="
>=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}]
dev-python/jupyterlab-pygments[${PYTHON_USEDEP}]
>=dev-python/markupsafe-2.0[${PYTHON_USEDEP}]
- >=dev-python/mistune-2.0.2[${PYTHON_USEDEP}]
+ <dev-python/mistune-3[${PYTHON_USEDEP}]
>=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}]
>=dev-python/nbformat-5.1[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
diff --git a/dev-python/nbconvert/nbconvert-7.4.0.ebuild b/dev-python/nbconvert/nbconvert-7.4.0-r1.ebuild
index 4145050a76bc..e962142dfa5b 100644
--- a/dev-python/nbconvert/nbconvert-7.4.0.ebuild
+++ b/dev-python/nbconvert/nbconvert-7.4.0-r1.ebuild
@@ -19,6 +19,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+# <mistune-3 for https://github.com/jupyter/nbconvert/pull/1820 (bug #908377)
RDEPEND="
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/bleach[${PYTHON_USEDEP}]
@@ -30,7 +31,7 @@ RDEPEND="
>=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}]
dev-python/jupyterlab-pygments[${PYTHON_USEDEP}]
>=dev-python/markupsafe-2.0[${PYTHON_USEDEP}]
- >=dev-python/mistune-2.0.2[${PYTHON_USEDEP}]
+ <dev-python/mistune-3[${PYTHON_USEDEP}]
>=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}]
>=dev-python/nbformat-5.1[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]