Skip to content

Support Stamping of version in py_wheel #544

@tmspicer

Description

@tmspicer

🚀 feature request

Relevant Rules

Rule: py_wheel

Description

Currently the version of py_wheel is a hardcoded string that would need to be changed frequently. We would like to produce development wheel and automated version when tagging so this is not an ideal situation.

Describe the solution you'd like

I would like to propose that we add support for stamping of the version attribute so that the version can be read via the workspace_status file.

Describe alternatives you've considered

Alternatives could be to pass in a version file but then your build process has to write that. As the workspace_status mechanism is supported on multiple rules it makes more sense to add support for it.
Another option is makefile variables or macros but since we version off of git output the values are dynamic.

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