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>
This commit is contained in:
Sam James
2023-06-12 05:22:20 +01:00
parent 01cd2d8be1
commit de294f985a
2 changed files with 4 additions and 2 deletions
@@ -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}]
@@ -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}]