cucumber/gherkin

Python does not keep version in pyproject.toml

Closed this issue · 3 comments

🤔 What's the problem you've observed?

Releases are made with a script. This is necessary because nobody can remember the intricacies and conflicting requirements of releasing (currently) 13 different languages.

So for the sake of the sanity of everyone involved in the release there should be exactly one conventional location for every python project in the Cucumber org to keep its version.

Currently the preferred place is directly in pyproject.toml.

For Gherkin currently the version is kept in setup.py.

version="29.0.0",

✨ Do you have a proposal for making it better?

Keep the version in pyproject.toml.

📚 Any additional context?

I am open to better ways of doing this, but then I'd like to see a set of merge requests apply that change to all repositories at once.

So for the short term it I'd be best to use pyproject.toml.

Done in #290

Resolved in commit 24296c1

Cheers!