[BUG] PIP3 Install hangs indefinitely
See original GitHub issuesetuptools version
setuptools==58.0.2
Python version
Python 3.7
OS
CentOS Linux 7 (in Docker)
Additional environment information
Running code in gitlab ci/cd docker runner. Gitlab version 14.0.1.
Description
We run pip3 install --upgrade setuptools pip and after that pip3 install -r requirements-dev.txt with following content:
mock
coverage
flake8
mypy
pytest
apache-airflow==1.10.11
types-PyYAML
types-requests
Until yesterday this step finished in under 2 minutes with setuptools==58.0.0. Today newer version of setuptools has been pulled which made step timeout after 1hr. The job is stuck on pip3 install step with croniter package being consistently the last one (stuck for ~55 minutes) before timeout happens.
Expected behavior
pip3 install -r requirements-dev.txt finishes ok
How to Reproduce
run pip3 install --upgrade setuptools pip and after that pip3 install -r requirements-dev.txt with following content:
mock
coverage
flake8
mypy
pytest
apache-airflow==1.10.11
types-PyYAML
types-requests
Output
Downloading https://xxx/artifactory/api/pypi/ISP-PyPI/packages/packages/28/27/f2c883373aa58fe77ecfc09a984f1ae52bc05790c0eee66b87f65d14cbfe/croniter-0.3.23.tar.gz (18 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
Downloading https://xxx/artifactory/api/pypi/ISP-PyPI/packages/packages/79/f1/3d9dac6f43a1f789ad79c1dc2589e7389fc4f0c4753a451485ecb326c357/croniter-0.3.22.tar.gz (18 kB)
Downloading https://xxx/artifactory/api/pypi/ISP-PyPI/packages/packages/69/84/1a839fdb454929b2f5f34dfc0f6ae9c393193e4c088fa62b37ec318c0df4/croniter-0.3.20.tar.gz (18 kB)
ERROR: Job failed: execution took longer than 1h0m0s seconds
Code of Conduct
- I agree to follow the PSF Code of Conduct
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Pip Install hangs - python - Stack Overflow
I'm trying to install a Python package using the command "pip install" but as soon as I hit enter nothing happens. The action...
Read more >pip install hangs : Forums - PythonAnywhere
pip install hangs. In a fresh Bash console, I am trying to use the command. pip install --user Django==3.1.9. This results in.
Read more >pip install hangs with interactive setup.py setups · Issue #2732
Try: pip install egenix-pyopenssl with Python 2.7 to see what I mean. ... setup.py like this just fails immediately instead of hang forever....
Read more >pip hangs on `Loading macOS` when installing a package
When installing anything with pip , it hangs indefinitely, for example (running pip install geoclue2 -v ):
Read more >Changelog - pip documentation v22.3.1
pip freeze will now always fallback to reporting the editable project location when it encounters a VCS error while analyzing an editable requirement....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh, interesting.
pyhash
has very little Python and running lib2to3 on it produces a very small diff:The easiest fix for this would be for pyhash to release a Python 3 wheel in PyPI of the latest release. It should also consider dropping use of
2to3
as it’s not meaningful in that project.Thanks @potiuk for info, indeed we will just bump airflow dep as we are at 2.1.3 anyways and looks like we just forgot to update unit tests deps 😅