mfreeborn / fastapi-sqlalchemy

Adds simple SQLAlchemy support to FastAPI
MIT License
594 stars 34 forks source link

Starlette version is incompatible #28

Open grayguest opened 3 years ago

grayguest commented 3 years ago
$ pip install fastapi-sqlalchemy
Collecting fastapi-sqlalchemy
  Downloading https://files.pythonhosted.org/packages/e5/75/0cef05be963f439a0d2ead94628dc5ad8d570c74009f396c74118e7b6bd0/FastAPI_SQLAlchemy-0.1.0-py3-none-any.whl
Requirement already satisfied: SQLAlchemy>=1.2 in ./venv/lib/python3.6/site-packages (from fastapi-sqlalchemy) (1.3.22)
Collecting starlette<=0.12.9,>=0.12.9 (from fastapi-sqlalchemy)
  Downloading https://files.pythonhosted.org/packages/67/95/2220fe5bf287e693a6430d8ee36c681b0157035b7249ec08f8fb36319d16/starlette-0.12.9.tar.gz (46kB)
    100% |████████████████████████████████| 51kB 300kB/s 
fastapi 0.63.0 has requirement starlette==0.13.6, but you'll have starlette 0.12.9 which is incompatible.
Installing collected packages: starlette, fastapi-sqlalchemy
  Found existing installation: starlette 0.13.6
    Uninstalling starlette-0.13.6:
      Successfully uninstalled starlette-0.13.6
  Running setup.py install for starlette ... done
Successfully installed fastapi-sqlalchemy-0.1.0 starlette-0.12.9
johntheprime commented 3 years ago

Hi, just in case you overlooked, the message "fastapi 0.63.0 has requirement starlette==0.13.6, but you'll have starlette 0.12.9 which is incompatible." states that starlette 0.12.9 is not compatible with fastapi 0.63.0.

Nothing to do with the FastAPI-SQLAlchemy module here.