From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter-server/
Date: Tue, 14 Nov 2023 00:38:59 +0000 (UTC) [thread overview]
Message-ID: <1699922262.411f842c3741974aaf7e5a7e39121e7bc2a71afb.sam@gentoo> (raw)
commit: 411f842c3741974aaf7e5a7e39121e7bc2a71afb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 14 00:37:42 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 00:37:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=411f842c
dev-python/jupyter-server: add dev-python/hatch-jupyter-builder BDEPEND
Earlier versions seem to need this too but dev-python/hatch-jupyter-builder lacks
keywords so easier to do latest & drop kws there for rekeywording.
Reported by matoro:
```
gpep517 build-wheel --prefix=/usr --backend hatchling.build --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/jupyter-server-2.10.0/work/jupyter_server-2.10.0-python3_11/wheel
2023-11-13 17:04:41,100 gpep517 INFO Building wheel via backend hatchling.build
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.11/gpep517", line 4, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 425, in main
return func(args)
^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 215, in build_wheel
print(build_wheel_impl(args, args.wheel_dir), file=out)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 207, in build_wheel_impl
wheel_name = backend.build_wheel(str(wheel_dir), args.config_json)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/hatchling/build.py", line 56, in build_wheel
return os.path.basename(next(builder.build(wheel_directory, ['standard'])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/hatchling/builders/plugin/interface.py", line 119, in build
configured_build_hooks = self.get_build_hooks(directory)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/hatchling/builders/plugin/interface.py", line 384, in get_build_hooks
raise UnknownPluginError(message)
hatchling.plugin.exceptions.UnknownPluginError: Unknown build hook: jupyter-builder
* ERROR: dev-python/jupyter-server-2.10.0::gentoo failed (compile phase):
* Wheel build failed
```
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../jupyter-server/jupyter-server-2.10.0-r1.ebuild | 75 ++++++++++++++++++++++
1 file changed, 75 insertions(+)
diff --git a/dev-python/jupyter-server/jupyter-server-2.10.0-r1.ebuild b/dev-python/jupyter-server/jupyter-server-2.10.0-r1.ebuild
new file mode 100644
index 000000000000..ab980ad2bfbf
--- /dev/null
+++ b/dev-python/jupyter-server/jupyter-server-2.10.0-r1.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=( 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 ~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.6.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
+}
next reply other threads:[~2023-11-14 0:39 UTC|newest]
Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-14 0:38 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-07 12:45 [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter-server/ Michał Górny
2025-01-04 15:00 Michał Górny
2025-01-04 14:13 Sam James
2024-12-21 8:31 Michał Górny
2024-07-27 9:44 Michał Górny
2024-07-27 6:49 Arthur Zamarin
2024-07-13 4:46 Michał Górny
2024-07-12 10:36 Michał Górny
2024-06-15 8:42 Michał Górny
2024-06-15 8:40 Arthur Zamarin
2024-05-31 4:22 Michał Górny
2024-04-27 8:26 Michał Górny
2024-04-27 6:53 Michał Górny
2024-04-12 3:35 Michał Górny
2024-03-22 4:38 Michał Górny
2024-03-21 20:42 Arthur Zamarin
2024-03-04 14:52 Michał Górny
2024-02-17 21:17 Sam James
2024-02-03 19:09 Sam James
2024-02-03 10:59 Sam James
2024-02-03 10:54 Sam James
2024-02-03 10:46 Sam James
2024-02-03 10:11 Arthur Zamarin
2024-02-03 8:42 Arthur Zamarin
2024-01-19 5:10 Michał Górny
2024-01-19 5:10 Michał Górny
2024-01-18 19:48 Sam James
2024-01-17 2:46 Ionen Wolkens
2024-01-16 19:22 Michał Górny
2024-01-11 15:24 Michał Górny
2024-01-10 4:42 Michał Górny
2024-01-04 4:35 Michał Górny
2023-12-30 14:32 Michał Górny
2023-12-30 14:25 Arthur Zamarin
2023-12-22 5:14 Ionen Wolkens
2023-12-15 15:50 Arthur Zamarin
2023-12-15 10:30 Arthur Zamarin
2023-12-08 19:51 Arthur Zamarin
2023-12-07 11:58 Michał Górny
2023-12-06 6:51 Michał Górny
2023-12-05 7:33 Arthur Zamarin
2023-12-02 20:28 Sam James
2023-12-02 9:38 Arthur Zamarin
2023-11-28 5:26 Michał Górny
2023-11-21 19:05 Michał Górny
2023-11-20 15:02 Michał Górny
2023-11-15 17:10 Michał Górny
2023-11-15 16:34 Arthur Zamarin
2023-11-15 14:46 Michał Górny
2023-11-14 1:38 Sam James
2023-11-13 17:41 Michał Górny
2023-10-26 13:37 Michał Górny
2023-10-25 9:05 Michał Górny
2023-10-25 7:43 Michał Górny
2023-10-25 7:03 Arthur Zamarin
2023-10-25 5:54 Michał Górny
2023-10-24 19:23 Arthur Zamarin
2023-10-24 19:15 Arthur Zamarin
2023-10-24 18:44 Michał Górny
2023-10-24 17:51 Michał Górny
2023-10-16 13:56 Michał Górny
2023-10-03 7:20 Arthur Zamarin
2023-10-03 5:38 Arthur Zamarin
2023-10-03 1:55 Sam James
2023-09-26 15:23 Arthur Zamarin
2023-09-08 18:50 Arthur Zamarin
2023-09-07 20:16 Sam James
2023-08-31 13:22 Michał Górny
2023-08-20 16:04 Michał Górny
2023-08-05 12:37 Arthur Zamarin
2023-07-24 20:04 WANG Xuerui
2023-07-24 11:01 Jakov Smolić
2023-07-21 14:50 Arthur Zamarin
2023-07-21 13:05 Arthur Zamarin
2023-07-21 11:41 Arthur Zamarin
2023-07-21 7:25 Andrew Ammerlaan
2023-04-28 15:41 Michał Górny
2023-04-28 15:24 Arthur Zamarin
2023-03-29 13:34 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1699922262.411f842c3741974aaf7e5a7e39121e7bc2a71afb.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox