Still further updates to pint master branch compatibility #1261
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description Of Changes
In what is becoming a recurring pattern (#1144, #1250), MetPy has conflicts with the current state of Pint's master branch! This PR
None
s for non-unit arguments with@units.wraps
(without this, pytest will not run due to anImportError
)wet_bulb_temperature
to not assume unit is strippedPINT_ARRAY_PROTOCOL_FALLBACK
environment variable to '0' to disable Pint's problematic__array_struct__
and__array_interface__
fallback (xref Proper handling of__array_*__
attributes/methods hgrecco/pint#924)This is likely needed ASAP, since Pint v0.10 is expected out soon
Checklist