Skip to content

fix(Dockerfile): Remove old libraries#749

Merged
MattWellie merged 1 commit intomainfrom
remove_old_ar_libraries
Mar 30, 2026
Merged

fix(Dockerfile): Remove old libraries#749
MattWellie merged 1 commit intomainfrom
remove_old_ar_libraries

Conversation

@MattWellie
Copy link
Copy Markdown
Contributor

Removes two libraries from the analysis-runner hail(python base) image:

  • sample-metadata: this has been replaced by metamist for years, and metamist is already installed as part of this command. This combined installation will try and find versions of shared dependencies between the latest and greatest, and the deprecated old codebase still on pypi.
  • cpg-workflows: this isn't a necessary dependency. production-pipelines workflows don't use the naked analysis-runner image, they use(d) the cpg-workflows image. We have also almost entirely migrated off that codebase, so would be using cpg-flow based workflows instead.

Fun example of why these should be removed - CPG-Flow replaces cpg-workflows, and CPG-Flow builds a docker image to test workflow logic changes. That image here builds upon this base image, which installs its predecessor. We can test the old and busted alongside the new hotness, which is bloat, as well as potentially some misleading success/failure modes

@MattWellie MattWellie requested a review from a team as a code owner March 30, 2026 02:44
Copy link
Copy Markdown
Contributor

@nevoodoo nevoodoo left a comment

Choose a reason for hiding this comment

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

Makes sense

@MattWellie MattWellie merged commit 55e11e0 into main Mar 30, 2026
6 of 10 checks passed
@MattWellie MattWellie deleted the remove_old_ar_libraries branch March 30, 2026 03:02
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