Closed
Description
pip install python_poppler==0.4.0
on python 3.10 (Ubuntu 22.04) using meson 1.1.0 fails with:
#30 28.35 + meson install --no-rebuild --destdir /tmp/pip-install-d59qdq37/python-poppler_8100653bafcf4616b4f77887e540edc4/.mesonpy-zrqhtx8x/install
#30 28.35
#30 28.35 meson-python: error: The poppler package is split between purelib and platlib: 'purelib/poppler/__init__.py' and 'platlib/poppler/cpp/global_.cpython-310-x86_64-linux-gnu.so', a "pure: false" argument may be missing in meson.build
#30 28.35 [end of output]
-> "pure: false"
argument may be missing in meson.build
Caused by meson-python-0.13.0 release:
- Raise an error when a package is split between
platlib
andpurelib
.
More info: #74
I'd guess that we need to pass pure: false
in the meson.build
file here (similar to test code of meson, release notes, docs):
python3 = python_mod.find_installation('python3', pure: false)
Metadata
Metadata
Assignees
Labels
No labels