community/poetry: errors when installing dependencies with musllinux wheels
Example:
• Installing coverage (6.3.2): Failed
EnvCommandError
Command ['/home/patrycja/.cache/pypoetry/virtualenvs/test-gdB-MkMa-py3.10/bin/pip', 'install', '--no-deps', 'file:///home/patrycja/.cache/pypoetry/artifacts/ce/68/8e/3562fe03bbfe2934d6929d673d529b600b3374a5f92296def4fca3ee87/coverage-6.3.2-cp310-cp310-musllinux_1_1_x86_64.whl'] errored with the following return code 1, and output:
ERROR: coverage-6.3.2-cp310-cp310-musllinux_1_1_x86_64.whl is not a supported wheel on this platform.
WARNING: You are using pip version 21.1.2; however, version 22.0.4 is available.
You should consider upgrading via the '/home/patrycja/.cache/pypoetry/virtualenvs/test-gdB-MkMa-py3.10/bin/python -m pip install --upgrade pip' command.
Example project:
[tool.poetry]
name = "test"
version = "1.0.0"
description = "test project"
authors = []
license = "MIT"
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
pytest-cov = "^2.8"
[build-system]
requires = []
build-backend = "poetry.core.masonry.api"
backend-path = ["src"]
Edited by Patrycja Rosa