Skip to content

Wetterdienst Package's dependency `tzfpy` not installable on MacOS

Summary

Attempting to run poetry install [..] on a MacOS M1 python3.10 environment a RuntimeError occurs with following output:

  - Installing tzfpy (0.15.3): Failed

  RuntimeError

  Unable to find installation candidates for tzfpy (0.15.3)

  at ~/.local/pipx/venvs/poetry/lib/python3.10/site-packages/poetry/installation/chooser.py:74 in choose_for
       70│ 
       71│             links.append(link)
       72│ 
       73│         if not links:
    →  74│             raise RuntimeError(f"Unable to find installation candidates for {package}")
       75│ 
       76│         # Get the best link
       77│         chosen = max(links, key=lambda link: self._sort_key(package, link))
       78│ 

Cannot install tzfpy.

This is due to missing wheels and source distribution files on PyPI. A new release that would fix this was announced, after which dependencies should be updated. See PR discussion