Commit 3d78e00
committed
Fix Binder build: replace postBuild with requirements.txt
The mybinder.org build failed with "No environment specification
found": repo2docker only treats postBuild as a build step when an
environment specification file (requirements.txt, environment.yml,
pyproject.toml at the repo root, ...) is also present, and this repo
declares dependencies via [tool.poetry], which repo2docker does not
recognize as a specification.
Use .binder/requirements.txt with a single ".[jupyter]" line instead:
it is both the environment specification and the package install, so
the separate postBuild hook is no longer needed. Verified that
`pip install -r .binder/requirements.txt` in a clean venv installs
warpfactory 0.1.0 with ipywidgets.1 parent 35e1737 commit 3d78e00
2 files changed
Lines changed: 3 additions & 6 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments