On 21. 05. 26 7:20, Orion Poplawski via python-devel wrote:
python-scikit-image's pyproject.toml file has a section with:
[build-system]
build-backend = 'mesonpy'
requires = [
'meson-python>=0.16',
'Cython>=3.0.8,!=3.2.0b1',
'pythran>=0.16',
'lazy_loader>=0.4',
'numpy>=2.0',
]
how can I get %pyproject_generatebuildrequires to add those dependencies?
That should be the default behavior. build-system.requires are always generated
(unless with -N/--no-use-build-system).
Nevermind - apparnelty that would require -w to generate,
but that's going to be too expensive.
That should *not* be the case. If the mesonpy build backend does not support
the prepare_metadata_for_build_wheel PPE 517 hook, you can always use
-R/--no-runtime which would skip the runtime deps but still generate the
build-system.requires.
Or use -p/--pyproject-dependencies, which would read the runtime dependencies
from project.dependencies. Nevertheless, that is not related to
build-system.requires.
[scikit_image-0.26.0]$ python /usr/lib/rpm/redhat/pyproject_buildrequires.py
--output=deps && cat deps
...
python3dist(meson-python) >= 0.16
((python3dist(cython) < 3.2~b1 or python3dist(cython) > 3.2~b1) with
python3dist(cython) >= 3.0.8)
python3dist(pythran) >= 0.16
python3dist(lazy-loader) >= 0.4
python3dist(numpy) >= 2
--
Miro Hrončok
--
Phone: +420777974800
--
_______________________________________________
python-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new