Skip to content

Issue with Metadata Version Being Appended to Package Version in Shiv Build  #278

@claytonsrobot

Description

@claytonsrobot

Hello!

I’m experiencing an issue when building my Python project using shiv. My goal is to include both the package version and the Python version in the final shiv name. To do this, I’ve set up shiv to assess the pyproject.toml file to get the package version. However, I’ve noticed that shiv also pulls in the poetry metadata version and appends it to the package version without any separator. This results in a combined version string that’s confusing and not intended.

Is there a way to configure shiv to exclude the poetry metadata version, or to separate these versions properly?

Any guidance would be greatly appreciated!

Thank you!

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