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

build(deps): bump geopandas from 0.13.2 to 0.14.0 #816

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 18, 2023

Bumps geopandas from 0.13.2 to 0.14.0.

Release notes

Sourced from geopandas's releases.

v0.14.0

GeoPandas will use Shapely 2.0 by default instead of PyGEOS when both Shapely >= 2.0 and PyGEOS are installed. PyGEOS will continue to be used by default when PyGEOS is installed alongside Shapely < 2.0. Support for PyGEOS and Shapely < 2.0 will be removed in GeoPandas 1.0. (#2999)

API changes:

  • seed keyword in sample_points is deprecated. Use rng instead. (#2913).

New methods:

  • Added concave_hull method from shapely to GeoSeries/GeoDataframe (#2903).
  • Added delaunay_triangles method from shapely to GeoSeries/GeoDataframe (#2907).
  • Added extract_unique_points method from shapely to GeoSeries/GeoDataframe (#2915).
  • Added frechet_distance() method from shapely to GeoSeries/GeoDataframe (#2929).
  • Added hausdorff_distance method from shapely to GeoSeries/GeoDataframe (#2909).
  • Added minimum_rotated_rectangle method from shapely to GeoSeries/GeoDataframe (#2541).
  • Added offset_curve method from shapely to GeoSeries/GeoDataframe (#2902).
  • Added remove_repeated_points method from shapely to GeoSeries/GeoDataframe (#2940).
  • Added reverse method from shapely to GeoSeries/GeoDataframe (#2988).
  • Added segmentize method from shapely to GeoSeries/GeoDataFrame (#2910).
  • Added shortest_line method from shapely to GeoSeries/GeoDataframe (#2960).

New features and improvements:

  • Added exclusive parameter to sjoin_nearest method for Shapely >= 2.0 (#2877)
  • The to_file() method will now automatically detect the FlatGeoBuf driver for files with the .fgb extension (#2958)

Bug fixes:

  • Fix ambiguous error when GeoDataFrame is initialized with a column called "crs" (#2944)
  • Fix a color assignment in explore when using UserDefined bins (#2923)
  • Fix bug in apply with axis=1 where the given user defined function returns nested data in the geometry column (#2959)
  • Properly infer schema for np.int32 and pd.Int32Dtype columns (#2950)
  • assert_geodataframe_equal now handles GeoDataFrames with no active geometry (#2498)

Notes on (optional) dependencies:

  • GeoPandas 0.14 drops support for Python 3.8 and pandas 1.3 and below (the minimum supported pandas version is now 1.4). Further, the minimum required versions for the listed dependencies have now changed to shapely 1.8.0, fiona 1.8.21, pyproj 3.3.0 and matplotlib 3.5.0 (#3001)

Deprecations and compatibility notes:

  • geom_almost_equals() methods have been deprecated and geom_equals_exact() should be used instead (#2604).

... (truncated)

Changelog

Sourced from geopandas's changelog.

Changelog

Version 0.14 (Sep 15, 2023)

GeoPandas will use Shapely 2.0 by default instead of PyGEOS when both Shapely >= 2.0 and PyGEOS are installed. PyGEOS will continue to be used by default when PyGEOS is installed alongside Shapely < 2.0. Support for PyGEOS and Shapely < 2.0 will be removed in GeoPandas 1.0. (#2999)

API changes:

  • seed keyword in sample_points is deprecated. Use rng instead. (#2913).

New methods:

  • Added concave_hull method from shapely to GeoSeries/GeoDataframe (#2903).
  • Added delaunay_triangles method from shapely to GeoSeries/GeoDataframe (#2907).
  • Added extract_unique_points method from shapely to GeoSeries/GeoDataframe (#2915).
  • Added frechet_distance() method from shapely to GeoSeries/GeoDataframe (#2929).
  • Added hausdorff_distance method from shapely to GeoSeries/GeoDataframe (#2909).
  • Added minimum_rotated_rectangle method from shapely to GeoSeries/GeoDataframe (#2541).
  • Added offset_curve method from shapely to GeoSeries/GeoDataframe (#2902).
  • Added remove_repeated_points method from shapely to GeoSeries/GeoDataframe (#2940).
  • Added reverse method from shapely to GeoSeries/GeoDataframe (#2988).
  • Added segmentize method from shapely to GeoSeries/GeoDataFrame (#2910).
  • Added shortest_line method from shapely to GeoSeries/GeoDataframe (#2960).

New features and improvements:

  • Added exclusive parameter to sjoin_nearest method for Shapely >= 2.0 (#2877)
  • The to_file() method will now automatically detect the FlatGeoBuf driver for files with the .fgb extension (#2958)

Bug fixes:

  • Fix ambiguous error when GeoDataFrame is initialized with a column called "crs" (#2944)
  • Fix a color assignment in explore when using UserDefined bins (#2923)
  • Fix bug in apply with axis=1 where the given user defined function returns nested data in the geometry column (#2959)
  • Properly infer schema for np.int32 and pd.Int32Dtype columns (#2950)
  • assert_geodataframe_equal now handles GeoDataFrames with no active geometry (#2498)

Notes on (optional) dependencies:

  • GeoPandas 0.14 drops support for Python 3.8 and pandas 1.3 and below (the minimum supported pandas version is now 1.4). Further, the minimum required versions for the listed dependencies have now changed to shapely 1.8.0, fiona 1.8.21, pyproj 3.3.0 and matplotlib 3.5.0 (#3001)

Deprecations and compatibility notes:

... (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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 18, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/geopandas-0.14.0 branch from 149f1dc to 32444a2 Compare September 22, 2023 15:44
@david-code
Copy link
Contributor

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 22, 2023

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@david-code
Copy link
Contributor

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/pip/geopandas-0.14.0 branch from 32444a2 to 4024391 Compare September 22, 2023 16:53
@david-code david-code force-pushed the dependabot/pip/geopandas-0.14.0 branch from 4024391 to ec6ef90 Compare September 22, 2023 17:19
@david-code david-code force-pushed the dependabot/pip/geopandas-0.14.0 branch from e9c60bd to 3e1a7f6 Compare September 22, 2023 18:58
@david-code david-code merged commit 36ebc97 into main Sep 22, 2023
6 checks passed
@david-code david-code deleted the dependabot/pip/geopandas-0.14.0 branch September 22, 2023 19:16
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