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

Use common version string util #497

Merged
merged 3 commits into from
Feb 14, 2022
Merged

Use common version string util #497

merged 3 commits into from
Feb 14, 2022

Conversation

DMRobertson
Copy link
Contributor

and remove the __version__ from the sydent module.

There doesn't seem to be a ecosystem-wide consensus on how to manage versions within the source code and within the packaging metadata. PyPA suggests 7 different ways to do this with setuptools. This is closest to their suggestion number 5. It appeals to me because I want there to be a single source of truth for the application's version number.

David Robertson added 3 commits February 11, 2022 21:30
So that the pyproject.toml is the single source of version truth
@DMRobertson DMRobertson marked this pull request as ready for review February 11, 2022 22:19
@DMRobertson DMRobertson requested a review from a team as a code owner February 11, 2022 22:19
@DMRobertson
Copy link
Contributor Author

DMRobertson commented Feb 11, 2022

Relevant function pulled out in matrix-org/matrix-python-common#22.

@DMRobertson DMRobertson merged commit bcdbe5e into main Feb 14, 2022
@DMRobertson DMRobertson deleted the dmr/version-string branch February 14, 2022 12:47
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

Successfully merging this pull request may close these issues.

2 participants