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

Bump shapely from 1.7.1 to 1.8.0 #1188

Merged
merged 1 commit into from
Oct 27, 2021
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 25, 2021

Bumps shapely from 1.7.1 to 1.8.0.

Release notes

Sourced from shapely's releases.

Shapely 1.8.0 is a transitional version. There are a few bug fixes and new features, but it largely exists to warn about the upcoming changes in 2.0.0. See the new migration guide for more details on how to update your code from Shapely 1.8 to 2.0.

Python version support

Shapely 1.8.0 supports only Python versions >= 3.6. The release is compatible with GEOS versions 3.6-3.10.

Deprecations

The following functions and geometry attributes and methods will be removed in version 2.0.0.

  • ops.cascaded_union
  • BaseGeometry.empty
  • BaseGeometry.ctypes and __array_interface__
  • multi-part geometry __len__
  • setting custom attributes on geometry objects
  • BaseGeometry.almost_exact

Deprecation warnings will be emitted in 1.8.0 when any of these features are used.

The deprecated to_wkb and to_wkt methods of BaseGeometry have been removed.

New features

  • The STRtree nearest* methods now take an optional argument that specifies exclusion of the input geometry from results (#1115).
  • A GeometryTypeError has been added to shapely.errors and is consistently raised instead of TypeError or ValueError as in version 1.7. For backwards compatibility, the new exception will derive from TypeError and Value error until version 2.0 (#1099).
  • The STRtree class constructor now takes an optional second argument, a sequence of objects to be stored in the tree. If not provided, the sequence indices of the geometries will be stored, as before (#1112).
  • The STRtree class has new query_geoms, query_items, nearest_geom, and nearest_item methods (#1112). The query and nearest methods remain as aliases for query_geoms and nearest_geom.
  • A normalize method has been added to geometry classes, exposing the GEOSNormalize algorithm (#1090).
  • STRtree instances have a new default capacity of 10 items per node (#1070).
  • The new shapely.ops.voronoi_diagram computes the Voronoi Diagram of a geometry or geometry collection (#833, #851).
  • shapely.validation.make_valid fixes invalid geometries (#883).

Packaging

The 1.8.0 wheels uploaded to PyPI include GEOS 3.9.1.

Changelog

Sourced from shapely's changelog.

1.8.0 (2021-10-25)

This is the final 1.8.0 release. There have been no changes since 1.8rc2.

1.8rc2 (2021-10-19)

Build:

A pyproject.toml file has been added to specify build dependencies for the _vectorized and _speedups modules (#1128). To install shapely without these build dependencies, use the features of your build tool that disable PEP 517 and 518 support.

Bug fixes:

  • Part of PR #1042, which added a new primary GEOS library name to be searched for, has been reverted by PR #1201.

1.8rc1 (2021-10-04)

Deprecations:

The almost_exact() method of BaseGeometry has been deprecated. It is confusing and will be removed in 2.0.0. The equals_exact() method is to be used instead.

Bug fixes:

  • We ensure that the _speedups module is always imported before _vectorized to avoid an unexplained condition on Windows with Python 3.8 and 3.9 (#1184).

1.8a3 (2021-08-24)

Deprecations:

The STRtree class deprecation warnings have been removed. The class in 2.0.0 will be backwards compatible with the class in 1.8.0.

Bug fixes:

  • The array_interface raises only AttributeError, all other exceptions are deprecated starting with Numpy 1.21 (#1173).
  • The STRtree class now uses a pair of item, geom sequences internally instead of a dict (#1177).

1.8a2 (2021-07-15)

... (truncated)

Commits

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)

Bumps [shapely](https://github.com/Toblerity/Shapely) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/Toblerity/Shapely/releases)
- [Changelog](https://github.com/Toblerity/Shapely/blob/master/CHANGES.txt)
- [Commits](shapely/shapely@1.7.1...1.8.0)

---
updated-dependencies:
- dependency-name: shapely
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 25, 2021
@lbesson lbesson merged commit cd2dbcb into master Oct 27, 2021
@lbesson lbesson deleted the dependabot/pip/shapely-1.8.0 branch October 27, 2021 09:11
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