Skip to content

KeyError: 'scm_version' when scm_version is None in dump_version #1180

@tauroid

Description

@tauroid

I think due to the default .py version template now containing an unconditional reference to scm_version, scm_version being None and write_to being a Python file will always cause a KeyError. It seems like the commit ID should default to None, but I don't know this codebase well enough to say for sure. C.f. #1154

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