Skip to content

Consider hatch as potential comprehensive PyPI publication toolchain #375

Closed

Description

@ofek

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.

Activity

  1. ncoghlan commented on Sep 5, 2017

    @ncoghlan
    Contributor

    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).

  2. changed the title [-]New tutorial[/-] [+]Consider `hatch` as potential comprehensive PyPI publication toolchain[/+] on Sep 5, 2017
  3. ncoghlan commented on Sep 5, 2017

    @ncoghlan
    Contributor

    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".

  4. ofek commented on Sep 5, 2017

    @ofek
    SponsorContributorAuthor

    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

  5. added
    type: enhancement
    on Sep 12, 2017
  6. theacodes commented on Sep 12, 2017

    @theacodes
    Contributor

    @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. :)

  7. ofek commented on Sep 12, 2017

    @ofek
    SponsorContributorAuthor

    @jonparrott Thanks! I'll work on this soon.

  8. ncoghlan commented on Nov 29, 2017

    @ncoghlan
    Contributor

    I've included a link to hatch as part of the new dependency management tutorial in #402

  9. rgommers commented on Nov 10, 2026

    @rgommers
    Contributor

    Hatch is now mentioned in a number of places in the Packaging Guide, and hatchling is 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedtype: enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions