zooniverse / aggregation-for-caesar

Apache License 2.0
9 stars 15 forks source link

Update shapely requirement from <2.0.2,>=2.0 to >=2.0,<2.0.3 #768

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on shapely to permit the latest version.

Release notes

Sourced from shapely's releases.

2.0.2

Bug fixes:

  • Fix regression in the (in)equality comparison (geom1 == geom2) using __eq__ to not ignore the z-coordinates (#1732).
  • Fix MultiPolygon() constructor to accept polygons without holes (#1850).
  • Fix minimum_rotated_rectangle (oriented_envelope) to always return the minimum area solution (instead of minimum width). In practice, it will use the GEOS implementation only for GEOS 3.12+, and for older GEOS versions fall back to the implementation that was included in Shapely < 2 (#1670).
  • Fix from_ragged_array to work with read-only array input (#1744).
  • Fix the handling of z coordinates shapely.ops.substring (#1699).

Wheels are available for Python 3.12 (and still include GEOS 3.11.2). Building from source is now compatible with Cython 3.

For a full changelog , see https://shapely.readthedocs.io/en/latest/release/2.x.html#version-2-0-2

Changelog

Sourced from shapely's changelog.

2.0.2 (2023-10-12)

Bug fixes:

  • Fix regression in the (in)equality comparison (geom1 == geom2) using __eq__ to not ignore the z-coordinates (#1732).
  • Fix MultiPolygon() constructor to accept polygons without holes (#1850).
  • Fix minimum_rotated_rectangle (oriented_envelope) to always return the minimum area solution (instead of minimum width). In practice, it will use the GEOS implementation only for GEOS 3.12+, and for older GEOS versions fall back to the implementation that was included in Shapely < 2 (#1670).
  • Fix from_ragged_array to work with read-only array input (#1744).
  • Fix the handling of z coordinates shapely.ops.substring (#1699).

Wheels are available for Python 3.12 (and still include GEOS 3.11.2). Building from source is now compatible with Cython 3.

For a full changelog, see https://shapely.readthedocs.io/en/latest/release/2.x.html#version-2-0-2

2.0.1 (2023-01-30)

Bug fixes:

  • Fix regression in the Polygon() constructor taking a sequence of Points (#1662).
  • Fix regression in the geometry constructors when passing decimal.Decimal coordinate values (#1707).
  • Fix STRtree() to not make the passed geometry array immutable as side-effect of the constructor (#1714).
  • Fix the directed keyword in shapely.ops.linemerge() (#1695).

Improvements:

  • Expose the function to get a matplotlib Patch object from a (Multi)Polygon (without already plotting it) publicly as :func:shapely.plotting.patch_from_polygon (#1704).

For a full changelog, see https://shapely.readthedocs.io/en/latest/release/2.x.html#version-2-0-1

2.0.0 (2022-12-12)

Shapely version 2.0.0 is a major release featuring a complete refactor of the internals and new vectorized (element-wise) array operations providing considerable performance improvements.

For a full changelog, see

... (truncated)

Commits
  • 8d45d43 RLS: 2.0.2
  • 146bc77 Merge pull request #1904 from jorisvandenbossche/more-backports
  • 195fcf2 fix doctests (run with GEOS 3.11 on maintenance branch)
  • 273e259 RLS/DOC: update release date in release notes and citation file (#1906)
  • a8cbeaa BUG: solve minimum_rotated_rectangle is incorrect in 2.0.0 (#1708)
  • 93064ab RLS/BLD: also build Python 3.12 wheels for linux aarch64 (#1905)
  • 526b617 Fix for cython 3 compatibility (#1872)
  • 8454d9e REGR: fix eq to not ignore z values (#1829)
  • a5269c7 Prepare for Python 3.12 wheels for 2.0.2 (#1898)
  • 4a6134a Backports for maint-2.0 (#1892)
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)