Skip to content

Use uv's build backend instead of hatch? #67

@rsyring

Description

@rsyring

I originally chose hatch as a build backend because it got us away from MANIFEST.IN, it's VCS based file inclusion generally "just worked", and, specifically, let us install from text files generated by pip-compile.

We don't need the text files support anymore and @bchopson let us know that uv's build backend will become the default for uv init as of 0.7.19. We could start using their backend instead of hatch.

I see two issues with that approach:

  • Hatch's source distribution build starts with all files in source control. So, in general, there is no need to specify what files are included. uv's build backend basically only takes the python module and everything else must be included.
  • Our bump task is dependent on hatch-regex-commit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions