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

Update hydromt requirement from <0.10,>=0.9.1 to >=0.9.1,<0.11 #201

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 17, 2024

Updates the requirements on hydromt to permit the latest version.

Release notes

Sourced from hydromt's releases.

v0.10.0

New

  • New PredefinedCatalog class to handle predefined catalog version based on pooch registry files. (#849)

Changed

  • Development environment is now set up via pixi instead of mamba / conda. See the documentation for more information on how to install.
  • Use the native data CRS when determining zoom levels over the data catalog crs. (#851)
  • Improved flw.d8_from_dem method with different options to use river vector data to aid the flow direction derivation. (#305)
  • DataCatalog.predefined_catalogs retrieves predefined_catalogs specified in predefined_catalogs.py. There is no need for setting the predefined_catalogs anymore. (#844)

Fixed

  • Bug in raster.transform with lazy coordinates. (#801)
  • Bug in workflows.mesh.mesh2d_from_rasterdataset with multi-dimensional coordinates. (#843)
  • Bug in MeshModel.get_mesh after xugrid update to 0.9.0. (#848)
  • Bug in raster.clip_bbox when bbox doesn't overlap with raster. (#860)
  • Allow for string format in zoom_level path, e.g. {zoom_level:02d} (#851)
  • Fixed incorrect renaming of single variable raster datasets (#883)
  • Provide better error message for 0D geometry arrays in GeoDataset (#885)
  • Fixed index error when the number of peaks varies between stations in get_hydrographs method (#933)

Deprecated

  • The DataCatalog.from_archive method is deprecated. Use DataCatalog.from_yml with the root pointing to the archive instead. (#849)
Changelog

Sourced from hydromt's changelog.

v0.10.0 (2024-06-14)

New

  • New PredefinedCatalog class to handle predefined catalog version based on pooch registry files. (#849)

Changed

  • Development environment is now set up via pixi instead of mamba / conda. See the documentation for more information on how to install.
  • Use the native data CRS when determining zoom levels over the data catalog crs. (#851)
  • Improved flw.d8_from_dem method with different options to use river vector data to aid the flow direction derivation. (#305)
  • DataCatalog.predefined_catalogs retrieves predefined_catalogs specified in predefined_catalogs.py. There is no need for setting the predefined_catalogs anymore. (#844)

Fixed

  • Bug in raster.transform with lazy coordinates. (#801)
  • Bug in workflows.mesh.mesh2d_from_rasterdataset with multi-dimensional coordinates. (#843)
  • Bug in MeshModel.get_mesh after xugrid update to 0.9.0. (#848)
  • Bug in raster.clip_bbox when bbox doesn't overlap with raster. (#860)
  • Allow for string format in zoom_level path, e.g. {zoom_level:02d} (#851)
  • Fixed incorrect renaming of single variable raster datasets (#883)
  • Provide better error message for 0D geometry arrays in GeoDataset (#885)
  • Fixed index error when the number of peaks varies between stations in get_hydrographs method (#933)

Deprecated

  • The DataCatalog.from_archive method is deprecated. Use DataCatalog.from_yml with the root pointing to the archive instead. (#849)

v0.9.4 (2024-02-26)

This release fixes a performance regression when reading geometry masks, relaxed warnings for empty raster datasets and updated the documention of the new hydromt commands.

Fixed

  • Added back geometry mask when reading vector files with fiona as engine/ driver. (#777)
  • Relaxed empty data checking on RasterDatasetAdapter. (#782)
  • Add documentation for hydromt check and hydromt export commands. (#767)

v0.9.3 (2024-02-08)

This release fixes several bugs. Most notably the NoDataSrategy is available in much more data reading methods so plugins can use it more directly. Additionally there are some bug fixes relating to reading shapefiles and reading COGs.

Added

  • Test script for testing predefined catalogs locally. (#735)
  • Option to write a data catalog to a csv file (#425)

... (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)

Updates the requirements on [hydromt](https://github.com/Deltares/hydromt) to permit the latest version.
- [Release notes](https://github.com/Deltares/hydromt/releases)
- [Changelog](https://github.com/Deltares/hydromt/blob/main/docs/changelog.rst)
- [Commits](Deltares/hydromt@v0.9.1...v0.10.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 17, 2024
@DirkEilander
Copy link
Contributor

It seems we need to limit numpy to <2.0 (v2 was just released this weekend) as there are some downstream issues in bottleneck (a hydromt core dependency) that do not work with this version yet. bottleneck release 1.4 should fix this.

FYI: @savente93 you will likely see the same in core.

@DirkEilander DirkEilander requested a review from roeldegoede June 17, 2024 05:54
@DirkEilander DirkEilander merged commit 0893a8e into main Jun 17, 2024
6 checks passed
@DirkEilander DirkEilander deleted the dependabot/pip/hydromt-gte-0.9.1-and-lt-0.11 branch June 17, 2024 05:55
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant