Skip to content

Update Maintenance docs to mention install specific requirements to cut a release #1704

Open
0 of 1 issue completed

Description

@stevepiercy

The docs don't tell maintainers what are the requirements to cut a release in New releases. Although obvious to current maintainers, it isn't obvious to future team members. What's required?

  • hatch >= some version
  • other?

See also #1493 (comment) about the omission of Hatch from the release docs.

@stevepiercy, Can you open a separate discussion/issue for that? I don't undestand what to change or do about that and so, it takes a bit more of a conversation, best in one place.

Originally posted by @niccokunzmann in #1695

Activity

  1. niccokunzmann commented on Aug 20, 2026

    @niccokunzmann
    Member

    Requirements I see:

    • Major Releases
      • should open an issue to track progress and collect feedback
      • versionadded and such should be updated, might be obsolete if .. versionchanged:: directives #1683 is solved
      • There must be an entry for each .breaking news in the upgrade guide

    I do not see requirements for minor and patch releases.

    • How does an announcement fit into this?

    A note on hatch: Hatch is the build system we use. It could also be setuptools or poetry. This is handled by uv. Release files are created with uv build and uv takes care of all of that. So, make dev is enough to do that locally. The current release process goes through CI and it appears that the Makefile handles everything perfectly for maintainers. I did a release from a fresh machine and did not need to install anything but the make dev environment.

  2. stevepiercy commented on Aug 21, 2026

    @stevepiercy
    MemberAuthor
    • should open an issue to track progress and collect feedback

    I'd like this to start at least a week before a release, assuming you want feedback from volunteers. It would be Step -2 in the process. I think we should make it its own section, immediately before New releases.

    I do not see requirements for minor and patch releases.

    I think all releases should open an issue.

    As each PR comes in, it should be added to a Milestone for the expected version release. It's not a requirement, but guidance. It can help the release manager easily find all open PRs and issues for a given Milestone. If only we had someone in the role of Triage! 😉

    • How does an announcement fit into this?

    It's two steps. Prepare the release announcement is Step -1. After the release, publish it everywhere, as one of the final steps.


    Pardon my pedantry on your note on hatch, but uv build invokes the build tool specified in pyproject.toml, which in turn handles all that.

    https://github.com/collective/icalendar/blob/f381b857600814adc4f2564123027fcef9bef55a/pyproject.toml#L8-L10

    See also the "important" admonition in uv's docs, linked above, for an explanation of how it all works.

  3. stevepiercy commented on Aug 22, 2026

    @stevepiercy
    MemberAuthor

    @niccokunzmann what happens if you don't have hatch, hatchling, and hatch-vcs installed, and you try uv build? Should we add these as requirements to the dev group in pyproject.toml?

  4. added
    NLnet
    on Aug 27, 2026
  5. niccokunzmann commented on Sep 14, 2026

    @niccokunzmann
    Member

    what happens if you don't have hatch, hatchling, and hatch-vcs installed, and you try uv build? Should we add these as requirements to the dev group in pyproject.toml?

    I think, they are installed automatically by the build tool. I never had to install them, not when using uv and not before that when using python -m build. I think the idea is that they are in there so that there is a specification and nobody needs to worry about installing them.

    we should make it its own section

    Yes, that sounds good. Would you like to draft a PR?

    I think, the tension that I see is having looong process with wait times VS. quick releases (weekly would be nice).
    I value documenting a preferred process. That gives clarity for when and how people can help and respond. If it is just for me, I would just release whenever I find the time (given that the release does not take an hour! Should be shorter!). For now and since we have funding, we can draft, evaluate and practice process improvements. If funding runs out, I would like the overhead to be minimal, so that we can be responsive without spending much time on waiting.

    Would you like to open a PR that drafts the structure and what you see is beneficial?

  6. added this to the 8.0.0 milestone on Oct 14, 2026
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

    NLnetdoc

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions