commit:     f61cfaad03fa1b60f807d6b48fffc434d47fc68b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  7 10:52:54 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec  7 10:52:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f61cfaad

dev-python/jupyter-server: Bump to 2.12.1

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

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

diff --git a/dev-python/jupyter-server/Manifest 
b/dev-python/jupyter-server/Manifest
index d8bbaed80fef..09c352741b96 100644
--- a/dev-python/jupyter-server/Manifest
+++ b/dev-python/jupyter-server/Manifest
@@ -3,4 +3,5 @@ DIST jupyter_server-2.11.0.tar.gz 710596 BLAKE2B 
61a4d4b23df22625ed0adb5c783e16e
 DIST jupyter_server-2.11.1.tar.gz 712608 BLAKE2B 
5d33f55d82bca6cb6680f2a44394c6588836e4d63ccfa9b9765582b41f46958e5ffa8949737089b2b3f9673a19c342fd64d9dd962cbecd47cc2ef697c91916c3
 SHA512 
42822a68efae6385dfd60bc9061310b7d0d38693e6af4a0e8e87b12f0bbc9d88196d1c61e0ee43da5e5fb15033a2de993f27a816bd57f3560ee798893dce90ae
 DIST jupyter_server-2.11.2.tar.gz 712617 BLAKE2B 
a52518e738869832e87e7f19929b965d207e0078fd081013b758afc9e97cc10acee06c9dd61cb4efe4f1ec5fc2b6797abc45bbc69da4be092aa005f181d335f7
 SHA512 
625975fa1982657cf048d9fa58436b3e4d7fccfb172234ac92e00db0c388924e564e553d77c863ad3dd26712e15f8244c9f088a34aa21c2b0790161e6f373e9c
 DIST jupyter_server-2.12.0.tar.gz 713113 BLAKE2B 
36cdbb4aaa678134ed93fb34f8bffae60cbd98eeaed59a57f323082fcb24dbbfb327728b93812821177d4817fd86830330b42fe5a2641a831fb72a2e5f2adb51
 SHA512 
83aa09d1618872818f21d1841a04243e0765bf0cfc1aeab8e1e32de1c3da09beffd1bf4596c5b2f29e11af7cfacf2ea64aae9b17d43cc2984d839bea80593717
+DIST jupyter_server-2.12.1.tar.gz 713271 BLAKE2B 
4f65b1ed51dfa69921455a46a2a1e4971a7608367f23a00f2360dfcea19383aae7ffb8e7d2774ae150b2b49b91b0ad2605f69d08163f7d841f086c91dbc1df51
 SHA512 
33db313bdd70673a28df1f66c8f6635f3abb00d4e939370f9026f698ce8144c5d2689aab849395d9eefbe141c0b3a5b6bf1a113b9ccb2327983ff83ea813b8f5
 DIST jupyter_server-2.9.1.tar.gz 709013 BLAKE2B 
dee0de771bb8488cccaecb49e2b4a2003f2530243013cafa7f170384380423a7c190504baabf458c59ffece28c4f60662c0530f55535dae25699be269f159743
 SHA512 
148c3eaa4b6ca1147961c1188e0016a634e5adae350e762903bdde000acde7ab62507e71dbe1278c2b9358ce2cf1c28c17ea8b184f3d4a2d59277910b5b44965

diff --git a/dev-python/jupyter-server/jupyter-server-2.12.1.ebuild 
b/dev-python/jupyter-server/jupyter-server-2.12.1.ebuild
new file mode 100644
index 000000000000..8a318a5326c5
--- /dev/null
+++ b/dev-python/jupyter-server/jupyter-server-2.12.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+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 ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+       >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}]
+       dev-python/argon2-cffi[${PYTHON_USEDEP}]
+       dev-python/jinja[${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[${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[${PYTHON_USEDEP}]
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/prometheus-client[${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[${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[${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
+}

Reply via email to