The STRtree class will be changed in 2.0.0 and will not be compatible with the class in versions 1.8.x. This change obsoletes the deprecation announcement in 1.8a3 (below).
Packaging
Wheels for 1.8.3 published on PyPI include GEOS 3.10.3.
Bug fixes
The signature for GEOSMinimumClearance has been corrected, fixing an issue affecting aarch64-darwin (#1480)
Return and arg types have been corrected and made more strict for area, length, and distance properties.
A new c_geom_p type has been created to replace c_void_p when calling GEOS functions (#1479).
An incorrect polygon-line intersection (#1427) has been fixed in GEOS 3.10.3, which will be included in wheels published to PyPI.
GEOS buffer parameters are now destroyed, fixing a memory leak (#1440).
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).
The STRtree class will be changed in 2.0.0 and will not be compatible with the
class in versions 1.8.x. This change obsoletes the deprecation announcement in
1.8a3 (below).
Packaging:
Wheels for 1.8.3 published on PyPI include GEOS 3.10.3.
Bug fixes:
The signature for GEOSMinimumClearance has been corrected, fixing an issue
affecting aarch64-darwin (#1480)
Return and arg types have been corrected and made more strict for area,
length, and distance properties.
A new c_geom_p type has been created to replace c_void_p when calling GEOS
functions (#1479).
An incorrect polygon-line intersection (#1427) has been fixed in GEOS 3.10.3,
which will be included in wheels published to PyPI.
GEOS buffer parameters are now destroyed, fixing a memory leak (#1440).
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 GEOS yet. Discrepancies in behavior compared to previous
versions are considered to be improvements.
... (truncated)
Commits
3c75483 Warn specifically about removal of STRtree items in 2.0
fd94876 Fix signatures for GEOSArea, Length, Distance
088ce60 Fix return types and arg types for area, length, distance
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 from 1.7.1 to 1.8.3.
Release notes
Sourced from shapely's releases.
... (truncated)
Changelog
Sourced from shapely's changelog.
... (truncated)
Commits
3c75483
Warn specifically about removal of STRtree items in 2.0fd94876
Fix signatures for GEOSArea, Length, Distance088ce60
Fix return types and arg types for area, length, distance73e8fa7
Fix GEOSMinimumClearance signature. (#1480)f25c3ff
BLD: avoid using latest setuptools for building 1.8.x (#1481)3845418
Replace c_void_p with c_geom_p (#1479)ff9818d
CI: macOS-10.15 is deprecated, upgrade to macOS-11 (#1474)632c3b7
Tests run warning free (python -We) (#1471)44cbcc2
Revert removal of strtree deprecation warning (#1470)21c8e8a
CI: add testing for 2022, including GEOS-3.11 (maint-1.8) (#1439)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)