-
Notifications
You must be signed in to change notification settings - Fork 59
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
New pint
version (0.24) breaks units
#1771
Comments
Is there a log we can see somewhere ? |
Running the tests I see the following:
which looks like indeed a pint error, but stemming from The nightly CI of |
I have opened an issue in pint, asking questions about the change hgrecco/pint#2009. |
<!--Please ensure the PR fulfills the following requirements! --> <!-- If this is your first PR, make sure to add your details to the AUTHORS.rst! --> ### Pull Request Checklist: - [x] This PR addresses an already opened issue (for bug fixes / features) - This PR references #1771 - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] (If applicable) Documentation has been added / updated (for bug fixes / features) - [x] CHANGES.rst has been updated (with summary of main changes) - [x] Link to issue (:issue:`number`) and pull request (:pull:`number`) has been added ### What kind of change does this PR introduce? * Pinned `pint` below v0.24 until we have time to adapt to their new API. * Updated the `dependency-review` action ### Does this PR introduce a breaking change? Yes, `pint` is now pinned and `astroid` has been removed from the `environment.yml` (was unused). ### Other information: https://pint.readthedocs.io/en/stable/changes.html
Closed with #1814 |
Description
The latest
pint
is causingxclim
to error-out on import. We need to pin the library and perform a patch release, then adapt to the new API.The text was updated successfully, but these errors were encountered: