Skip to content

HARMONY-1837 Fix/relax dependency upper bounds#133

Draft
flamingbear wants to merge 12 commits into
mainfrom
fix/relax-dependency-upper-bounds
Draft

HARMONY-1837 Fix/relax dependency upper bounds#133
flamingbear wants to merge 12 commits into
mainfrom
fix/relax-dependency-upper-bounds

Conversation

@flamingbear
Copy link
Copy Markdown
Member

@flamingbear flamingbear commented Jun 3, 2026

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.

stark256-spec and others added 3 commits June 3, 2026 11:36
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
@flamingbear flamingbear requested review from owenlittlejohns and removed request for chris-durbin, indiejames and ygliuvt June 3, 2026 22:59
@flamingbear flamingbear changed the title Fix/relax dependency upper bounds HARMONY-1837 Fix/relax dependency upper bounds Jun 3, 2026
@flamingbear
Copy link
Copy Markdown
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.

Comment thread harmony/request.py
# Handle WKT reading errors and invalid WKT strings
print(f"Invalid WKT: {e}")
return False
except (ShapelyError, NotImplementedError) as e:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This was duplicated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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)

@flamingbear flamingbear marked this pull request as draft June 4, 2026 18:30
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.

Consider removing upper bounds from dependencies in setup.py

3 participants