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 #325

Merged
merged 1 commit into from
Nov 21, 2021
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 29, 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 29, 2021
@codecov
Copy link

codecov bot commented Oct 29, 2021

Codecov Report

Merging #325 (1ceb177) into master (48c8765) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #325   +/-   ##
=======================================
  Coverage   92.35%   92.35%           
=======================================
  Files          50       50           
  Lines        3989     3989           
  Branches      522      522           
=======================================
  Hits         3684     3684           
  Misses        203      203           
  Partials      102      102           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 48c8765...1ceb177. Read the comment docs.

@dependabot dependabot bot force-pushed the dependabot/pip/shapely-1.8.0 branch from 126bc57 to 4d12673 Compare October 31, 2021 12:39
@abey79
Copy link
Owner

abey79 commented Nov 20, 2021

@dependabot rebase

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/main/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 force-pushed the dependabot/pip/shapely-1.8.0 branch from 4d12673 to 1ceb177 Compare November 20, 2021 18:18
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@abey79 abey79 merged commit 5d54fbe into master Nov 21, 2021
@abey79 abey79 deleted the dependabot/pip/shapely-1.8.0 branch November 21, 2021 09:14
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant