Skip to content

Conversation

@jmarshall
Copy link
Contributor

We need to build a new driver image containing cpg-utils 5.4.1, i.e., the corrected two-argument image_path() as per populationgenomics/cpg-utils#185.

As an excuse to build a new image, this PR collects some miscellaneous minor fixes. Most notably, the hail build leaves 1.3Gb of cached maven, mill, and pip dependencies in /root/.cache, and the GCP SDK installation leaves a script in /tmp/tmp.RANDOMHASH.

No need to access this field directly, as an API function was added
for the purpose back in Hail 0.2.121.
Quote metacharacters to avoid redirecting pip output to /=3.8.0 oops.
Remove 1.3Gb of build cache from the image. Avoid obsolete ENV syntax.
@jmarshall jmarshall requested a review from a team July 22, 2025 02:29
Copy link
Contributor

@dancoates dancoates 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, just one small note

statsmodels
'selenium>=3.8.0' \
statsmodels && \
rm -rf /root/.cache /tmp/tmp*
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be good to add a comment here describing what these cache files are and why they should be deleted.

@jmarshall jmarshall merged commit d437311 into main Jul 22, 2025
7 of 10 checks passed
@jmarshall jmarshall deleted the misc branch July 22, 2025 03:10
@jmarshall
Copy link
Contributor Author

D'oh… Should have done a bumpversion if I wanted the tiny server/ar.py change to get deployed via a new PyPI package. Nevermind, there's no behaviour change anyway so it can just come along for the ride next time this code actually gets updated.

(And it turns out the deploy_server action is workflow-dispatch-only, not also on pushes to main…)

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.

3 participants