On 03. 10. 22 13:30, Sandro wrote:
I was following the instructions in the project's README:
It's all lies and snake oil.
Upstream lists the requirement of the recent enough version in their documentation, because the users are reading the current version of the documentation and if an older version was used, not all information from the current documentation would be accurate.
If you look e.g. at https://github.com/pypa/setuptools_scm/tree/v6.0.1#pyprojecttoml-usage the requirement was lower.
It was recently bumped in https://github.com/pypa/setuptools_scm/commit/15049053b8 when [toml] was no longer needed -- I suggest adding [toml] back if you lower the required version.
It works without [toml] in the EPEL 9 RPM package only by coincidence: because the pyproject RPM macros depend on python3-toml on EPEL 9.