Skip to content

Repo tweaks after the switch to uv - #125

Closed
davep wants to merge 4 commits into
mainfrom
uv-tweaks
Closed

Repo tweaks after the switch to uv#125
davep wants to merge 4 commits into
mainfrom
uv-tweaks

Conversation

@davep

@davep davep commented Aug 18, 2025

Copy link
Copy Markdown
Owner

Followup to #123 that tweaks a handful of things and updates the ChangeLog.

TODO: #123 kills my ability to publish new versions of Hike at the moment. I need to work out what's the uv approach to publishing to test PyPI or real PyPI as a choice.

@davep davep self-assigned this Aug 18, 2025
@davep davep added the Housekeeping General codebase housekeeping label Aug 18, 2025
@davep

davep commented Aug 18, 2025

Copy link
Copy Markdown
Owner Author

Ugh. Great. So we're having to switch to a tool that adds friction? astral-sh/uv#10878 :-/

@hugovk

hugovk commented Aug 18, 2025

Copy link
Copy Markdown
Contributor

Hmm.

I've only ever used twine to upload from local so don't have experience with Rye or uv's process.

But I've fully switched over to using Trusted Publishing to upload from CI. I find this much easier, you can do it from a tag or GitHub Release, and it's more secure as there's no need for long-lived tokens on my machine.

I realise this is more yak shaving you may not have time for right now, but I'm happy to help out, now or in the future :)

As suggested in #123, in the short term you could keep Rye for publishing and uv for the other stuff.

@davep

davep commented Aug 18, 2025

Copy link
Copy Markdown
Owner Author

Yeah, before using rye for this I used twine for the longest time. As for the other stuff it's on my long-term todo list to look into, but honestly it's another one of those ever-changing Python ecosystem things that's a struggle to keep up with and which I'm reluctant to depend on given the long history of the ever-shifting packaging landscape (and there's the worry that it seems, from my basic understanding, one that comes with some lock-in to various forges). But I guess that's a blog post I should dump out one day, or something. ;-)

@davep

davep commented Aug 18, 2025

Copy link
Copy Markdown
Owner Author

I've reverted #123 for now. I like the idea and want to keep on top of things, but just don't have the time or the bandwidth to learn a bunch new stuff right at this moment. Perhaps if/when the tooling settles down and becomes trustworthy.

@davep davep closed this Aug 18, 2025
@hugovk

hugovk commented Aug 18, 2025

Copy link
Copy Markdown
Contributor

Sure thing, and feel free to ping me whenever.

@davep

davep commented Aug 18, 2025

Copy link
Copy Markdown
Owner Author

Thanks; will do!

@davep
davep deleted the uv-tweaks branch August 18, 2025 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Housekeeping General codebase housekeeping

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants