Skip to content

Update to setuptools-scm 9 makes python-xmlsec unable to be installed #366

@paulzakin

Description

@paulzakin

Hello!

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.

I believe the fix is to add a [project] section to the pyproject.toml as outlined in their documentation.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions