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

create a test notebook to reduce import errors #112

Closed
jreiberkyle opened this issue Apr 7, 2020 · 2 comments · Fixed by #118
Closed

create a test notebook to reduce import errors #112

jreiberkyle opened this issue Apr 7, 2020 · 2 comments · Fixed by #118
Assignees

Comments

@jreiberkyle
Copy link
Contributor

create a test notebook that imports all the libraries used in this repo that can be run every time the docker image is changed to reduce the number of uncaught import errors (e.g. #110)

@jreiberkyle jreiberkyle self-assigned this Apr 7, 2020
@jreiberkyle
Copy link
Contributor Author

jreiberkyle commented Apr 21, 2020

This is being blocked on an issue I am having where one computer cannot build the docker image, the other can build it. Both are trying to build against the master branch, both use docker build --no-cache -t planet-notebooks:test .. Failing system is docker desktop 2.2.0.3, OSX 10.15.3. Successful system is docker desktop 2.2.0.5, OSX 10.14.6. Both on the same network.

Failed build end of log:

Step 6/9 : RUN conda config --set channel_priority strict &&     conda install -y -c conda-forge --file /tmp/requirements.txt
 ---> Running in 01d54cf7c913
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... Killed
The command '/bin/sh -c conda config --set channel_priority strict &&     conda install -y -c conda-forge --file /tmp/requirements.txt' returned a non-zero code: 137

Succeeded build step 6/9:

Step 6/9 : RUN conda config --set channel_priority strict &&     conda install -y -c conda-forge --file /tmp/requirements.txt
 ---> Running in 0f6b58123455
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... done

@jreiberkyle
Copy link
Contributor Author

jreiberkyle commented Apr 21, 2020

Tried:

  • run docker system prune -a on failing system, still fails
  • run docker system prune -a on succeeding system, still succeeds
  • update docker to 2.2.0.5 on failing system, whoa worked! details =>

Step 6/9 (which failed before):

Step 6/9 : RUN conda config --set channel_priority strict &&     conda install -y -c conda-forge --file /tmp/requirements.txt
 ---> Running in 1b1cdc7a3aa5
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... done

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 a pull request may close this issue.

1 participant