-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update jupyter:latest
to python:v2
#1572
Conversation
@@ -74,7 +74,7 @@ This removes any code blocks in the notebook from the rendered html; to keep the | |||
To run this within an OpenSAFELY action, you can use the following run command: | |||
|
|||
``` | |||
run: jupyter:latest jupyter nbconvert /workspace/analysis/notebook.ipynb --execute --to html --output-dir=/workspace/output --no-input --ExecutePreprocessor.timeout=86400 | |||
run: python:v2 jupyter nbconvert /workspace/analysis/notebook.ipynb --execute --to html --output-dir=/workspace/output --no-input --ExecutePreprocessor.timeout=86400 | |||
``` | |||
|
|||
Refer to an [example of this, implemented as an OpenSAFELY action](https://github.com/opensafely/mechanical-valve-anticoag/blob/1f158504ba5a74470b11c8d73311fb2859d67cb7/project.yaml#L53-L63). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought: Arguably, we should change this link to another example too, because it uses jupyter:latest
.
There aren't any examples that use python:v2
.
There is at least one that uses python:latest
, although the actual example is simpler (notebook creates a single HTML output) compared with the example linked here (notebook creates multiple kinds of outputs).
We could address this here, but I also opened #1573 to record this case and others in the documentation.
Deploying opensafely-docs with Cloudflare Pages
|
6462762
to
c2bb787
Compare
Including mentioning `python:v2`.
c2bb787
to
900dd18
Compare
Fixes #1571.