Skip to content

Conversation

@igaw
Copy link
Collaborator

@igaw igaw commented Jan 9, 2026

Under PEP 517, when the backend detects a VCS checkout, build does roughly this:

  • Creates an isolated build environment
  • Exports the source tree using git archive
  • Builds the sdist from that exported tree

Thus the changes in meson.build are not picked up. Though the version can be overwritten via the MESONPY_PROJECT_VERSION environment variable.

Under PEP 517, when the backend detects a VCS checkout, build does
roughly this:

 - Creates an isolated build environment
 - Exports the source tree using git archive
 - Builds the sdist from that exported tree

Thus the changes in meson.build are not picked up. Though the version
can be overwritten via the MESONPY_PROJECT_VERSION environment variable.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
@igaw igaw merged commit 4544439 into linux-nvme:master Jan 9, 2026
20 checks passed
@igaw igaw deleted the fix-ci3 branch January 9, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant