swift-dawn-80732
02/10/2022, 11:48 PMFailed to resolve for platform linux_x86_64-cp-38-cp38. Resolve requires evaluation of unknown environment marker: 'python_full_version' does not exist in evaluation environment.
I'm using Poetry to manage dependencies. I generated the constraints.txt
file running poetry export --dev --without-hashes -o constraints.txt
, and it contains lines like this:
isort==5.10.1; python_full_version >= "3.6.1" and python_version < "4.0"
which makes me believe that's related to the error. Could that be the case? Appreciate your help, thank you!hundreds-father-404
02/10/2022, 11:50 PMswift-dawn-80732
02/10/2022, 11:51 PMenough-analyst-54434
02/11/2022, 12:47 AM[tool.poetry.dependencies]
python
enough-analyst-54434
02/11/2022, 12:47 AMswift-dawn-80732
02/11/2022, 1:06 AM[tool.poetry.dependencies]
python = "^3.9"
boto3 = "1.20.52"
Pillow = "9.0.1"
[tool.poetry.dev-dependencies]
black = "22.1.0"
docformatter = "1.4"
flake8 = "4.0.1"
isort = "5.10.1"
moto = "3.0.3"
mypy = "0.931"
pytest = "7.0.0"
pytest-mock = "3.7.0"
enough-analyst-54434
02/11/2022, 1:08 AMlinux_x86_64-cp-38-cp38
there is not enough information to guess the 3rd Python version part which is what python_full_version
requires; so the failure is correct. It's saying, sorry - won't guess.enough-analyst-54434
02/11/2022, 1:09 AMlinux_x86_64-cp-38-cp38
platform string.enough-analyst-54434
02/11/2022, 1:11 AMisort==5.10.1; python_full_version >= "3.6.1" and python_version < "4.0"
looks like a fairly crazy requirement. That says, grab me isort for Python 3.6.1 but not for Python 3.6.0 which begs th question of why? What do you do on Python 3.6.0 or what is so broken with Python 3.6.0?enough-analyst-54434
02/11/2022, 1:12 AMswift-dawn-80732
02/11/2022, 1:12 AMenough-analyst-54434
02/11/2022, 1:13 AMenough-analyst-54434
02/11/2022, 1:14 AMenough-analyst-54434
02/11/2022, 1:14 AMpoetry export
works. It generates those ~crazy requirement env markers and is the common thread in the 2 issue reports.swift-dawn-80732
02/11/2022, 1:20 AMswift-dawn-80732
02/11/2022, 1:20 AMenough-analyst-54434
02/11/2022, 1:24 AMenough-analyst-54434
02/11/2022, 1:25 AMswift-dawn-80732
02/11/2022, 1:25 AM