Skip to content

Do not ignore uncommitted changes in repo #53

@rgommers

Description

@rgommers

meson-python should pick up uncommitted changes to files that are under version control. xref scipy/scipy#16187 with a lot of details. The main reasons are:

  1. It is very confusing to silently ignore changes, it will lead to lost time by users and contributors.
  2. Even if you understand it, it's quite cumbersome to have to commit changes before running pip install . (or similar) each time.
  3. For complex packages, it is very common that patches have to be applied before building sdists, wheels, or other packages (conda/rpm/deb/etc.). It is now extremely hard to do so.

Reproducible releases should be made through a CI job anyway, so "the current behavior is more reproducible" doesn't really apply. And I don't think there is any other reason to keep the current behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions