Resolving toga-gtk
attempts to build pygobject
on MacOS
#9548
Labels
enhancement
New feature or improvement to existing functionality
toga-gtk
fails to generate a valid cross-platform lock file when added as a dependency on platforms other than Linux, aspygobject
can only be published as an sdist: beeware/toga#2995(statically linking the GObject bindings is not desirable, and a valid manylinux wheel can't just assume those libraries exist)
Setting
tool.uv.dependency.metadata
doesn't solve the problem, since that's only effective for application locks - the tool table metadata doesn't make it into thetoga-gtk
.dist-info
folder, souv add
doesn't have access to it when the dependency ontoga-gtk
is resolved.Searching the code for
build_wheel
andprepare_metadata_for_build_wheel
, it isn't clear to me if the problem is thatuv
simply isn't trying the latter option before progressing to the full wheel build, or if the latter isn't working with meson-build, souv
is falling back to the former, which than fails due to the platform incompatibility.Potentially related:
build_wheel()
- wrong architecture #3308The text was updated successfully, but these errors were encountered: