Fix arcade.version.VERSION conversion from GitHub CI format#2569
Merged
pushfoo merged 11 commits intodevelopmentfrom Feb 17, 2025
Merged
Fix arcade.version.VERSION conversion from GitHub CI format#2569pushfoo merged 11 commits intodevelopmentfrom
pushfoo merged 11 commits intodevelopmentfrom
Conversation
* Use explicitly clear regex approach to read version string * Add tests for specified behavior to our CI * Document the process clearly with a link to GH action config file
* Fix black formatter putting two f-strings onto a line w/o merging them * Fix typos * Add a Final[str] annotation to the VERSION constant * Cut down and rearrange the top-level docstring for clarity
2506e66 to
058c87d
Compare
Member
Author
|
In case anyone asks why I merged this already:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR: Stop swallowing last
.+ add extensive tests, error reporting, and docWhy?
Release time is not a fun time to be debugging weird issues:
ERROR: Unable to load version number via './VERSION'What?
Bonus: special-case
"3.0.0"to"3.0"to avoid churn in bookmarks / etc change detection due to the title changing.