HARMONY-1837 Fix/relax dependency upper bounds#133
Draft
flamingbear wants to merge 12 commits into
Draft
Conversation
harmony-py is a library installed into user environments alongside other packages. Tight compatible-release pins like ~=1.1.0 (which resolves to >=1.1.0,<1.2) block installation whenever any other package in the environment requires a newer patch or minor release. This is a common source of dependency conflicts reported by users. Replace all ~= specifiers in [project.dependencies] with >= lower bounds, keeping only the minimum version that is known to work. The shapely <3 upper bound is also removed since no incompatibility with shapely 3.x has been identified. Fixes #79
Adds a cron schedule (02:00 UTC daily) alongside the existing push/PR triggers. This ensures the full test matrix runs against the latest available versions of all dependencies every night, consistent with the relaxed lower-bound pins introduced in this PR.
https://github.com/shapely/shapely/releases/tag/2.0.7 Fixes crash when reading nonlinear geometry types (CircularString, CompoundCurve, MultiCurve, CurvePolygon, MultiSurface) from WKB/WKT with GEOS >= 3.13; these types are not yet supported in Shapely and now raise a NotImplementedError
We were testing twice.
2 tasks
Member
Author
|
I don't love the inline script for the notification. I'm going to put this back into draft and wait 'til I can focus on it a bit. maybe IP. |
chris-durbin
reviewed
Jun 4, 2026
| # Handle WKT reading errors and invalid WKT strings | ||
| print(f"Invalid WKT: {e}") | ||
| return False | ||
| except (ShapelyError, NotImplementedError) as e: |
Member
Author
There was a problem hiding this comment.
I don't think so, one is catching ValueError and this is catching a new NotImplementedError that was added to shapely in 2.0.7. (I thought I added a note somewhere else)
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.
Description
This PR pulls in the user contribution changes for #132
This will close #79 and HARMONY-1837
Code Changes: Unpins top bounds on dependencies.
Workflow changes: Adds a notify_failure task that will create or update an existing issue on this repository when the nightly build fails.
There is a test failure currently open as #136. You can see the links to testing failures one that created the issue and one that updated it.