Skip to content

pyproject.toml: don't build tests with meson-python

Christoph Reiter requested to merge creiter/pygobject:pyproject-no-tests into master

In case meson-python is invoked via pip, any Python tools it uses can't access the system Python packages, which breaks g-ir-scanner, which we use for building the tests.

Fix by not building tests when building a wheel.

See https://github.com/mesonbuild/meson-python/issues/596

Fixes #622 (closed)

Merge request reports