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

chore: Setup automated semver bumps #2118

Merged
merged 19 commits into from
Sep 11, 2024
Merged

Conversation

tssweeney
Copy link
Collaborator

No description provided.

@circle-job-mirror
Copy link

circle-job-mirror bot commented Aug 13, 2024

@tssweeney tssweeney marked this pull request as ready for review August 13, 2024 00:51
@tssweeney tssweeney requested a review from a team as a code owner August 13, 2024 00:51
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have this file? Shouldn't version just be in pyproject.toml?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is used to have the version available at runtime

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't you use weave.__version__?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weave.version IS defined by version.py:
Screenshot 2024-08-16 at 14 12 15

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, I was expecting something more like this:
https://stackoverflow.com/a/67097076

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works, i would like to use it as is (:

@tssweeney tssweeney enabled auto-merge (squash) September 11, 2024 06:17
@tssweeney tssweeney merged commit e72440e into master Sep 11, 2024
24 of 25 checks passed
@tssweeney tssweeney deleted the tim/setup_automated_version_bumps branch September 11, 2024 18:52
@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants