stac-utils / stactools

Command line utility and Python library for STAC
https://stactools.readthedocs.io/
Other
105 stars 28 forks source link

build(deps): bump shapely from 1.6 to 2.0.0 #378

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps shapely from 1.6 to 2.0.0.

Release notes

Sourced from shapely's releases.

2.0.0

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 https://shapely.readthedocs.io/en/latest/release/2.x.html#version-2-0-0

Relevant changes in behaviour compared to 2.0rc3:

  • Added temporary support for unpickling shapely<2.0 geometries.

2.0rc3

No release notes provided.

2.0rc2

No release notes provided.

2.0rc1

Relevant changes in behaviour compared to 2.0b2:

  • The Point(..) constructor no longer accepts a sequence of coordinates consisting of more than one coordinate pair (previously, subsequent coordinates were ignored) (#1600).
  • Fix performance regression in the LineString() constructor when passing a numpy array of coordinates (#1602).

Wheels for 2.0rc1 published on PyPI include GEOS 3.11.1.

2.0b2

Relevant changes in behaviour compared to 2.0b1:

  • Fix for compatibility with PyPy (#1577).
  • Fix to the Point() constructor to accept arrays of length 1 for the x and y coordinates (fix compatibility with Shapely 1.8).
  • Raise ValueError for non-finite distance in the buffer() and offset_curve() methods on the Geometry classes (consistent with Shapely 1.8).
  • Add __format__ specification for geometry types (#1556).

2.0b1

Relevant changes in behaviour compared to 2.0a1:

  • Renamed the tolerance keyword to max_segment_length in the segmentize function.
  • Renamed the quadsegs keyword in the top-level buffer and offset_curve functions and the resolution keyword in the Geometry class buffer and offset_curve methods all to quad_segs.
  • Added use of GEOSGeom_getExtent to speed up bounds calculations for GEOS >= 3.11.
  • Restored the behaviour of unary_union to return an empty GeometryCollection for an empty or all-None sequence as input (and the same for intersection_all and symmetric_difference_all).
  • Fixed the Geometry objects to be weakref-able again (#1535).
  • The .type attribute is deprecated, use .geom_type instead (which already existed before as well) (#1492).

Wheels for 2.0b1 published on PyPI include GEOS 3.11.0.

2.0a1

Shapely version 2.0 alpha 1 is the first of a major release featuring a complete refactor of the internals and new vectorized (element-wise) array operations providing considerable performance improvements. A full changelog is still underway, and will be included with forthcoming pre-releases for Shapely 2.0.

Packaging

Wheels for 2.0a1 published on PyPI include GEOS 3.10.3.

... (truncated)

Changelog

Sourced from shapely's changelog.

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 https://shapely.readthedocs.io/en/latest/release/2.x.html#version-2-0-0

Relevant changes in behaviour compared to 2.0rc3:

  • Added temporary support for unpickling shapely<2.0 geometries.

2.0rc1 (2022-11-26)

Relevant changes in behaviour compared to 2.0b2:

  • The Point(..) constructor no longer accepts a sequence of coordinates consisting of more than one coordinate pair (previously, subsequent coordinates were ignored) (#1600).
  • Fix performance regression in the LineString() constructor when passing a numpy array of coordinates (#1602).

Wheels for 2.0rc1 published on PyPI include GEOS 3.11.1.

2.0b2 (2022-10-29)

Relevant changes in behaviour compared to 2.0b1:

  • Fix for compatibility with PyPy (#1577).
  • Fix to the Point() constructor to accept arrays of length 1 for the x and y coordinates (fix compatibility with Shapely 1.8).
  • Raise ValueError for non-finite distance in the buffer() and offset_curve() methods on the Geometry classes (consistent with Shapely 1.8).

2.0b1 (2022-10-17)

Relevant changes in behaviour compared to 2.0a1:

  • Renamed the tolerance keyword to max_segment_length in the segmentize function.
  • Renamed the quadsegs keyword in the top-level buffer and offset_curve functions and the resolution keyword in the Geometry class buffer and offset_curve methods all to quad_segs.
  • Added use of GEOSGeom_getExtent to speed up bounds calculations for

... (truncated)

Commits
  • 7c67808 RLS: 2.0.0
  • 31c81be DOC/RLS: update release notes for final 2.0.0 (#1659)
  • ced8260 COMPAT: Add compat for unpickling shapely<2 geometries (#1657)
  • 3a6f7b9 TST: skip intermittent remove_repeated_points failure for GEOS 3.11 (#1656)
  • 0a4435e DOC: Fix typo in from_ragged_array docstring (#1658)
  • 9ec5c16 RLS: 2.0rc3
  • 882bf37 DOC: Improve STRtree docstrings (#1626)
  • eba985c DOC: add note about prepare + touches to contains_xy/intersects_xy docstrings...
  • cc9250e DEV: update valgrind Dockerfile (#1649)
  • a4a65be Fix versioneer configuration (#1654)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 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)
gadomski commented 1 year ago

Closing as not required for now. We may eventually want to force everyone into shapely 2.0 but for now that's pretty distruptive.

dependabot[bot] commented 1 year ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.