Open bnbourgade opened 2 months ago
I think PR #445 will fix this.
$ pip3 install git+https://github.com/kleisauke/pyvips.git@pyproject-toml --use-pep517 --break-system-packages
[...]
Successfully built pyvips
Installing collected packages: pyvips
Successfully installed pyvips-2.2.3
Actually, it seems that the underlying issue might be error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
. Is there a way to enable verbose build output in Poetry?
[...] You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pyvips (==2.2.3)"'.
FWIW, the command mentioned here also works for me without any issues.
... according to https://peps.python.org/pep-0517/, it should revert to the setup.py
build if the pyproject.toml
file is absent.
If the
pyproject.toml
file is absent, or thebuild-backend
key is missing, the source tree is not using this specification, and tools should revert to the legacy behaviour of runningsetup.py
(either directly, or by implicitly invoking thesetuptools.build_meta:__legacy__
backend).
So, IIUC, pyvips should already be compatible with PEP 517.
Hello,
I've been trying to install pyvips using poetry 1.8.2, and it fails, returning me the following error :
I've found a workaround using an older version of poetry, alongside installing some apt packages, but i would find an issue that uses the latest version of Poetry.
Thanks in advance !