biolink / biolink-model-toolkit

A collection of useful python functions for looking up information and working with the Biolink Model
https://biolink.github.io/biolink-model-toolkit/
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

Can't install requirements #71

Closed cbizon closed 2 years ago

cbizon commented 2 years ago

Starting with a clean (conda) environment, python=3.9

pip install -r requirements.txt

goes along ok for a while, and then it starts having trouble finding valid versions of things (here flake8):

Collecting flake8
  Using cached flake8-4.0.0-py2.py3-none-any.whl (64 kB)
  Using cached flake8-3.9.2-py2.py3-none-any.whl (73 kB)
Collecting pyflakes<2.4.0,>=2.3.0
  Using cached pyflakes-2.3.1-py2.py3-none-any.whl (68 kB)
Collecting pycodestyle<2.8.0,>=2.7.0
  Using cached pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
Collecting flake8
  Using cached flake8-3.9.1-py2.py3-none-any.whl (73 kB)
  Using cached flake8-3.9.0-py2.py3-none-any.whl (73 kB)
  Using cached flake8-3.8.4-py2.py3-none-any.whl (72 kB)
Collecting pycodestyle<2.7.0,>=2.6.0a1
  Using cached pycodestyle-2.6.0-py2.py3-none-any.whl (41 kB)
Collecting pyflakes<2.3.0,>=2.2.0
  Using cached pyflakes-2.2.0-py2.py3-none-any.whl (66 kB)
Collecting flake8
  Using cached flake8-3.8.3-py2.py3-none-any.whl (72 kB)
  Using cached flake8-3.8.2-py2.py3-none-any.whl (72 kB)
INFO: pip is looking at multiple versions of flake8 to determine which version is compatible with other requirements. This could take a while.
  Using cached flake8-3.8.1-py2.py3-none-any.whl (72 kB)
  Using cached flake8-3.8.0-py2.py3-none-any.whl (72 kB)
  Using cached flake8-3.7.9-py2.py3-none-any.whl (69 kB)
Collecting pycodestyle<2.6.0,>=2.5.0
  Using cached pycodestyle-2.5.0-py2.py3-none-any.whl (51 kB)
Collecting entrypoints<0.4.0,>=0.3.0
  Using cached entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting pyflakes<2.2.0,>=2.1.0
  Using cached pyflakes-2.1.1-py2.py3-none-any.whl (59 kB)
Collecting flake8
  Using cached flake8-3.7.8-py2.py3-none-any.whl (70 kB)
  Using cached flake8-3.7.7-py2.py3-none-any.whl (68 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
  Using cached flake8-3.7.6-py2.py3-none-any.whl (68 kB)
...
  Using cached flake8-2.2.5.tar.gz (28 kB)
  Using cached flake8-2.2.4.tar.gz (32 kB)
  Using cached flake8-2.2.3-py2.py3-none-any.whl (19 kB)
  Using cached flake8-2.2.2-py2.py3-none-any.whl (19 kB)
  Using cached flake8-2.2.1-py2.py3-none-any.whl (19 kB)
  Using cached flake8-2.2.0-py2.py3-none-any.whl (18 kB)
  Using cached flake8-2.1.0.tar.gz (25 kB)
  Using cached flake8-2.0.tar.gz (10 kB)
  Using cached flake8-1.7.0.tar.gz (42 kB)
  Using cached flake8-1.6.2.tar.gz (39 kB)
  Using cached flake8-1.6.1.tar.gz (41 kB)
  Using cached flake8-1.6.tar.gz (41 kB)
  Using cached flake8-1.5.tar.gz (37 kB)
  Using cached flake8-1.4.tar.gz (33 kB)
  Using cached flake8-1.3.1.tar.gz (30 kB)
  Using cached flake8-1.3.tar.gz (30 kB)
  Using cached flake8-1.2.tar.gz (30 kB)
  Using cached flake8-1.1.tar.gz (27 kB)
  Using cached flake8-1.0.tar.gz (40 kB)
  Using cached flake8-0.9.tar.gz (26 kB)
  Using cached flake8-0.8.tar.gz (24 kB)
  Using cached flake8-0.7.tar.gz (24 kB)
  Using cached flake8-0.6.tar.gz (23 kB)
  Using cached flake8-0.5.tar.gz (31 kB)
  Using cached flake8-0.4.tar.gz (29 kB)
  Using cached flake8-0.3.tar.gz (29 kB)
  Using cached flake8-0.2.tar.gz (29 kB)
  Using cached flake8-0.1.tar.gz (28 kB)

I'm not sure why it manifests this way, but I think what is happening is that a recent version of black requires a click version that's incompatible with the click version in linkml.