-
Notifications
You must be signed in to change notification settings - Fork 7
refactor: Convert to use uv
#248
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
Conversation
If hatch will only be temporary would it be better to stick with tox for now using tox-uv? |
Relates to #246, just to link issues |
286c223
to
455efa5
Compare
@OCopping Should probably also update the tests to use |
I have some of those changes uncommited locally; was trying to fix the CI first |
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.
I got half way through a review a while back, not sure if these are still relevant, but I'll submit them now anyway. I'll try and find time to do a proper review next week
…ing test_template_mypy
30c743a
to
45c895a
Compare
Otherwise ruff complains, the template tests catch this anyway
Still need to update the docs |
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.
Overall this looks fine to me; most of my comments are just minor questions/clarifications.
I tried coverting aioca
to use this version of the template and it appears to have run as expected, with failures explainable as issues with that project, not the template itself: DiamondLightSource/aioca#74
template/{% if git_platform=="github.com" %}.github{% endif %}/workflows/ci.yml.jinja
Show resolved
Hide resolved
Co-authored-by: Alexander Wells <79699091+AlexanderWells-diamond@users.noreply.github.com>
But add extra docs-autobuild target
Otherwise docs autobuild doesn't work as the forward kicks in before sphinx can start the server
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.
Looks good to me
This PR aims to move away from using the
venv
/tox
setup for a more modernuv
(andtox-uv
untiluv
adds it's own form of runners) approach.