Skip to content

Commit ffde5a0

Browse files
committed
Use pre-install command to install jupyter_client
1 parent 994cded commit ffde5a0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies = [
3030
"anyio>=3.1.0",
3131
"argon2-cffi",
3232
"jinja2",
33-
"jupyter_client@git+https://github.com/davidbrochart/jupyter_client#egg=external-kernels",
33+
"jupyter_client>=7.4.4",
3434
"jupyter_core>=4.12,!=5.0.*",
3535
"jupyter_server_terminals",
3636
"nbconvert>=6.4.4",
@@ -90,16 +90,16 @@ docs = [
9090
[project.scripts]
9191
jupyter-server = "jupyter_server.serverapp:main"
9292

93-
[tool.hatch.metadata]
94-
allow-direct-references = true
95-
9693
[tool.hatch.envs.docs]
9794
features = ["docs"]
9895
[tool.hatch.envs.docs.scripts]
9996
build = "make -C docs html SPHINXOPTS='-W'"
10097
api = "sphinx-apidoc -o docs/source/api -f -E jupyter_server */terminal jupyter_server/pytest_plugin.py"
10198

10299
[tool.hatch.envs.test]
100+
pre-install-commands = [
101+
"pip install jupyter_client@git+https://github.com/davidbrochart/jupyter_client#egg=external-kernels"
102+
]
103103
features = ["test"]
104104
[tool.hatch.envs.test.scripts]
105105
test = "python -m pytest -vv {args}"
@@ -112,6 +112,9 @@ dependencies = [ "mypy>=0.990" ]
112112
test = "mypy --install-types --non-interactive {args:.}"
113113

114114
[tool.hatch.envs.cov]
115+
pre-install-commands = [
116+
"pip install jupyter_client@git+https://github.com/davidbrochart/jupyter_client#egg=external-kernels"
117+
]
115118
features = ["test"]
116119
dependencies = ["coverage[toml]", "pytest-cov"]
117120
[tool.hatch.envs.cov.scripts]

0 commit comments

Comments
 (0)