-
Notifications
You must be signed in to change notification settings - Fork 9
Dev: Migrate to uv #4912
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
base: main
Are you sure you want to change the base?
Dev: Migrate to uv #4912
Conversation
dgboss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking this on. It looks great!
|
| members = ["packages/*"] | ||
|
|
||
| [dependency-groups] | ||
| dev = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could shared dependencies like pytest, ruff, coverage, etc be installed here in a central location?



This PR migrates the backend Python project from Poetry to UV and restructures the codebase into a monorepo with separate packages. Uses a single virtual env,
backend/.venv/. Setup to install and run has been updated and instructions found inbackend/packages/wps-api/README.md.Package Management
wps-api,wps-shared,wps-jobs,wps-toolssfmspackage (code for SFMS windows box).Code Restructure
api/directory contents tobackend/packages/wps-api/, similar forwps-shared,wps-jobs,wps-toolsCI/CD Updates
Changes
uvvspoetrydependency resolution leading to slightly different package versionsbrew install uvformac.sh.Testing
ecmwfjob withoc create job -n e1e498-dev "ecmwf-1" --from=cronjob/ecmwf-wps-pr-4912to verify herbie works, let other jobs run overnight.tif_pusherscript (in new package withuv run --package wps-tools python -m wps_tools.tif_pusher 2025-06-24 2025-06-25) to verify SFMS tifs are processedCloses #4903
Test Links:
Landing Page
MoreCast
Percentile Calculator
C-Haines
FireCalc
FireCalc bookmark
Auto Spatial Advisory (ASA)
HFI Calculator
SFMS Insights
Fire Watch