From 20172176051f437266e3ff2d5194a18183d01678 Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Oct 03 2024 07:34:03 +0000 Subject: Document %pyproject_buildrequires -p Option added in pyproject-rpm-macros 1.15.0 More context can be found on python-devel thread: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/message/GVV77IVGTX5JCNAHG25XVOENCPRCKCLK/ --- diff --git a/guidelines/modules/ROOT/pages/Python.adoc b/guidelines/modules/ROOT/pages/Python.adoc index a949f67..4effa8c 100644 --- a/guidelines/modules/ROOT/pages/Python.adoc +++ b/guidelines/modules/ROOT/pages/Python.adoc @@ -1480,6 +1480,9 @@ The macro has these options: run-time requirements are included by default). ** `+-x EXTRA+`: Include dependencies given by the given <>. Cannot be used with `+-R+`. +** `+-p`: Read run-time dependencies from pyproject.toml [project] table. +This reads also the [optional-dependencies] for the given <>. +Cannot be used with `+-R+`. ** `+-t+`: Include dependencies for the default _tox_ environment. Cannot be used with `+-R+`. ** `+-e ENV+`: Include dependencies for the given _tox_ environment,