use uv to manage Python installation and run scripts#353
use uv to manage Python installation and run scripts#353zacharyburnett wants to merge 2 commits intoOpenAstronomy:mainfrom
Conversation
71219f2 to
ad81488
Compare
ad81488 to
acec1cf
Compare
|
Before you spend too much time on this, I'd like to discuss if it's worth it. What's your motivation? |
acf3f19 to
2d86f35
Compare
since the |
|
I figure that, since this script is probably run every few minutes all day every day, even a small performance increase is worth it (but we should at least freeze the version of |
I can get behind this for the internal stuff, but I don't think we should go into anything tox related? |
2d86f35 to
c438ac8
Compare
c438ac8 to
296761f
Compare
296761f to
c6064e9
Compare
setup-uvinstead ofsetup-python(anduvxinstead ofpipx) to run scriptstox -e, we can also usesetup-uvinstead ofsetup-python. This does NOT force the user to usetox-uvin theirtox.ini, though they can if they want touse_uv: trueconfig entry in.condarcto tell Mamba to useuvinstead ofpipwhen resolving the PyPI environment. This is transparent to the user