-
Notifications
You must be signed in to change notification settings - Fork 11
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
"Unknown conversion specified" in test suite with pint 0.18 #31
Comments
Can we add some information on how the tests fail, and what exactly was the offending change in Pint (e.g. a link to the changelog)? Introducing pins in setup.cfg is not totally verboten, but shouldn't be done without first considering how difficult it would be to immediately follow changes upstream. If the answer is "very difficult," then we can consider it. |
Since this is blocking #34, just opened, I will do it. |
The error messages (e.g. here) look like:
I also see in places:
|
The changelog for pint 0.18 is here. Nothing jumps out. But someone opened hgrecco/pint#1407 2 days after this issue, so it appears to be an unanticipated breakage and possibly headed towards resolution. |
@phackstock if you also want to monitor for pint 0.18.1 and, once it's released, make another PR to revert #32, then we can approve and merge that PR. Otherwise, I'd prefer to wait 🙂 |
I'm not sure I interpret the discussion in the pint-repo (hgrecco/pint#1407) that this was an unanticipated change to be resolved soon - sounds to me like they'll just reinsert and properly deprecate the breaking change. So I suggest that we add the pin, and @phackstock puts it on his to-do list for next week to investigate how this can be properly fixed. |
I subscribed to the issue and set 'watch' for new releases so I should be notified if anything changes there. |
If the change is permanent, then we should adjust to it. I went ahead and looked, and it turns out that's simple. See #35. |
A new version of pint (0.18) was released last week (2021.10.26), which caused the pyam tests connected to units to fail.
An easy and quick fix would be to pin the version of
pint <= 0.17
.Additionally, it might be a good idea to set up nightly tests that run at least once a week so that we catch these dependency changes.
The text was updated successfully, but these errors were encountered: