question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`pip install -r requirements-dev.txt` hangs during resolving of deps between packages

See original GitHub issue

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04.2 LTS
  • Modin installed from (source or binary): source
  • Modin version: 7a8158873e77cb5f1a5a3b89be4ddac89f576269
  • Python version: 3.8.12
  • Exact command to reproduce:
pip install -r requirements-dev.txt

Describe the problem

Installing of requirements for Modin development via pip hangs during resolving dependencies in clean environment. But env can be successfully created (but it will take a lot of time) with conda approach.

Source code / logs

Collecting bokeh!=2.0.0,>=1.0.0
  Using cached bokeh-2.4.0-py3-none-any.whl (18.4 MB)
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 bokeh-2.3.3.tar.gz (10.7 MB)
  Using cached bokeh-2.3.2.tar.gz (10.7 MB)
  Using cached bokeh-2.3.1.tar.gz (10.6 MB)
  Using cached bokeh-2.3.0.tar.gz (10.6 MB)
  Using cached bokeh-2.2.3.tar.gz (8.8 MB)
  Using cached bokeh-2.2.2.tar.gz (8.8 MB)
INFO: pip is looking at multiple versions of botocore to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of bokeh to determine which version is compatible with other requirements. This could take a while.
  Using cached bokeh-2.2.1.tar.gz (8.8 MB)
  Using cached bokeh-2.2.0.tar.gz (8.8 MB)
  Using cached bokeh-2.1.1.tar.gz (19.3 MB)
  Using cached bokeh-2.1.0.tar.gz (19.3 MB)
  Using cached bokeh-2.0.2.tar.gz (8.6 MB)
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
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 bokeh-2.0.1.tar.gz (8.6 MB)
  Using cached bokeh-1.4.0.tar.gz (32.4 MB)
  Using cached bokeh-1.3.4.tar.gz (17.8 MB)
  Using cached bokeh-1.3.2.tar.gz (17.8 MB)
  Using cached bokeh-1.3.1.tar.gz (17.9 MB)
  Using cached bokeh-1.3.0.tar.gz (17.8 MB)
  Using cached bokeh-1.2.0.tar.gz (17.6 MB)
  Using cached bokeh-1.1.0.tar.gz (17.5 MB)
  Using cached bokeh-1.0.4.tar.gz (16.3 MB)
  Using cached bokeh-1.0.3.tar.gz (16.3 MB)
  Using cached bokeh-1.0.2.tar.gz (16.2 MB)
  Using cached bokeh-1.0.1.tar.gz (16.1 MB)
  Using cached bokeh-1.0.0.tar.gz (16.1 MB)
INFO: pip is looking at multiple versions of attrs to determine which version is compatible with other requirements. This could take a while.
Collecting attrs
  Using cached attrs-20.3.0-py2.py3-none-any.whl (49 kB)
  Using cached attrs-20.2.0-py2.py3-none-any.whl (48 kB)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
Garra1980commented, Apr 4, 2022

I tried

diff --git a/requirements-dev.txt b/requirements-dev.txt
index 55ed2d4a..c5bb56ed 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -14,14 +14,14 @@ scipy
 s3fs>=2021.8
 pytest
 pytest-benchmark
-coverage<5.0
+coverage
 pytest-cov
 pytest-xdist
 feather-format
 lxml
 openpyxl
 xlrd
-matplotlib<=3.2.2
+matplotlib
 sqlalchemy>=1.4.0
 msgpack
 pandas_gbq

and installation was successful

0reactions
prutskovcommented, Apr 4, 2022

The PRs which added pins:

  1. coverage https://github.com/modin-project/modin/pull/916
  2. matplotlib https://github.com/modin-project/modin/pull/1748

I confirm, that unpinning helps with successful environment dependencies creation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip fails to install packages from requirements.txt
It looks like the numexpr package has an install-time dependency on numpy. Pip makes two passes through your requirements: first it ...
Read more >
Dependency Resolution - pip documentation v22.3.1
It needs to work out the dependencies of the requested packages, the dependencies of those dependencies, and so on. Over the course of...
Read more >
Python Dependencies via Pip - Heroku Dev Center
To specify Python package dependencies on Heroku via pip, add a pip requirements file named requirements.txt to the root of your repository.
Read more >
Installing Python requirements with an extra index url hangs ...
I tried updating pip, and using pip3. I have modified the requirements.txt to no longer have the --extra-index-url and my_package, and instead modify...
Read more >
A Poetic Apology. Or Why Should You Use Poetry to Manage…
pip uninstall -y pdbpp && pip freeze > requirements.txt ... [dev] , change the import line in data.py to account for the package...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found