You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider hatch as potential comprehensive PyPI publication toolchain #375
Would a tutorial for https://github.com/ofek/hatch be accepted? It defaults to user installs and the workflow is a bit more beginner friendly due to the reduced surface of pip it exposes.
I think it would definitely make sense to reference hatch from the proposed discussion in #367
However, from my own experience using cookiecutter templates, I think they're too overwhelming for newcomers - while they're great if your aim is to create high quality publishable libraries and tools, they cover too much ground and too many new concepts for folks that are just needing to get some dependencies installed in order to work through a tutorial or some data analysis locally (it's similar to the reason why Software Carpentry ended up taking unit testing out of their bootcamp curriculum - automated testing of your automation is confusing when you're still being introduced to the general concept of automating your work in the first place).
In writing up #367 (comment), it also occurred to me that hatch potentially fills the niche of "comprehensive PyPI publishing toolchain", just as pipenv fills the niche of "comprehensive PyPI consumption toolchain".
Actually project creation doesn't require configuration, but that was hard to tell initially. I have since uncluttered the readme https://github.com/ofek/hatch#usage
@ofek I will happily accept a guide on using hatch.
guides are focused on accomplishing a specific task and can assume some level of pre-requisite knowledge. These are similar to tutorials, but have a narrow and clear focus and can provide lots of caveats and additional information as needed. They may also discuss multiple approaches to accomplishing the task.
I will leave this bug open to track adding the guide, but hopefully someone other than me will volunteer to write it. :)
Activity
ncoghlan commentedon Sep 5, 2017
I think it would definitely make sense to reference
hatchfrom the proposed discussion in #367However, from my own experience using cookiecutter templates, I think they're too overwhelming for newcomers - while they're great if your aim is to create high quality publishable libraries and tools, they cover too much ground and too many new concepts for folks that are just needing to get some dependencies installed in order to work through a tutorial or some data analysis locally (it's similar to the reason why Software Carpentry ended up taking unit testing out of their bootcamp curriculum - automated testing of your automation is confusing when you're still being introduced to the general concept of automating your work in the first place).
[-]New tutorial[/-][+]Consider `hatch` as potential comprehensive PyPI publication toolchain[/+]ncoghlan commentedon Sep 5, 2017
In writing up #367 (comment), it also occurred to me that
hatchpotentially fills the niche of "comprehensive PyPI publishing toolchain", just aspipenvfills the niche of "comprehensive PyPI consumption toolchain".ofek commentedon Sep 5, 2017
Actually project creation doesn't require configuration, but that was hard to tell initially. I have since uncluttered the readme https://github.com/ofek/hatch#usage
theacodes commentedon Sep 12, 2017
@ofek I will happily accept a guide on using hatch.
I will leave this bug open to track adding the guide, but hopefully someone other than me will volunteer to write it. :)
ofek commentedon Sep 12, 2017
@jonparrott Thanks! I'll work on this soon.
ncoghlan commentedon Nov 29, 2017
I've included a link to
hatchas part of the new dependency management tutorial in #402rgommers commentedon Nov 10, 2026
Hatch is now mentioned in a number of places in the Packaging Guide, and
hatchlingis the default build backend in the tutorial at https://packaging.python.org/en/latest/tutorials/packaging-projects/. So I'll close this issue as completed.