Skip to content
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

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

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 9, 2023

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 <dependency name> 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 9, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/shapely-gte-2.0-and-lt-2.0.3 branch 3 times, most recently from 3834830 to 0698639 Compare November 9, 2023 14:11
Updates the requirements on [shapely](https://github.com/shapely/shapely) to permit the latest version.
- [Release notes](https://github.com/shapely/shapely/releases)
- [Changelog](https://github.com/shapely/shapely/blob/main/CHANGES.txt)
- [Commits](shapely/shapely@2.0.0...2.0.2)

---
updated-dependencies:
- dependency-name: shapely
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/shapely-gte-2.0-and-lt-2.0.3 branch from 0698639 to 022b8d6 Compare November 13, 2023 09:12
@CKrawczyk CKrawczyk merged commit a609ba1 into master Nov 13, 2023
8 checks passed
@CKrawczyk CKrawczyk deleted the dependabot/pip/shapely-gte-2.0-and-lt-2.0.3 branch November 13, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant