kopia lustrzana https://github.com/jupyterhub/repo2docker
Add test for environment.yml + --target-repo-dir
conda sometimes puts stuff in $HOME - specifically under .conda/ - that might cause package installs to fail due to permission mismatches. Ref https://github.com/jupyter/repo2docker/issues/604pull/603/head
rodzic
92239e20c3
commit
e0fcd4a55d
|
@ -0,0 +1,2 @@
|
||||||
|
dependencies:
|
||||||
|
- numpy
|
|
@ -7,4 +7,7 @@ assert sys.executable == '/srv/conda/bin/python'
|
||||||
|
|
||||||
# Repo should be in /srv/repo
|
# Repo should be in /srv/repo
|
||||||
assert os.path.exists('/srv/repo/verify')
|
assert os.path.exists('/srv/repo/verify')
|
||||||
assert os.path.abspath(__file__) == '/srv/repo/verify'
|
assert os.path.abspath(__file__) == '/srv/repo/verify'
|
||||||
|
|
||||||
|
# We should be able to import the package in environment.yml
|
||||||
|
import numpy
|
Ładowanie…
Reference in New Issue