-vvv option).When installing poetry with pip install inside the Docker container, pip check command fails.
Dockerfile: https://github.com/wemake-services/wemake-django-template/blob/master/%7B%7Bcookiecutter.project_name%7D%7D/docker/django/Dockerfile
Current solution is to limit the importlib-metadata version to <1.2.0,>=1.1.3 in pyproject.toml
But, I guess the full solution is to remove version restriction from poetry's side.
@sobolevn does this still happen with 1.0.5 in your environment? If yes, can you also provide the failing logs please?
Yes, this still happens:
poetry 1.0.5 has requirement importlib-metadata<1.2.0,>=1.1.3; python_version < "3.8", but you have importlib-metadata 1.6.0.
@abn Bumping this version because I am having the same issues as @sobolevn.
At the moment the version for importlib-metadata is fixed to ~1.1.3. I guess we can set it to ^1.1.3, can we @sdispater ?
Maybe even >=1.1.3?
Hello,
in the current preview release (1.1.0b3) the importlib-metadata dependency is defined as importlib-metadata = {version = "^1.6.0", python = "<3.8"}.
So this issue should be fixed.
fin swimmer
Most helpful comment
Yes, this still happens: