IAMconsortium / units

Common unit definitions for integrated assessment research
GNU General Public License v3.0
20 stars 11 forks source link

Improvements and housekeeping for 2024-W15 #48

Open khaeru opened 7 months ago

khaeru commented 7 months ago
codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.61%. Comparing base (e22eab6) to head (d8e2abd).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #48 +/- ## ========================================== + Coverage 75.28% 78.61% +3.32% ========================================== Files 5 5 Lines 174 173 -1 ========================================== + Hits 131 136 +5 + Misses 43 37 -6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

khaeru commented 7 months ago

Actually test against the earliest supported Pint version shown in pyproject.toml.

Here we see:

AttributeError: module 'numpy' has no attribute 'alen'

This was removed in numpy 1.23.0, released 2022-06-23. Numpy 1.22.4 only provides wheels up to Python 3.10.