Skip to content

Commit 6264aba

Browse files
committed
new attempt: specify version unspecific python requirements
- only for myBinder to make myBinder work
1 parent 3be72c7 commit 6264aba

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

binder/info.org

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,11 @@ requirements.txt file from the pyproject.toml file automatically.
2020

2121
As a first step towards making the binder image leaner, I will stick to a definition via a Dockerfile, and leave out latex to make it smaller.
2222

23-
* Duplication between Dockerfile and ../Dockerfile
24-
25-
The general strategy will be to copy from ../Dockerfile, and comment out
26-
unneeded bits and pieces.
27-
28-
In addition, myBinder would like creation of a user with UID 1000, which is added to the Dockerfile here.
29-
23+
This didn't go so well.
3024

25+
Next attempt: specifying the packages we need in requirements.txt directly. It's
26+
not ideal, as we don't run tests on the particular versions, and we duplicate
27+
some effort from ../pyproject.toml here in reqiuirements.txt. On the positive
28+
side, Binder start-up time could be much smaller (and Binder work at all).
3129

3230

binder/postBuild

Lines changed: 0 additions & 3 deletions
This file was deleted.

binder/requirements.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
poetry
1+
numpy
2+
scipy
3+
sympy
4+
matplotlib
5+
pandas
6+
ipython
7+
pytest

0 commit comments

Comments
 (0)