Skip to content

MNT: add first-class uv support for install and development - #393

Draft
syedhamidali wants to merge 1 commit into
openradar:mainfrom
syedhamidali:feat/uv-installation
Draft

MNT: add first-class uv support for install and development#393
syedhamidali wants to merge 1 commit into
openradar:mainfrom
syedhamidali:feat/uv-installation

Conversation

@syedhamidali

@syedhamidali syedhamidali commented Jul 19, 2026

Copy link
Copy Markdown
Member
  • Changelog entry intentionally omitted until this is merged (uv is not yet released)

Summary

Adds first-class uv support for installing and developing xradar:

  • commit a uv.lock for reproducible dev environments (uv sync --extra dev)
  • document uv install + dev workflows in installation.md and CONTRIBUTING.md
  • run the CI lint job via astral-sh/setup-uv (SHA-pinned) instead of pip

Scope

This is a measured first step toward the CI tooling discussion in #381 — it adds uv where it's a clean win (install, dev env, lint) while keeping the conda/micromamba test matrix as-is, since the scientific binary stack (netCDF4, h5py, xarray-dev) is still resolved via conda-forge. Happy to extend uv further, or move toward pixi, depending on where #381 lands.

Notes

  • pyproject.toml is unchanged — uv reads the existing project metadata and the dynamic dev extra directly.
  • Verified uv sync --extra dev builds a working env (xradar imports, tests pass).

@syedhamidali
syedhamidali force-pushed the feat/uv-installation branch 2 times, most recently from 4196eb6 to c2441c2 Compare July 19, 2026 09:45
@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.23%. Comparing base (7b81ba0) to head (d121a14).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #393   +/-   ##
=======================================
  Coverage   94.23%   94.23%           
=======================================
  Files          29       29           
  Lines        6452     6452           
=======================================
  Hits         6080     6080           
  Misses        372      372           
Flag Coverage Δ
unittests 94.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@syedhamidali syedhamidali self-assigned this Jul 19, 2026
- Commit uv.lock for reproducible dev environments (`uv sync --extra dev`)
- Document uv install/dev workflows in installation.md and CONTRIBUTING.md
- Run the CI lint job via astral-sh/setup-uv (pinned) instead of pip

The conda/micromamba test matrix is kept as-is, since the scientific binary
stack (netCDF4, h5py, xarray-dev) is still resolved via conda-forge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant