-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix: correct dependencies and env management #315
Conversation
....uh, no idea what is going on with the CI checks |
@@ -13,7 +13,7 @@ boto3 = "*" | |||
|
|||
[dev-packages] | |||
thera-py = {editable = true, path = "."} | |||
disease-normalizer = "==0.2.15" | |||
disease-normalizer = "~=0.2.16" |
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.
Should also do the same for ga4gh.vrsatile.pydantic!
@@ -30,7 +30,7 @@ test = | |||
pytest-cov | |||
|
|||
dev = | |||
disease-normalizer == 0.2.15 | |||
disease-normalizer ~=0.2.16 |
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.
Same comment as above, do the same for ga4gh.vrsatile.pydantic
@@ -79,6 +79,8 @@ def update_normalizer_db(normalizer: str, aws_instance: str, db_url: str, | |||
environ[AWS_ENV_VAR_NAME] = aws_env_name | |||
confirm_aws_db_use(aws_env_name.upper()) | |||
environ[SKIP_AWS_DB_ENV_NAME] = "true" # this is already checked above | |||
endpoint_url = "" | |||
db = Database() |
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.
You could either delete this + move line 91 outside the else condition or you can change line 83 to db = Database(db_url=endpoint_url)
close #311. Also handle some other dependency compatibility issues and the main errors in #314 (but leaving that issue open to add documentation/maybe tweak CLI options). Also add the GtoP data extraction update that was merged to the dev branch earlier.