iiasa / message_ix

The integrated assessment and energy systems model MESSAGEix
https://docs.messageix.org
Apache License 2.0
111 stars 149 forks source link

Monitor failures in "Install from conda-forge" workflow with pint 0.24 #851

Open khaeru opened 2 weeks ago

khaeru commented 2 weeks ago

This run of the conda.yaml workflow failed today with messages like:

  File "/Users/runner/work/_actions/iiasa/actions/main/setup-conda/Anaconda3/envs/testenv/lib/python3.9/site-packages/pint/compat.py", line 19, in <module>
    from typing import (
ImportError: cannot import name 'TypeAlias' from 'typing'

Briefly what appears occurred is:

FYI @glatterf42

I expect this issue will fix itself tomorrow, when the next workflow run should see pint 0.24 pyhd8ed1ab_1, which is already on conda-forge, and refuse to install it, preferring pint 0.23 for Python 3.9. We could then close this without doing anything.

Recording here only:

  1. for posterity, and
  2. because this made me notice we could maybe update to newer versions of *conda with newer Pythons for this workflow. This is, however, lower priority, since we now recommend the pip-based install.