Skip to content

TST: use generated package files - #923

Open
dnicolodi wants to merge 2 commits into
mesonbuild:mainfrom
dnicolodi:simplify-tests
Open

dnicolodi wants to merge 2 commits into
mesonbuild:mainfrom
dnicolodi:simplify-tests

Conversation

@dnicolodi

@dnicolodi dnicolodi commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Generating package contents on the fly, when only minimal package metadata is required, makes the tests easier to inspect and understand. This PR removes all test package that consist exclusively of a pyproject.toml and a meson.build containing only a project() call. Some lines could be spared not having the [build-system] section in the generated pyproject.toml files as meson-python is invoked directly in the tests, but I decided to leave it.

@dnicolodi
dnicolodi force-pushed the simplify-tests branch 3 times, most recently from e0a3d0d to 74837ee Compare November 8, 2026 16:30
Generating package contents on the fly, when only minimal package
metadata is required, makes the tests easier to inspect and understand.
The build directory for editable packages was changed a long time ago.

This branch has not been deployed

No deployments
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