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

datahub dependencies are staged incorrectly #5117

Open
ryanlovett opened this issue Oct 8, 2023 · 2 comments
Open

datahub dependencies are staged incorrectly #5117

ryanlovett opened this issue Oct 8, 2023 · 2 comments
Assignees
Labels

Comments

@ryanlovett
Copy link
Collaborator

Bug description

Python packages from environment.yml, infra-requirements.txt, and requirements.txt are installed in different stages in Dockerfile. As a result, a package included in, and installed by environment.yml may be upgraded by requirements.txt later, even if it is not explicitly included in the latter.

For example numpy is set to 1.21.* in environment.yml but is being upgraded to 1.25 when requirements.txt is evaluated. We should integrate infra-requirements.txt and requirements.txt directly into environment.yml so that the resolver sees everything at once.

Environment & setup

  • Hub: datahub
  • Language: python

How to reproduce

  1. Read environment.yml
  2. Check the version of numpy installed in datahub
  3. Look at CI and see how numpy is being upgraded later.
@shaneknapp
Copy link
Contributor

shaneknapp commented Oct 8, 2023 via email

@shaneknapp
Copy link
Contributor

fwiw this just bit us (me) hard on the publichealth hub... #5190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants