Skip to content

Conversation

@DoctorJohn
Copy link
Member

No description provided.

@DoctorJohn DoctorJohn force-pushed the migrate-to-uv branch 4 times, most recently from 4d7a531 to fca192c Compare November 29, 2025 01:37
@DoctorJohn DoctorJohn marked this pull request as ready for review November 29, 2025 01:42
@DoctorJohn DoctorJohn requested a review from patrick91 November 29, 2025 01:42
Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Super cool! 🚀

I see several tricks I didn't know about and now I want to copy them to other projects. 🙌

I have a couple of small comments here and there. 🤓

run: uv build
- name: Publish
uses: pypa/gh-action-pypi-publish@v1.13.0
run: uv publish
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the publish setup I would prefer to keep the pypa action, at least for now. Also the python -m build.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're back to vanilla building and publishing now. But I'm curious, is there a particular reason for that preference? I'm using UV build + publish with GitHub as Trusted Publisher for all my open source repos without any issues. Just curious, no need to overthink it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On one hand to not do all the changes at once just in case something breaks, but deep down I was also assuming uv wouldn't work with the trusted publisher stuff, if you've been already using it, it should be fine. 🤔

I'll then leave it up to you. 🙌

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fair! Let's give it a try in this repository and see how it goes. This single PR could then serve as a template for potentially migrating all other projects as well 🙌

Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! 🎉

Now I want it for all my repos. 🤩

@tiangolo tiangolo changed the title Migrate to uv ⬆️ Migrate to uv Dec 4, 2025
@DoctorJohn DoctorJohn merged commit 1b3baf1 into main Dec 4, 2025
17 of 18 checks passed
@DoctorJohn DoctorJohn deleted the migrate-to-uv branch December 4, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants