dev-python/metakernel - 1.0.7 (gentoo)

Search

Install

Install this version:

emerge -a =dev-python/metakernel-1.0.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/metakernel-1.0.7

Or alternatively:

emerge --autounmask-write -a =dev-python/metakernel-1.0.7

Package Information

Description:
Metakernel for Jupyter
Homepage:
https://github.com/Calysto/metakernel/ https://pypi.org/project/metakernel/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.0.7 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=poetry-core
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1 pypi

DESCRIPTION="Metakernel for Jupyter"
HOMEPAGE="
	https://github.com/Calysto/metakernel/
	https://pypi.org/project/metakernel/
"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"

RDEPEND="
	>=dev-python/comm-0.1.3[${PYTHON_USEDEP}]
	>=dev-python/ipykernel-6.22.0[${PYTHON_USEDEP}]
	>=dev-python/jupyter-core-5.3.1[${PYTHON_USEDEP}]
	>=dev-python/jedi-0.19.0[${PYTHON_USEDEP}]
	>=dev-python/pexpect-4.9.0[${PYTHON_USEDEP}]
"

BDEPEND="
	test? (
		>=dev-python/ipython-9.16[${PYTHON_USEDEP}]
		>=dev-python/ipywidgets-8.0.5[${PYTHON_USEDEP}]
		>=dev-python/jupyter-kernel-test-0.6.0[${PYTHON_USEDEP}]
		>=dev-python/requests-2.29.0[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=( pytest-timeout )
distutils_enable_tests pytest

python_test() {
	local EPYTEST_DESELECT=(
		# fragile
		tests/test_parser.py::test_path_completions
		# requires starting ipycluster
		tests/magics/test_parallel_magic.py::test_parallel_magic
	)

	epytest
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/comm-0.1.3[]
	>=dev-python/ipykernel-6.22.0[]
	>=dev-python/jupyter-core-5.3.1[]
	>=dev-python/jedi-0.19.0[]
	>=dev-python/pexpect-4.9.0[]

BDEPEND

	test? (
		>=dev-python/ipython-9.16[]
		>=dev-python/ipywidgets-8.0.5[]
		>=dev-python/jupyter-kernel-test-0.6.0[]
		>=dev-python/requests-2.29.0[]
	)