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

Use pip to manage Python dependencies #129

Merged

Conversation

ian-noaa
Copy link
Collaborator

@ian-noaa ian-noaa commented Jul 6, 2023

We were previously installing OS-vendored versions of our Python dependencies as that was easiest when on Alpine and dealing with musl. We're now on a Debian-base image so pip packages will be well-tested, compatible, and more up-to-date than the OS-vendored ones.

Switch METcalcpy to install from pip. Previously we were installing from their "develop" GitHub branch as official pypi packages weren't available. Official releases should be more stable now that they're available.

I also added g++ and build-essentials to the image to support ARM/Apple Silicon builds.

We were previously installing OS-vendored versions of our Python
dependencies as that was easiest when on Alpine and dealing with
musl. We're now on a Debian-base image so pip packages will be well
tested and compatible.

Switch METcalcpy to install from pip. Previously we were installing
from their "develop" GitHub branch as official pypi packages weren't
available. Official releases should be more stable now that they're
available.

I also added g++ and build-essentials to support ARM/Apple Silicon
builds.
@ian-noaa ian-noaa self-assigned this Jul 6, 2023
Copy link
Collaborator

@mollybsmith-noaa mollybsmith-noaa left a comment

Choose a reason for hiding this comment

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

Looks good.

@ian-noaa ian-noaa merged commit 434770a into development Jul 7, 2023
22 checks passed
@ian-noaa ian-noaa deleted the 128-update-container-image-to-address-vulnerabilities branch July 7, 2023 18:34
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