Skip to content

Remove conda in favour of plain debian packages and uv - #84

Merged
aethr merged 6 commits into
docker-nonroot-userfrom
dockerfile-trixie
Sep 1, 2026
Merged

aethr merged 6 commits into
docker-nonroot-userfrom
dockerfile-trixie

Conversation

@aethr

@aethr aethr commented Aug 18, 2026 •

Copy link
Copy Markdown

Description

Important: docker-wrf #2 is merged, so this is ready to go.

This PR removes conda environment.yml and the conda-based Dockerfile which was providing runtime dependencies for conda-based openmethane/WRF binaries and binaries used by setup-wrf such as wgrib2. Once docker-wrf #2 lands, which removes conda from that container in favour of plain debian packages, most of the conda environment in this repo will no longer be needed.

The docker image is updated to use the debian trixie-based openmethane/wrf image as a base, builds wgrib2 from source (no debian package), and installs the setup-wrf python code and dependencies via uv.

Checklist

Please confirm that this pull request has done the following:

  • Tests added
  • Documentation added (where applicable)
  • Changelog item added to changelog/

Notes

CI is failing due to the ghcr.io/openmethane/wrf:4.5.1 base image still being the old conda-based environment. Once docker-wrf #2 is merged and released, CI must be re-run.

@aethr aethr self-assigned this Aug 18, 2026
aethr added a commit that referenced this pull request Aug 18, 2026
@aethr
aethr marked this pull request as draft August 19, 2026 00:04
@aethr
aethr changed the base branch from main to docker-nonroot-user August 19, 2026 00:04
aethr added a commit that referenced this pull request Aug 20, 2026
@aethr
aethr force-pushed the dockerfile-trixie branch from 8204222 to a44895d Compare August 20, 2026 02:06
aethr added a commit that referenced this pull request Aug 20, 2026
@aethr
aethr force-pushed the dockerfile-trixie branch from a44895d to 38881d2 Compare August 20, 2026 02:23
@aethr
aethr force-pushed the dockerfile-trixie branch from 38881d2 to 106c9f1 Compare August 27, 2026 22:49
@aethr
aethr marked this pull request as ready for review August 27, 2026 23:12
@aethr
aethr requested a review from prayner August 27, 2026 23:12
This means we don't have to track dependencies for WRF, only dependencies for what's needed by this repo's scripts.
This was previously pulled from conda, and isn't currently available in debian repos.
When mounting the working directory under /app in the container for testing, the .venv folders gets included as well, which is dangerous since the virtual env is specific to the environment. This prevents the local .venv from clobbering the .venv built for the docker container.
@aethr
aethr force-pushed the dockerfile-trixie branch from 106c9f1 to 717450d Compare September 1, 2026 02:27
@aethr
aethr merged commit 2292983 into main Sep 1, 2026
7 checks passed
@aethr
aethr deleted the dockerfile-trixie branch September 1, 2026 03:36
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