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

Support pydantic v2 #194

Closed code4rain closed 1 year ago

code4rain commented 1 year ago

Hello, I use fastapi and fastapi-mail and try to upgrade fastapi version 0.100.0b2 to prepare pydantic v2. But it is impossible to upgrade fastapi package due to dependency conflict like below:

The conflict is caused by:
    The user requested pydantic==2.0
    fastapi 0.100.0b2 depends on pydantic!=1.8, !=1.8.1, <3.0.0 and >=1.7.4
    fastapi-mail 1.3.1 depends on pydantic<2.0 and >=1.8

Could you make new beta release for this? Best Regards,

code4rain commented 1 year ago

fastapi v0.100 which uses pydantic v2 is out. please consider it.