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

Use RavenPy v0.11.0 #461

Merged
merged 14 commits into from
Feb 24, 2023
Merged

Use RavenPy v0.11.0 #461

merged 14 commits into from
Feb 24, 2023

Conversation

Zeitsperre
Copy link
Contributor

@Zeitsperre Zeitsperre commented Feb 22, 2023

Overview

Changes:

  • Updated several dependencies to be in sync with ravenpy v0.11.0 (including raven-hydro v3.6)
  • Updated pre-commit hooks
  • Modified (workaround) some processes to reflect breaking changes in fiona v1.9
    • places upper limit below v2.0
  • Updated default pytest-xdist scheduler to use worksteal
  • Added MAIN_TESTDATA_BRANCH as a modifiable env var in main CI workflow

Related Issue / Discussion

The changes in fiona are breaking to python-rasterstats. I needed to hack a workaround for fixing the properties out. Much of this logic should be removed when a new version is released. Zonal statistics processes need to be rewritten from the ground up anyway.

Other changes stemming from the new fiona popped up in a few other places as well. GIS function in RavenPy need to be torn apart and re-written. Good motivation to continue work on RavenGIS.

Additional Information

perrygeo/python-rasterstats#281

@Zeitsperre Zeitsperre added Ouranos dependencies Pull requests that update a dependency file labels Feb 22, 2023
@Zeitsperre Zeitsperre self-assigned this Feb 22, 2023
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@Zeitsperre
Copy link
Contributor Author

@huard

If it works for you, I want to release this version so that we have something stable before I start ripping out a lot of the workarounds to better rewrite some base functions.

Some of the changes in fiona will only be valid for one more version (hence the upper limit in fiona) so I want to move onto those soon.

@Zeitsperre Zeitsperre merged commit 1fe2bf9 into master Feb 24, 2023
@Zeitsperre Zeitsperre deleted the ravenpy_v0110 branch February 24, 2023 21:06
Zeitsperre added a commit that referenced this pull request Aug 17, 2023
## Overview

Changes:

* Updated several dependencies to be in sync with `ravenpy` v0.11.0
(including `raven-hydro` v3.6)
* Updated pre-commit hooks
* Modified (workaround) some processes to reflect breaking changes in
`fiona` v1.9
   * places upper limit below v2.0
* Updated default `pytest-xdist` scheduler to use `worksteal`
* Added `MAIN_TESTDATA_BRANCH` as a modifiable env var in main CI
workflow

## Related Issue / Discussion

The changes in fiona are breaking to `python-rasterstats`. I needed to
hack a workaround for fixing the properties out. Much of this logic
should be removed when a new version is released. Zonal statistics
processes need to be rewritten from the ground up anyway.

Other changes stemming from the new fiona popped up in a few other
places as well. GIS function in RavenPy need to be torn apart and
re-written. Good motivation to continue work on RavenGIS.

## Additional Information

perrygeo/python-rasterstats#281

* **The testing branch of raven-testdata must be modified back to
`master` before merging** (see:
Ouranosinc/raven-testdata#34)
   * Done.
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 Ouranos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants