You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update to setuptools-scm 9 makes python-xmlsec unable to be installed #366
I am unable to install the newest version of xmlsec when setuptools-scm is v9 or above (released 2025-09-05). I believe this version introduces strict enforcement of PEP 621 configuration rules, and xmlsec's pyproject.toml is non-compliant. Here is the error.
ValueError: pyproject.toml: setuptools-scm is present in
[build-system].requires but dynamic=['version'] is not set in
[project]. Either add dynamic=['version'] to [project] or add a
[tool.setuptools_scm] section.
Activity
timabbott commentedon Aug 5, 2025
The root issue is pypa/setuptools-scm#1191; it looks like they made a breaking change a bit too early.
paulzakin commentedon Aug 5, 2025
Thanks for the quick response! Seems like the other issue is the place to follow - I'll close this out :)
mxamin commentedon Aug 5, 2025
@paulzakin @timabbott Thanks for the info, I'll follow this issue and see how it pans out and update the code if required.
uv: Add setuptools-scm<9 to build-constraint-dependencies.