Skip to content

Commit

Permalink
chore(deps): Bump shapely in /flooding/Sentinel2_Water_Extraction
Browse files Browse the repository at this point in the history
Bumps [shapely](https://github.com/shapely/shapely) from 1.8.5.post1 to 2.0.0.
- [Release notes](https://github.com/shapely/shapely/releases)
- [Changelog](https://github.com/shapely/shapely/blob/main/CHANGES.txt)
- [Commits](shapely/shapely@1.8.5.post1...2.0.0)

---
updated-dependencies:
- dependency-name: shapely
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

fix: Add GEOS to shapely dependencies

Upstreamed as <nix-community/poetry2nix#879>.
  • Loading branch information
dependabot[bot] authored and kodiakhq[bot] committed Jan 30, 2023
1 parent f51aa90 commit 2a21674
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 49 deletions.
97 changes: 49 additions & 48 deletions flooding/sentinel2_water_extraction/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions flooding/sentinel2_water_extraction/poetryPackages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,15 @@ pkgs.poetry2nix.mkPoetryPackages {
];
}
);
shapely = super.shapely.overridePythonAttrs (
# https://github.com/nix-community/poetry2nix/pull/879
old: {
nativeBuildInputs =
(old.nativeBuildInputs or [])
++ [
pkgs.geos
];
}
);
});
}
2 changes: 1 addition & 1 deletion flooding/sentinel2_water_extraction/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jupyter = "*"
matplotlib = "*"
rio-tiler = "*"
sat-search = "*"
shapely = "<2"
shapely = "<3"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 2a21674

Please sign in to comment.