commit:     98a033187e0fee040c7bbb81d3431ed8883c7db4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 04:16:06 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 04:44:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98a03318

dev-python/jupyter-server: Bump to 2.14.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jupyter-server/Manifest                 |  1 +
 .../jupyter-server/jupyter-server-2.14.2.ebuild    | 75 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/dev-python/jupyter-server/Manifest 
b/dev-python/jupyter-server/Manifest
index fc1a06866101..3f3470dac17e 100644
--- a/dev-python/jupyter-server/Manifest
+++ b/dev-python/jupyter-server/Manifest
@@ -1 +1,2 @@
 DIST jupyter_server-2.14.1.tar.gz 719107 BLAKE2B 
2b38fbc709346bdb8c2734dd5f22cf958f0555660af0df23b08b6af8b3dee9130daa0538b7e78c5a0c63d66511a973babbb544c638d1aed267368ebba7d10c36
 SHA512 
1770fe0fc34c164952a74b75bf765fc737ab59cc52c04f61c0a28d5f6c747587ddee4c6cd3dcb90e2ccb72029d0f52de321569ed7a55bddbad50326e728b53fd
+DIST jupyter_server-2.14.2.tar.gz 719933 BLAKE2B 
2d8a8a283b394ceaabde14b2a997fc71d7dccc80a284ef7770d948634e48c8689c8393c77992d685abd7d8766b8608cfd279a47b5cc9569b6f6c98d416f284c8
 SHA512 
ea8fbf93c1bafcdb77c95cc65e2e7c6e9d010add7fb8b2b1d4538f415c4b39a89cf18a58795da05dd41a838fc1057fadde3f68d9bc73d532aec76ae5cab357a7

diff --git a/dev-python/jupyter-server/jupyter-server-2.14.2.ebuild 
b/dev-python/jupyter-server/jupyter-server-2.14.2.ebuild
new file mode 100644
index 000000000000..f3b40005cedc
--- /dev/null
+++ b/dev-python/jupyter-server/jupyter-server-2.14.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..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/jinja-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.9.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-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 \
+               -o tmp_path_retention_policy=all
+}

Reply via email to