---
title: "shapely 2.2.0 Breaking Changes on PyPI | Since.dev"
description: "What each shapely release removed, renamed or changed: 68 breaking changes in 4 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/shapely
last_updated: 2026-12-04
---

# shapely breaking changes

shapely 2.2.0 (October 7, 2026) is its newest release with breaking changes, 39 of them. The first: shapely 2.2.0 requires Python 3.11 or later. Every breaking API change we have recorded in shapely on PyPI: 68 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.2.0`, released October 7, 2026. [Source repository](https://github.com/shapely/shapely)

Its 2.2.0 release requires [Python 3.11](https://since.dev/calendar/python/3.11.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.0.0](#v-2-0-0) to [2.2.0](#v-2-2-0): 39 breaking changes in 1 version.

## shapely 2.2.0 breaking changes

shapely 2.2.0, released October 7, 2026: 39 breaking changes.

- **Removed**  

Shapely 2.2 only supports Python 3.11 and later, so code running on older Python versions must upgrade Python before installing this release. [github.com](https://github.com/shapely/shapely/releases/tag/2.2.0)
- **Signature changed** `shapely.geometry.base.BaseGeometry.__new__`  

Was def \_\_new\_\_(self); now def \_\_new\_\_(cls). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.GeometryCollection.__new__`  

Was def \_\_new\_\_(self, geoms=None); now def \_\_new\_\_(cls, geoms=None). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.LineString.__new__`  

Was def \_\_new\_\_(self, coordinates=None); now def \_\_new\_\_(cls, coordinates=None). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.MultiLineString.__new__`  

Was def \_\_new\_\_(self, lines=None); now def \_\_new\_\_(cls, lines=None). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.MultiPoint.__new__`  

Was def \_\_new\_\_(self, points=None); now def \_\_new\_\_(cls, points=None). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.MultiPolygon.__new__`  

Was def \_\_new\_\_(self, polygons=None); now def \_\_new\_\_(cls, polygons=None). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.Point.__new__`  

Was def \_\_new\_\_(self, \*args); now def \_\_new\_\_(cls, \*args). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.Polygon.__new__`  

Was def \_\_new\_\_(self, shell=None, holes=None); now def \_\_new\_\_(cls, shell=None, holes=None). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.common.ignore_invalid`  

Was def ignore_invalid(condition=True); now def ignore_invalid(condition=True, divide=False). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.geometry.test_equality.ignore_invalid`  

Was def ignore_invalid(condition=True); now def ignore_invalid(condition=True, divide=False). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_constructive.ignore_invalid`  

Was def ignore_invalid(condition=True); now def ignore_invalid(condition=True, divide=False). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_coordinates.test_transform`  

Was def test_transform(geoms, include_z, interleaved); now def test_transform(geoms, include_z, interleaved, transformation, transform_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_coordinates.test_transform_0dim`  

Was def test_transform_0dim(); now def test_transform_0dim(transform_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_coordinates.test_transform_auto_coordinate_dimension`  

Was def test_transform_auto_coordinate_dimension(geom, expected); now def test_transform_auto_coordinate_dimension(geom, expected, transform_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_coordinates.test_transform_auto_coordinate_dimension_mixed`  

Was def test_transform_auto_coordinate_dimension_mixed(); now def test_transform_auto_coordinate_dimension_mixed(transform_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_coordinates.test_transform_auto_coordinate_dimension_mixed_interleaved`  

Was def test_transform_auto_coordinate_dimension_mixed_interleaved(); now def test_transform_auto_coordinate_dimension_mixed_interleaved(transform_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_coordinates.test_transform_correct_coordinate_dimension`  

Was def test_transform_correct_coordinate_dimension(); now def test_transform_correct_coordinate_dimension(transform_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_coordinates.test_transform_empty_preserve_z`  

Was def test_transform_empty_preserve_z(geom); now def test_transform_empty_preserve_z(geom, transform_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_coordinates.test_transform_no_geoms`  

Was def test_transform_no_geoms(); now def test_transform_no_geoms(transform_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_creation.ignore_invalid`  

Was def ignore_invalid(condition=True); now def ignore_invalid(condition=True, divide=False). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_geometry.ignore_invalid`  

Was def ignore_invalid(condition=True); now def ignore_invalid(condition=True, divide=False). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_linear.test_shortest_line`  

Was def test_shortest_line(prepare); now def test_shortest_line(prepare, func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_linear.test_shortest_line_empty`  

Was def test_shortest_line_empty(prepare); now def test_shortest_line_empty(prepare, func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_linear.test_shortest_line_none`  

Was def test_shortest_line_none(prepare); now def test_shortest_line_none(prepare, func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_measurement.ignore_invalid`  

Was def ignore_invalid(condition=True); now def ignore_invalid(condition=True, divide=False). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_measurement.test_frechet_distance_densify`  

Was def test_frechet_distance_densify(geom1, geom2, densify, expected); now def test_frechet_distance_densify(func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_measurement.test_hausdorff_distance_densify`  

Was def test_hausdorff_distance_densify(); now def test_hausdorff_distance_densify(func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_misc.test_multithreading_enabled_ok`  

Was def test_multithreading_enabled_ok(args, kwargs); now def test_multithreading_enabled_ok(args, kwargs, multithreading_enabled_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_misc.test_multithreading_enabled_preserves_flag`  

Was def test_multithreading_enabled_preserves_flag(); now def test_multithreading_enabled_preserves_flag(multithreading_enabled_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_misc.test_multithreading_enabled_raises_arg`  

Was def test_multithreading_enabled_raises_arg(); now def test_multithreading_enabled_raises_arg(multithreading_enabled_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_misc.test_multithreading_enabled_raises_kwarg`  

Was def test_multithreading_enabled_raises_kwarg(); now def test_multithreading_enabled_raises_kwarg(multithreading_enabled_func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_predicates.ignore_invalid`  

Was def ignore_invalid(condition=True); now def ignore_invalid(condition=True, divide=False). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_predicates.test_is_prepared_false`  

Was def test_is_prepared_false(geometry); now def test_is_prepared_false(geometry, func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_predicates.test_is_prepared_true`  

Was def test_is_prepared_true(geometry); now def test_is_prepared_true(geometry, func). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_predicates.test_relate`  

Was def test_relate(); now def test_relate(prepared). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_predicates.test_relate_pattern`  

Was def test_relate_pattern(); now def test_relate_pattern(prepared). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_set_operations.ignore_invalid`  

Was def ignore_invalid(condition=True); now def ignore_invalid(condition=True, divide=False). [pypi.org](https://pypi.org/project/shapely/2.2.0/)
- **Signature changed** `shapely.tests.test_strtree.ignore_invalid`  

Was def ignore_invalid(condition=True); now def ignore_invalid(condition=True, divide=False). [pypi.org](https://pypi.org/project/shapely/2.2.0/)

## shapely 2.0.0 breaking changes

shapely 2.0.0, released December 12, 2022: 23 breaking changes.

- **Signature changed** `shapely.algorithms.cga.is_ccw_impl`  

Was def is_ccw_impl(name); now def is_ccw_impl(name=None). [pypi.org](https://pypi.org/project/shapely/2.0.0/)
- **Signature changed** `shapely.coords.CoordinateSequence.__init__`  

Was def \_\_init\_\_(self, parent); now def \_\_init\_\_(self, coords). [pypi.org](https://pypi.org/project/shapely/2.0.0/)
- **Signature changed** `shapely.errors.GeometryTypeError`  

Was class GeometryTypeError(ShapelyError, TypeError, ValueError); now class GeometryTypeError(ShapelyError). [pypi.org](https://pypi.org/project/shapely/2.0.0/)
- **Signature changed** `shapely.geometry.base.BaseGeometry`  

Was class BaseGeometry; now class BaseGeometry(shapely.Geometry). [pypi.org](https://pypi.org/project/shapely/2.0.0/)
- **Signature changed** `shapely.geometry.base.BaseGeometry.buffer`  

Was def buffer(self, distance, resolution=16, quadsegs=None, cap_style=CAP_STYLE.round, join_style=JOIN_STYLE.round, mitre_limit=5.0, single_sided=False); now def buffer(self, distance, quad_segs=16, cap_style='round', join_style='round'... [pypi.org](https://pypi.org/project/shapely/2.0.0/)
- **Signature changed** `shapely.geometry.base.BaseGeometry.difference`  

Was def difference(self, other); now def difference(self, other, grid_size=None). [pypi.org](https://pypi.org/project/shapely/2.0.0/)
- **Signature changed** `shapely.geometry.base.BaseGeometry.intersection`  

Was def intersection(self, other); now def intersection(self, other, grid_size=None). [pypi.org](https://pypi.org/project/shapely/2.0.0/)
- **Signature changed** `shapely.geometry.base.BaseGeometry.symmetric_difference`  

Was def symmetric_difference(self, other); now def symmetric_difference(self, other, grid_size=None). [pypi.org](https://pypi.org/project/shapely/2.0.0/)
- **Signature changed** `shapely.geometry.base.BaseGeometry.union`  

Was def union(self, other); now def union(self, other, grid_size=None). [pypi.org](https://pypi.org/project/shapely/2.0.0/)
- **Signature changed** `shapely.geometry.base.CoordinateSequence.__init__`  

Was def \_\_init\_\_(self, parent); now def \_\_init\_\_(self, coords). [pypi.org](https://pypi.org/project/shapely/2.0.0/)

And 13 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## shapely 2.0rc1 breaking changes

shapely 2.0rc1, released December 12, 2022: 1 breaking change.

- **Behavior changed** `Point`  

Point() no longer accepts a sequence with more than one coordinate pair; previously extra coordinates were silently ignored. [github.com](https://github.com/shapely/shapely/releases/tag/2.0rc1)

## shapely 2.0b1 breaking changes

shapely 2.0b1, released December 12, 2022: 5 breaking changes.

- **Renamed** `Geometry.buffer`  

The resolution keyword of the Geometry buffer and offset_curve methods is now quad_segs. [github.com](https://github.com/shapely/shapely/releases/tag/2.0b1)
- **Renamed** `Geometry.offset_curve`  

The resolution keyword of the Geometry buffer and offset_curve methods is now quad_segs. [github.com](https://github.com/shapely/shapely/releases/tag/2.0b1)
- **Renamed** `shapely.buffer`  

The quadsegs keyword of the top-level buffer and offset_curve functions is now quad_segs. [github.com](https://github.com/shapely/shapely/releases/tag/2.0b1)
- **Renamed** `shapely.offset_curve`  

The quadsegs keyword of the top-level buffer and offset_curve functions is now quad_segs. [github.com](https://github.com/shapely/shapely/releases/tag/2.0b1)
- **Renamed** `shapely.segmentize`  

The tolerance keyword of segmentize is now called max_segment_length. Update calls that pass tolerance by keyword. [github.com](https://github.com/shapely/shapely/releases/tag/2.0b1)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
