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

fix: correct dependencies and env management #315

Closed
wants to merge 10 commits into from
Closed

Conversation

jsstevenson
Copy link
Member

@jsstevenson jsstevenson commented Dec 9, 2022

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.

@jsstevenson jsstevenson requested a review from korikuzma December 9, 2022 20:36
@jsstevenson
Copy link
Member Author

....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"
Copy link
Member

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
Copy link
Member

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()
Copy link
Member

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)

@jsstevenson jsstevenson changed the title fix: dependency and env management issues fix: correct dependencies and env management Dec 10, 2022
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.

Update disease-normalizer version
2 participants