Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 34aa043

Browse files
speediedanBorda
andauthored
adjust papermill for v2.3.4 (#137)
* adjust papermill references for the release of 2.3.4 and ensure the latest version is used in reqs Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
1 parent d048fa4 commit 34aa043

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.actions/assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def bash_render(folder: str) -> str:
320320
else:
321321
cmd.append(f"# available: {AssistantCLI.DEVICE_ACCELERATOR}\n")
322322
if AssistantCLI._valid_accelerator(folder):
323-
cmd.append(f"python -m papermill.cli {ipynb_file} {pub_ipynb} --kernel python")
323+
cmd.append(f"python -m papermill {ipynb_file} {pub_ipynb} --kernel python")
324324
else:
325325
warn("Invalid notebook's accelerator for this device. So no outputs will be generated.", RuntimeWarning)
326326
cmd.append(f"cp {ipynb_file} {pub_ipynb}")

.azure/ipynb-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- bash: |
6565
set -e
6666
python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu > 0, f'GPU: {mgpu}'"
67-
python -m papermill.cli --version
67+
python -m papermill --version
6868
displayName: 'Sanity check'
6969
7070
- bash: |

requirements/devel.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ virtualenv
22
jupytext # converting
33
pytest>=6.0
44
nbval # testing
5-
papermill # render
5+
papermill>=2.3.4 # render
66
black
77
flake8
88
isort

0 commit comments

Comments
 (0)