Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override <number> when creating a pre-release #991

Open
BatmanAoD opened this issue Apr 4, 2024 · 0 comments
Open

Override <number> when creating a pre-release #991

BatmanAoD opened this issue Apr 4, 2024 · 0 comments

Comments

@BatmanAoD
Copy link
Collaborator

I would like to make PyO3 packages (Python packages generated from Rust code) and be able to have different prerelease suffixes from multiple branches or pull-requests at once. I thought an easy way to do this would be to include a pull-request number or other such numeric identifier in the pre-release label, but this actually causes an error when trying to generate a Python package, because -foo<num>.<num> isn't a valid Python version string according to PEP 440. So I think the only way to generate a Knope prerelease version that includes a numeric identifier like this (without resorting to --override-version and constructing the version myself) would be to have a way to just specify what number I want the pre-release label to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant