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
Implement dev container for Codespaces #1836
Conversation
Codecov ReportBase: 90.42% // Head: 90.42% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #1836 +/- ##
=======================================
Coverage 90.42% 90.42%
=======================================
Files 142 142
Lines 11097 11097
=======================================
Hits 10034 10034
Misses 1063 1063 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
.devcontainer/devcontainer.json
Outdated
{ | ||
"name": "Python 3", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"image": "mcr.microsoft.com/devcontainers/python:0-3.8", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might want python 3.10 though
.devcontainer/Dockerfile
Outdated
COPY . . | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install "https://storage.googleapis.com/jax-releases/nocuda/jaxlib-0.4.1-cp310-cp310-manylinux2014_x86_64.whl" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you install mambaforge, mamba install scvi tools, then pip editable install?
.devcontainer/devcontainer.json
Outdated
"extensions": [ | ||
"EditorConfig.EditorConfig", | ||
"ms-python.python", | ||
"mhutchie.git-graph" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually let's do git lens instead of git graph, as it comes with a graph
Closes #1835