glidernet / ogn-python

A gateway with built-in database for the Open Glider Network (OGN)
http://glidernet.org
GNU Affero General Public License v3.0
17 stars 4 forks source link

Bump shapely from 1.7.1 to 1.8.2 #147

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps shapely from 1.7.1 to 1.8.2.

Release notes

Sourced from shapely's releases.

1.8.2

Version 1.8.2 fixes 3 bugs, one of them a significant memory leak in shapely.ops.nearest_points. We have more built distributions in https://pypi.org/project/Shapely/1.8.2/#files than ever before. In a nutshell, Pythons 3.6-3.10 for older platforms, and Pythons 3.8-3.10 for newer platforms including arm64 linux. Only Pythons 3.9 and 3.10 are supported on arm64 macos. All these built distributions include GEOS 3.10.2.

1.8.1.post1

No release notes provided.

1.8.1

No release notes provided.

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.2 (2022-05-03)

  • Make Polygons and MultiPolygons closed by definition, like LinearRings. Resolves #1246.
  • Perform frozen app check for GEOS before conda env check on macos as we already do on linux (#1301).
  • Fix leak of GEOS coordinate sequence in nearest_points reported in #1098.

1.8.1.post1 (2022-02-17)

This post-release addresses a defect in the 1.8.1 source distribution. No .c files are included in the 1.8.1.post1 sdist and Cython is required to build and install from source.

1.8.1 (2022-02-16)

Packaging:

Wheels for 1.8.1 published on PyPI include GEOS 3.10.2. This version is the best version of GDAL yet. Discrepancies in behavior compared to previous versions are considered to be improvements.

For the first time, we will publish wheels for macos_arm64 (see PR #1310).

Python version support:

Shapely 1.8.1 works with Pythons 3.6-3.10.

Bug fixes:

  • Require Cython >= 0.29.24 to support Python 3.10 (#1224).
  • Fix array_interface_base (#1235).

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.

... (truncated)

Commits
  • 15e748b This is 1.8.2
  • 7cb0bf0 Make Polygons and MultiPolygons closed by definition
  • c04f8c6 Do frozen app check for GEOS before conda env check on macos
  • 7a63b45 Delete allocated coordinate sequence in nearest_points
  • 50d4315 Add Python 3.10 wheels for additional platforms (#1367)
  • 4a82b0d CI: upgrade GEOS 3.10.1 (2021-11-02) to 3.10.2 (2022-01-15) (#1347)
  • 77886dc Remove asterisk from change log
  • 9254f4a This is 1.8.1.post1 really
  • 9564ea8 Good bye .c files (#1321)
  • 712135b Remove CFLAGS
  • 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)
dependabot[bot] commented 2 years ago

Superseded by #167.