Skip to content

Commit

Permalink
dev-python/nbconvert: fix nbconvert dep on mistune
Browse files Browse the repository at this point in the history
Incompatible w/ mistune-3, see jupyter/nbconvert#1820.

Closes: https://bugs.gentoo.org/908377
Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
thesamesam committed Jun 12, 2023
1 parent 01cd2d8 commit de294f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}]
Expand All @@ -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}]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}]
Expand All @@ -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}]
Expand Down

0 comments on commit de294f9

Please sign in to comment.