Skip to content
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

Repo2docker dask fixes #49

Merged
merged 5 commits into from
May 23, 2019
Merged

Repo2docker dask fixes #49

merged 5 commits into from
May 23, 2019

Conversation

scottyhq
Copy link
Member

hopefully fixes #47 and #48

Copy link
Member

@jhamman jhamman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Can we add a test to check that the config is ending up where we want it to? See base-notebook/binder/tests/test_dask_env.py

@@ -11,7 +11,7 @@ dependencies:
- dask-kubernetes>=0.8.0
- nbserverproxy
- ipywidgets
- graphviz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to try this again but I have a seem to remember this not working in a recent test. We'll see.

@@ -46,10 +47,10 @@ def apply_environment():
def apply_requirements():
req_path = binder_path('requirements.txt')
env_path = binder_path('environment.yml')

NB_PYTHON_PREFIX=os.environ['NB_PYTHON_PREFIX']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: (here and above), can you add a space around the =?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. added tests, including checking currently pinned versions - could be more sophisticated, but i think is good for now

@scottyhq scottyhq merged commit 0425c2d into pangeo-data:master May 23, 2019
@jhamman
Copy link
Member

jhamman commented May 24, 2019

@scottyhq - you may want to check out this: jupyterhub/repo2docker#690

@scottyhq scottyhq deleted the repo2docker-dask-fixes branch February 14, 2020 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

onbuild environment.yml going to /srv/conda instead of /srv/conda/envs/notebook
2 participants