-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Python is missing a version #175
Comments
This is not needed anymore by using the setuptools-scm mechanism.
|
I'm afraid that will not do. Releases are made with a script. This is necessary because nobody can remember the intricacies and conflicting requirements of releasing 13 different languages. And currently the script expects there to be a version in the Again, I'm happy to adopt any other solution, and this does look like a good solution, but it should be applied consistently to all Python projects in the Cucumber org. Preferably at the same time. This to keep the already complicated release script and release procedures simple. So for now, please add
What happens if multiple tags are present? For example, when go is included in a release all release commits are tagged with both |
I will look at the script. Multiple git-tags are no problem (any more) because the matching git-tag format is specified in pyproject.toml:L119. It matches only git-tags that match RELATED: |
Yes, cheers!
Mmh. That should probably be |
No, it works. Your match expression is just more specific. Mine is the minimal match-pattern that is needed to work. Note that it would be sufficient for your # version = “6.1.0” |
* Readd "version = ..." parameter (manual bump-version mechanism) * DISABLE: setuptools-scm mechanism (until all Python projects use it)
Heh yes. That would work. But it's also the sort of workaround nobody likes to see. |
And thanks for fixing! Much appreciated! |
🤔 What's the problem you've observed?
Currently there is no
version = <some version>
declaration inpyproject.toml
. The current release process expects this to be present.✨ Do you have a proposal for making it better?
Add
version = <some version>
back intopyproject.toml
📚 Any additional context?
I'm happy to support anything else, but this should be applied consistently across all repositories.
The text was updated successfully, but these errors were encountered: