Проблема с зависимостями pipenv не показана на графике pipenv - PullRequest
0 голосов
/ 19 октября 2018

Попытка запустить pipenv install вызывает конфликт с urllib3.

╰─ pipenv install
Warning: Your Pipfile requires python_version 3.7, but you are using 3.6.5 (/Users/n/.local/share/v/c/bin/python).
  $ pipenv check will surely fail.
Pipfile.lock (4160fd) out of date, updating to (cc2997)...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches urllib3<1.24,<1.25,==1.24,>=1.20,>=1.21.1 (from -r /var/folders/28/b5kmpr2d36b_bmvl__byz6580000gn/T/pipenv-lfd57274-requirements/pipenv-8lzweg6z-constraints.txt (line 11))
Tried: 0.3, 1.0, 1.0.1, 1.0.2, 1.1, 1.2, 1.2.1, 1.2.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.7.1, 1.8, 1.8.2, 1.8.3, 1.9, 1.9.1, 1.9.1, 1.10, 1.10, 1.10.1, 1.10.1, 1.10.2, 1.10.2, 1.10.3, 1.10.3, 1.10.4, 1.10.4, 1.11, 1.11, 1.12, 1.12, 1.13, 1.13, 1.13.1, 1.13.1, 1.14, 1.14, 1.15, 1.15, 1.15.1, 1.15.1, 1.16, 1.16, 1.17, 1.17, 1.18, 1.18, 1.18.1, 1.18.1, 1.19, 1.19, 1.19.1, 1.19.1, 1.20, 1.20, 1.21, 1.21, 1.21.1, 1.21.1, 1.22, 1.22, 1.23, 1.23, 1.24, 1.24
There are incompatible versions in the resolved dependencies.

Запуск pipenv install --skip-lock и pipenv graph --reverse дает мне следующее для urllib3:

urllib3==1.23
  - botocore==1.12.27 [requires: urllib3>=1.20,<1.24]
    - boto3==1.9.27 [requires: botocore>=1.12.27,<1.13.0]
      - django-s3-storage==0.12.4 [requires: boto3>=1.4.4,<2]
    - s3transfer==0.1.13 [requires: botocore>=1.3.0,<2.0.0]
      - boto3==1.9.27 [requires: s3transfer>=0.1.10,<0.2.0]
        - django-s3-storage==0.12.4 [requires: boto3>=1.4.4,<2]
  - requests==2.20.0 [requires: urllib3>=1.21.1,<1.25]
    - plotly==3.1.0 [requires: requests]

Откуда ==1.24 в таком случае?Это кажется противоречивой версией.Я неправильно понимаю, как работает команда graph?

...