Skip to content

Conversation

OCopping
Copy link
Contributor

@OCopping OCopping commented Apr 4, 2025

This PR aims to move away from using the venv/tox setup for a more modern uv (and tox-uv until uv adds it's own form of runners) approach.

@GDYendell
Copy link
Contributor

If hatch will only be temporary would it be better to stick with tox for now using tox-uv?

@callumforrester
Copy link
Contributor

Relates to #246, just to link issues

@OCopping OCopping force-pushed the move-to-uv branch 3 times, most recently from 286c223 to 455efa5 Compare April 10, 2025 08:17
@callumforrester
Copy link
Contributor

@OCopping
Copy link
Contributor Author

@OCopping Should probably also update the tests to use uv pip now too: https://github.com/DiamondLightSource/python-copier-template/blob/002a1c5cccd235b4898c02b74cec63f6265d7adc/tests/test_example.py

I have some of those changes uncommited locally; was trying to fix the CI first

Copy link
Contributor

@coretl coretl left a 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

@coretl coretl marked this pull request as ready for review September 22, 2025 14:56
@coretl
Copy link
Contributor

coretl commented Sep 22, 2025

Still need to update the docs

@coretl coretl marked this pull request as draft September 22, 2025 15:00
@coretl coretl marked this pull request as ready for review September 22, 2025 16:27
Copy link
Contributor

@AlexanderWells-diamond AlexanderWells-diamond left a 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

Co-authored-by: Alexander Wells <79699091+AlexanderWells-diamond@users.noreply.github.com>
coretl and others added 5 commits September 24, 2025 09:25
But add extra docs-autobuild target
Otherwise docs autobuild doesn't work as the forward kicks in before sphinx can start the server
Copy link
Contributor

@AlexanderWells-diamond AlexanderWells-diamond left a 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

@coretl coretl merged commit ed290c8 into main Sep 25, 2025
6 checks passed
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.

6 participants