Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayThorve committed Mar 7, 2024
1 parent 460096e commit 0df74c6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci/test_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ set +e

rapids-logger "pytest jupyterlab-nvdashboard"
# Start JupyterLab in the background
jupyter lab --no-browser --port=8888 --NotebookApp.token='' --NotebookApp.password='' &
python -m jupyterlab --no-browser --port=8888 --NotebookApp.token='' --NotebookApp.password='' &
JUPYTER_PID=$!
JUPYTER_PLATFORM_DIRS=1 python -m pytest
# Shut down JupyterLab
Expand Down
2 changes: 1 addition & 1 deletion ci/test_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set +e

rapids-logger "pytest jupyterlab-nvdashboard"
# Start JupyterLab in the background
jupyter lab --no-browser --port=8888 --NotebookApp.token='' --NotebookApp.password='' &
python -m jupyterlab --no-browser --port=8888 --NotebookApp.token='' --NotebookApp.password='' &
JUPYTER_PID=$!
JUPYTER_PLATFORM_DIRS=1 python -m pytest
# Shut down JupyterLab
Expand Down
2 changes: 2 additions & 0 deletions conda/environments/all_arch-any.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ dependencies:
- psutil
- pynvml
- pytest
- pytest-asyncio
- pytest-jupyter[server]>=0.6.0
- python>=3.8
- websockets
name: all_arch-any
2 changes: 2 additions & 0 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,5 @@ dependencies:
packages:
- pytest
- pytest-jupyter[server]>=0.6.0
- pytest-asyncio
- websockets
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ dynamic = ["version", "description", "authors", "urls", "keywords"]
[project.optional-dependencies]
test = [
"pytest",
"pytest-asyncio",
"pytest-jupyter[server]>=0.6.0",
"websockets",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.

[tool.hatch.version]
Expand Down Expand Up @@ -85,7 +87,7 @@ version_cmd = "hatch version"
before-build-npm = [
"python -m pip install 'jupyterlab>=4.0.0,<5'",
"jlpm",
"jlpm build:prod"
"jlpm build:prod",
]
before-build-python = ["jlpm clean:all"]

Expand Down

0 comments on commit 0df74c6

Please sign in to comment.