-
Notifications
You must be signed in to change notification settings - Fork 34
fix: update set_dev_version.py and fix minimum clearance line unit test #330
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
fix: update set_dev_version.py and fix minimum clearance line unit test #330
Conversation
The CI build was failing because set_dev_version.py only updated the workspace package version to include the -alphaN suffix, but didn't update the workspace dependencies versions. This caused Cargo to fail with version mismatch errors like: error: failed to select a version for the requirement `sedona-expr = "^0.2.0"` candidate versions found which didn't match: 0.2.0-alpha87 This fix updates the script to also replace version numbers in the workspace dependencies section, ensuring they match the prerelease version (e.g., "0.2.0-alpha390").
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes CI build failures caused by version mismatches in Cargo.toml when setting development versions. The script now updates both the workspace package version and workspace dependencies versions to include the alpha prerelease suffix, ensuring consistency across the configuration.
Key changes:
- Added logic to update workspace dependencies versions with the alpha suffix
- Added comments to clarify the purpose of each version update section
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Add blank line to workflow file to trigger CI build and test the set_dev_version.py fix. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
…to chore/fix.python.wheel.build
…rance line unambiguous
paleolimbot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
The CI build was failing because set_dev_version.py only updated the workspace package version to include the -alphaN suffix, but didn't update the workspace dependencies versions. This caused Cargo to fail with version mismatch errors like:
This fix updates the script to also replace version numbers in the workspace dependencies section, ensuring they match the prerelease version (e.g., "0.2.0-alpha390").
In addition, the PR also fix a python test to make the expected minimum clearance line unambiguous.
The fourth triangle's vertices changed from (2.5 2.5, 3 3, 3 2) to (2.5 2.5, 3.5 3.5, 3.5 1.5), moving the right edge further away: