Skip to content
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

ci: use uv #2424

Merged
merged 8 commits into from
Jan 21, 2025
Merged

ci: use uv #2424

merged 8 commits into from
Jan 21, 2025

Conversation

wpbonelli
Copy link
Member

@wpbonelli wpbonelli commented Jan 21, 2025

Trialing uv to close #2416. Pixi is probably preferable, but for now, there is a blocker that I don't see a way around*. It's easy enough to switch once we are ready, and this gives us several CI benefits immediately:

  • faster
  • locked dependencies

I left the rtd.yml and examples.yml workflows untouched for two reasons:

These can be switched from micromamba to pixi later on, at which point we can consolidate on pixi for everything?

*Pixi has no way to tell uv to prerelease=allow, which is currently necessary because VTK has no valid 9.4+ official distribution for ARM macs on PyPI at the moment. I'd hoped PyPI dependencies could be overridden by conda dependencies, but pixi still tries (and fails) to solve them all for PyPI even if add them to pixi.tool.dependencies.

Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.3%. Comparing base (bb9824e) to head (d7a2e6b).
Report is 39 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop   #2424     +/-   ##
=========================================
+ Coverage     68.4%   76.3%   +7.8%     
=========================================
  Files          294     294             
  Lines        59390   59853    +463     
=========================================
+ Hits         40652   45690   +5038     
+ Misses       18738   14163   -4575     

see 248 files with indirect coverage changes

@wpbonelli wpbonelli marked this pull request as ready for review January 21, 2025 15:16
@wpbonelli wpbonelli merged commit 732a55b into modflowpy:develop Jan 21, 2025
23 checks passed
@wpbonelli wpbonelli deleted the uv branch January 21, 2025 19:22
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.

Use uv or pixi in CI?
1 participant