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-dev): update geopandas requirement from ~=0.13.0 to >=0.13,<0.15 #594

Merged
merged 4 commits into from
Oct 18, 2023

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on geopandas to permit the latest version.

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 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
@codecov-commenter
Copy link

codecov-commenter commented Sep 18, 2023

Codecov Report

All modified lines are covered by tests ✅

📢 Thoughts on this report? Let us know!.

Updates the requirements on [geopandas](https://github.com/geopandas/geopandas) to permit the latest version.
- [Release notes](https://github.com/geopandas/geopandas/releases)
- [Changelog](https://github.com/geopandas/geopandas/blob/main/CHANGELOG.md)
- [Commits](geopandas/geopandas@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: geopandas
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/geopandas-gte-0.13-and-lt-0.15 branch from c938e31 to 4fb7c61 Compare September 18, 2023 11:42
@gadomski gadomski enabled auto-merge (squash) October 18, 2023 13:39
@gadomski gadomski merged commit 7b6ed4f into main Oct 18, 2023
17 checks passed
@gadomski gadomski deleted the dependabot/pip/geopandas-gte-0.13-and-lt-0.15 branch October 18, 2023 14:56
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.

2 participants