reflex-dev / reflex

🕸️ Web apps in pure Python 🐍
https://reflex.dev
Apache License 2.0
19.3k stars 1.09k forks source link

INFO: This is taking longer than usual. You might need to provide the dependency... #2329

Closed Nathan903 closed 9 months ago

Nathan903 commented 9 months ago

Describe the bug pip install reflex takes a long time with warning:

INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime

Specifics (please complete the following information):

Collecting reflex
  Downloading reflex-0.3.7-py3-none-any.whl (677 kB)
     |████████████████████████████████| 677 kB 1.3 MB/s 
Collecting fastapi<0.97.0,>=0.96.0
  Downloading fastapi-0.96.1-py3-none-any.whl (57 kB)
     |████████████████████████████████| 57 kB 7.0 MB/s 
Collecting platformdirs<4.0.0,>=3.10.0
  Downloading platformdirs-3.11.0-py3-none-any.whl (17 kB)
Collecting gunicorn<21.0.0,>=20.1.0
  Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
     |████████████████████████████████| 79 kB 11.3 MB/s 
Collecting python-engineio!=4.6.0
  Downloading python_engineio-4.8.0-py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 7.7 MB/s 
Collecting psutil<6.0.0,>=5.9.4
  Downloading psutil-5.9.7-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285 kB)
     |████████████████████████████████| 285 kB 55.9 MB/s 
Collecting rich<14.0.0,>=13.0.0
  Downloading rich-13.7.0-py3-none-any.whl (240 kB)
     |████████████████████████████████| 240 kB 47.3 MB/s 
Collecting httpx<0.26.0,>=0.24.0
  Downloading httpx-0.25.2-py3-none-any.whl (74 kB)
     |████████████████████████████████| 74 kB 5.5 MB/s 
Collecting jinja2<4.0.0,>=3.1.2
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
     |████████████████████████████████| 133 kB 52.0 MB/s 
Collecting wrapt<2.0.0,>=1.11.0
  Downloading wrapt-1.16.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (80 kB)
     |████████████████████████████████| 80 kB 12.8 MB/s 
Collecting watchdog<3.0.0,>=2.3.1
  Downloading watchdog-2.3.1-py3-none-manylinux2014_x86_64.whl (80 kB)
     |████████████████████████████████| 80 kB 13.9 MB/s 
Collecting pydantic<2.0.0,>=1.10.2
  Downloading pydantic-1.10.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)
     |████████████████████████████████| 3.2 MB 56.7 MB/s 
Collecting python-socketio<6.0.0,>=5.7.0
  Downloading python_socketio-5.10.0-py3-none-any.whl (74 kB)
     |████████████████████████████████| 74 kB 4.8 MB/s 
Collecting watchfiles<0.20.0,>=0.19.0
  Downloading watchfiles-0.19.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
     |████████████████████████████████| 1.3 MB 52.1 MB/s 
Collecting typer<1,>=0.4.2
  Downloading typer-0.9.0-py3-none-any.whl (45 kB)
     |████████████████████████████████| 45 kB 5.7 MB/s 
Collecting distro<2.0.0,>=1.8.0
  Downloading distro-1.8.0-py3-none-any.whl (20 kB)
Collecting reflex-hosting-cli>=0.1.2
  Downloading reflex_hosting_cli-0.1.4-py3-none-any.whl (29 kB)
Collecting sqlmodel<0.0.15,>=0.0.14
  Downloading sqlmodel-0.0.14-py3-none-any.whl (25 kB)
Collecting alembic<2.0.0,>=1.11.1
  Downloading alembic-1.13.1-py3-none-any.whl (233 kB)
     |████████████████████████████████| 233 kB 57.2 MB/s 
Collecting packaging<24.0,>=23.1
  Downloading packaging-23.2-py3-none-any.whl (53 kB)
     |████████████████████████████████| 53 kB 2.8 MB/s 
Collecting starlette-admin<0.10.0,>=0.9.0
  Downloading starlette_admin-0.9.0-py3-none-any.whl (2.1 MB)
     |████████████████████████████████| 2.1 MB 55.1 MB/s 
Collecting redis<5.0.0,>=4.3.5
  Downloading redis-4.6.0-py3-none-any.whl (241 kB)
     |████████████████████████████████| 241 kB 59.3 MB/s 
Collecting uvicorn<0.21.0,>=0.20.0
  Downloading uvicorn-0.20.0-py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 6.9 MB/s 
Collecting python-multipart<0.0.6,>=0.0.5
  Downloading python-multipart-0.0.5.tar.gz (32 kB)
Collecting cloudpickle<3.0.0,>=2.2.1
  Downloading cloudpickle-2.2.1-py3-none-any.whl (25 kB)
Collecting pipdeptree<3.0.0,>=2.13.0
  Downloading pipdeptree-2.13.1-py3-none-any.whl (26 kB)
Collecting charset-normalizer<4.0.0,>=3.3.2
  Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
     |████████████████████████████████| 142 kB 53.8 MB/s 
Collecting SQLAlchemy>=1.3.0
  Downloading SQLAlchemy-2.0.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
     |████████████████████████████████| 3.1 MB 48.5 MB/s 
Collecting typing-extensions>=4
  Downloading typing_extensions-4.9.0-py3-none-any.whl (32 kB)
Collecting Mako
  Downloading Mako-1.3.0-py3-none-any.whl (78 kB)
     |████████████████████████████████| 78 kB 9.8 MB/s 
Collecting starlette<0.28.0,>=0.27.0
  Downloading starlette-0.27.0-py3-none-any.whl (66 kB)
     |████████████████████████████████| 66 kB 6.7 MB/s 
Requirement already satisfied: setuptools>=3.0 in ./.venv/lib/python3.9/site-packages (from gunicorn<21.0.0,>=20.1.0->reflex) (44.1.1)
Collecting httpcore==1.*
  Downloading httpcore-1.0.2-py3-none-any.whl (76 kB)
     |████████████████████████████████| 76 kB 7.2 MB/s 
Collecting idna
  Downloading idna-3.6-py3-none-any.whl (61 kB)
     |████████████████████████████████| 61 kB 211 kB/s 
Collecting certifi
  Downloading certifi-2023.11.17-py3-none-any.whl (162 kB)
     |████████████████████████████████| 162 kB 54.3 MB/s 
Collecting sniffio
  Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting anyio
  Downloading anyio-4.2.0-py3-none-any.whl (85 kB)
     |████████████████████████████████| 85 kB 6.1 MB/s 
Collecting h11<0.15,>=0.13
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     |████████████████████████████████| 58 kB 9.2 MB/s 
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting simple-websocket>=0.10.0
  Downloading simple_websocket-1.0.0-py3-none-any.whl (13 kB)
Collecting six>=1.4.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting bidict>=0.21.0
  Downloading bidict-0.22.1-py3-none-any.whl (35 kB)
Collecting async-timeout>=4.0.2
  Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Collecting httpx<0.26.0,>=0.24.0
  Downloading httpx-0.24.1-py3-none-any.whl (75 kB)
     |████████████████████████████████| 75 kB 6.0 MB/s 
Collecting coverage<8.0.0,>=7.3.2
  Downloading coverage-7.3.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (227 kB)
     |████████████████████████████████| 227 kB 55.7 MB/s 
Collecting websockets>=10.4
  Downloading websockets-12.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (130 kB)
     |████████████████████████████████| 130 kB 43.5 MB/s 
Collecting tabulate<0.10.0,>=0.9.0
  Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
Collecting pipreqs<0.5.0,>=0.4.13
  Downloading pipreqs-0.4.13-py2.py3-none-any.whl (33 kB)
Collecting httpx<0.26.0,>=0.24.0
  Downloading httpx-0.24.0-py3-none-any.whl (75 kB)
     |████████████████████████████████| 75 kB 5.9 MB/s 
INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This could take a while.
Collecting coverage<8.0.0,>=7.3.2
  Downloading coverage-7.3.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (228 kB)
     |████████████████████████████████| 228 kB 55.2 MB/s 
  Downloading coverage-7.3.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (227 kB)
     |████████████████████████████████| 227 kB 58.1 MB/s 
INFO: pip is looking at multiple versions of reflex-hosting-cli to determine which version is compatible with other requirements. This could take a while.
Collecting reflex-hosting-cli>=0.1.2
  Downloading reflex_hosting_cli-0.1.3-py3-none-any.whl (26 kB)
  Downloading reflex_hosting_cli-0.1.2-py3-none-any.whl (25 kB)
INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of async-timeout to determine which version is compatible with other requirements. This could take a while.
Collecting async-timeout>=4.0.2
  Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 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
INFO: pip is looking at multiple versions of redis to determine which version is compatible with other requirements. This could take a while.
Collecting redis<5.0.0,>=4.3.5
  Downloading redis-4.5.5-py3-none-any.whl (240 kB)
     |████████████████████████████████| 240 kB 57.0 MB/s 
  Downloading redis-4.5.4-py3-none-any.whl (238 kB)
     |████████████████████████████████| 238 kB 56.3 MB/s 
  Downloading redis-4.5.3-py3-none-any.whl (238 kB)
     |████████████████████████████████| 238 kB 53.6 MB/s 
  Downloading redis-4.5.2-py3-none-any.whl (238 kB)
     |████████████████████████████████| 238 kB 55.9 MB/s 
  Downloading redis-4.5.1-py3-none-any.whl (238 kB)
     |████████████████████████████████| 238 kB 55.2 MB/s 
  Downloading redis-4.5.0-py3-none-any.whl (238 kB)
     |████████████████████████████████| 238 kB 56.5 MB/s 
  Downloading redis-4.4.4-py3-none-any.whl (238 kB)
     |████████████████████████████████| 238 kB 56.3 MB/s 
  Downloading redis-4.4.3-py3-none-any.whl (237 kB)
     |████████████████████████████████| 237 kB 60.9 MB/s 
  Downloading redis-4.4.2-py3-none-any.whl (237 kB)
     |████████████████████████████████| 237 kB 59.8 MB/s 
  Downloading redis-4.4.1-py3-none-any.whl (237 kB)
     |████████████████████████████████| 237 kB 58.3 MB/s 
  Downloading redis-4.4.0-py3-none-any.whl (236 kB)
     |████████████████████████████████| 236 kB 56.0 MB/s 
  Downloading redis-4.3.6-py3-none-any.whl (248 kB)
     |████████████████████████████████| 248 kB 57.6 MB/s 
  Downloading redis-4.3.5-py3-none-any.whl (248 kB)
     |████████████████████████████████| 248 kB 55.2 MB/s 
INFO: pip is looking at multiple versions of reflex-hosting-cli to determine which version is compatible with other requirements. This could take a while.
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: pip is looking at multiple versions of async-timeout to determine which version is compatible with other requirements. This could take a while.
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: pip is looking at multiple versions of redis to determine which version is compatible with other requirements. This could take a while.
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: pip is looking at multiple versions of bidict to determine which version is compatible with other requirements. This could take a while.
Collecting bidict>=0.21.0
  Downloading bidict-0.22.0-py3-none-any.whl (36 kB)
  Downloading bidict-0.21.4-py3-none-any.whl (36 kB)
  Downloading bidict-0.21.3-py3-none-any.whl (36 kB)
  Downloading bidict-0.21.2-py2.py3-none-any.whl (37 kB)
  Downloading bidict-0.21.0-py2.py3-none-any.whl (37 kB)
INFO: pip is looking at multiple versions of python-socketio to determine which version is compatible with other requirements. This could take a while.
Collecting python-socketio<6.0.0,>=5.7.0
  Downloading python_socketio-5.9.0-py3-none-any.whl (57 kB)
     |████████████████████████████████| 57 kB 6.9 MB/s 
  Downloading python_socketio-5.8.0-py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 6.9 MB/s 
  Downloading python_socketio-5.7.2-py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 6.8 MB/s 
  Downloading python_socketio-5.7.1-py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 7.2 MB/s 
  Downloading python_socketio-5.7.0-py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 6.8 MB/s 
INFO: pip is looking at multiple versions of bidict to determine which version is compatible with other requirements. This could take a while.
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
Nathan903 commented 9 months ago

seems like issue only occur with older version of pip.

solved with pip install --upgrade pip