sabuhish / fastapi-mail

Fastapi mail system sending mails(individual, bulk) attachments(individual, bulk)
https://sabuhish.github.io/fastapi-mail/
MIT License
673 stars 82 forks source link

Which version of fastapi-mail I can use with fastapi 0.99.1 and pydantic 1.10.10? #199

Open jabajke opened 1 year ago

jabajke commented 1 year ago

I use fastapi version 0.99.1 and pydantic 1.10.10, so when I try poetry add fastapi-mail then I get

  SolverProblemError

  Because no versions of fastapi-mail match >1.4.1,<2.0.0
   and fastapi-mail (1.4.1) depends on pydantic (>=2.0,<3.0), fastapi-mail (>=1.4.1,<2.0.0) requires pydantic (>=2.0,<3.0).
  And because fastapi (0.99.1) depends on pydantic (>=1.7.4,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0)
   and no versions of fastapi match >0.99.1,<0.100.0, fastapi-mail (>=1.4.1,<2.0.0) is incompatible with fastapi (>=0.99.1,<0.100.0).
  So, because bbm-backend depends on both fastapi (^0.99.1) and fastapi-mail (^1.4.1), version solving failed.

there is list of my dependencies fastapi==0.99.1 SQLAlchemy==2.0.17 alembic==1.11.1 psycopg2-binary==2.9.6 asyncpg==0.27.0 passlib==1.7.4 uvicorn==0.22.0 pytz==2023.3 python-multipart==0.0.6 PyJWT==2.7.0 python-dotenv==1.0.0 pandas==2.0.3 openpyxl==3.1.2 numpy==1.25.2 boto3==1.28.17 celery[redis]==5.3.1

fchancel commented 1 year ago

You can try with v1.3.1

Grenate22 commented 9 months ago

How do you solve it ?