On 26/01/2026 17:42, Jon Turney via Cygwin-apps wrote:
On 26/01/2026 14:30, Jon Turney via Cygwin-apps wrote:
On 26/01/2026 13:45, Marco Atzeri via Cygwin-apps wrote:
Hi Jon,
the current Meson is only for python3.9,
can you extend to cover also 3.12 ?
Yeah, I'm afraid I'm rather behind in updating meson.
I'll try to look into it.
python-cairo is expecting "mesonpy" as available module.
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Cannot import
'mesonpy'
pip3.12 wheel failed
But meson itself is strictly a command line tool. I don't think it
provides an importable python module.
'mesonpy' is provided by the 'meson-python' python package [1].
(I think this internally runs 'meson' to do the actual builds.)
[1] https://pypi.org/project/meson-python/
Packaged and uploaded as python3{9,12}-meson-python.
Please let me know if there are any problems with that.
Thanks Jon,
I was confused by a error message when I tried to build and package
python3{9,12}-meson-python by myself.
I found that python3{9,12}-meson-python requires
python3{9,12}-pyproject_metadata to work.
I am adding it, and now python-cairo build as expected.
Additional it seems that Meson is at version 1.10.1
https://pypi.org/project/meson/
Regards
Marco