-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pin hail-notebook dependencies to remove psycopg2 issue (#125)
* Install psycopg2-binary earlier in the image build Try to trick `hgvs>=1.4->ga4gh.vrs[extras]==0.8.4->gnomad` into thinking psycopg2 is already installed * Install manually from frozen pip * Update README --------- Co-authored-by: Michael Franklin <illusional@users.noreply.github.com>
- Loading branch information
1 parent
2ad8589
commit d33363f
Showing
4 changed files
with
593 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Hail GCP Notebook | ||
|
||
|
||
HGVS has this akward psycopg2 dependency which we won't use in the image, and the binary equivalent (`psycopg2-binary`) is already installed. | ||
|
||
The `requirements.in` specifies the high level requirements we want to install - `pip-compile` resolves this into a complete list (effectively a `pip freeze`), we remove `psycopg2` specifically, and use that to install with `--no-deps`. | ||
|
||
```bash | ||
pip install pip-tools | ||
|
||
# update / freeze deps | ||
pip-compile | grep -v "psycopg2==" > requirements.txt | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
analysis-runner | ||
bokeh | ||
cloudpathlib[all] | ||
cpg-utils | ||
gnomad | ||
pyarrow | ||
metamist | ||
selenium==3.8.0 |
Oops, something went wrong.