Skip to content

Use Hatch#48

Merged
zzzeek merged 6 commits intomainfrom
hatch
Jun 24, 2025
Merged

Use Hatch#48
zzzeek merged 6 commits intomainfrom
hatch

Conversation

@CaselIT
Copy link
Contributor

@CaselIT CaselIT commented Jun 19, 2025

No description provided.

@CaselIT
Copy link
Contributor Author

CaselIT commented Jun 19, 2025

@zzzeek I haven't tried the release yaml, but since the old one worked I'm for yolo-ing this one

Copy link
Contributor

@zzzeek zzzeek left a comment

Choose a reason for hiding this comment

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

What's the "normie" way to do this without all the explicit hatch stuff? The whole idea is supposed to be, pyproject.toml has build-backend and that's supposed to set it all up. pypa doesn't have a github action that works for this?

@sigmavirus24
Copy link

What's the "normie" way to do this without all the explicit hatch stuff? The whole idea is supposed to be, pyproject.toml has build-backend and that's supposed to set it all up. pypa doesn't have a github action that works for this?

I don't know what "normie" means, but hatchling is the build backend. You should (in theory) be able to use pypa/build to run python -m build in an environment that has hatchling installed already. You don't need to use the hatch cli

@CaselIT
Copy link
Contributor Author

CaselIT commented Jun 20, 2025

indeed that works, but we need hatch cli to change the version, so we may as well use it to build things too. overall it's the same for me

@zzzeek zzzeek merged commit 0ba48e0 into main Jun 24, 2025
12 checks passed
@CaselIT CaselIT deleted the hatch branch November 4, 2025 19:44
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.

3 participants