mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 00:08:05 +03:00
dev-python/jupyter-server: Bump to 2.16.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST jupyter_server-2.15.0.tar.gz 725227 BLAKE2B da7b0106de95aa2dd3abed6d89e768a8beed1377b6a5dd0f6f9d79cd5c22cfe1259279be34771f48065ce618ae5de61ff1376a30af6c2085c481eecdec0b0d62 SHA512 96d5cf536c0ac242c86f20d0c18662f544d8d6b7a11a3fd06e473205fa597da02333f2064ffc9440ffd177c916dd37b3c608a623c35443e67663768aae97f0fc
|
||||
DIST jupyter_server-2.16.0.tar.gz 728177 BLAKE2B 4a508114057b2e54cc62e794ab8dee8934caea0bf4335928c0586190dc9cf46c9825cd006d5ae35ac82207b00e93f3edd11e45dbeaeba1baadacf472e6e6ec6b SHA512 75cce8d69a57ba5792184d16b53a75e3b83f67222ce8a3f9a7091aa0f452621d9914d639731b8497f5baf92176c405736cac6b5bf7a383e8e3523a67f738fb3c
|
||||
|
||||
77
dev-python/jupyter-server/jupyter-server-2.16.0.ebuild
Normal file
77
dev-python/jupyter-server/jupyter-server-2.16.0.ebuild
Normal file
@@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications"
|
||||
HOMEPAGE="
|
||||
https://jupyter.org/
|
||||
https://github.com/jupyter-server/jupyter_server/
|
||||
https://pypi.org/project/jupyter-server/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/anyio-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/argon2-cffi-21.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja2-3.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-client-7.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-server-terminals-0.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-events-0.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/overrides-5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-22.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prometheus-client-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-24[${PYTHON_USEDEP}]
|
||||
>=dev-python/send2trash-1.8.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/terminado-0.8.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/tornado-6.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-1.7[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-console-scripts[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-jupyter-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-tornasync[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# This fails if your terminal is zsh (and maybe other non-bash as well?)
|
||||
tests/test_terminal.py
|
||||
# Fails because above is ignored
|
||||
tests/auth/test_authorizer.py
|
||||
# Fails with additional extensions installed
|
||||
tests/extension/test_app.py::test_stop_extension
|
||||
)
|
||||
|
||||
# FIXME: tests seem to be affected by previously installed version
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest \
|
||||
-p pytest_tornasync.plugin \
|
||||
-p jupyter_server.pytest_plugin \
|
||||
-p pytest_console_scripts \
|
||||
-p pytest_timeout \
|
||||
-p pytest_rerunfailures --reruns=5 \
|
||||
-o tmp_path_retention_policy=all
|
||||
}
|
||||
Reference in New Issue
Block a user