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

Add pip install tests to terra-jupyter-python. #286

Merged
merged 10 commits into from
Dec 21, 2021
Merged

Add pip install tests to terra-jupyter-python. #286

merged 10 commits into from
Dec 21, 2021

Conversation

deflaux
Copy link
Member

@deflaux deflaux commented Dec 21, 2021

Added new tests to demonstrate:

  1. that new Python packages can be installed via pip <-- works
  2. that new Python packages compiled from source can be installed via pip <--- won't work till after issues with pip install when building library from source for terra-jupyter-gatk img  #285 is fixed, the final assertion is commented out for now

Also fixes some test breakage:

  • address tensorflow 2.6 test failures by
    • pinning the package version of Keras
    • ensuring that the installation of pytest does not upgrade pyparsing
  • fix test auth failures by updating to the latest gcloud github actions

@deflaux
Copy link
Member Author

deflaux commented Dec 21, 2021

Note that the test failure in terra-jupyter-base has nothing to do with this change - I only added a comment to the Dockerfile. The test failures there will be addressed with the upgrade to tensorflow 2.7 in #281

Copy link
Collaborator

@Qi77Qi Qi77Qi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is more for fixing tests...no need to publish new images

@Qi77Qi Qi77Qi merged commit b9e55d4 into master Dec 21, 2021
@Qi77Qi Qi77Qi deleted the nd-fix-tests branch December 21, 2021 17:39
"source": [
"output = !pip3 show docstring-parser\n",
"print(output) # Should show that it is now installed!\n",
"# TODO uncomment this test after https://github.com/DataBiosphere/terra-docker/issues/285\n",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uncomment this after #285 to re-enable the failing test.

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.

2 participants