Skip to content

setuptools 9.1.1 change - setuptools-scm dynamic versioning runs even when not requested #1198

@krpatter-intc

Description

@krpatter-intc

I have some projects that have setuptools-scm as a depdendency, but without [tool.setuptools_scm] in the pyproject.toml. I'm using dynamic versioning from [tool.setuptools.dynamic] for versioning (not scm). With the 9.1.1 build these now fail with:

LookupError: setuptools-scm was unable to detect version for C:\...

Was this a recent requirement change? I don't see how to disable dynamic versioning in setuptools-scm (only enable it).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions