sabuhish / fastapi-mail

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

Dependency hiccups? #147

Closed tammoippen closed 1 year ago

tammoippen commented 1 year ago

Hi there, agian :D

I think there might be some dependency hiccups:

Thanks again for the library!

sabuhish commented 1 year ago

Hi @tammoippen

Ups, that that fakeredis was not suppose to be optional, I misconfigured it. aioredis must be the optional to be installed. Meaning both httpx and aioredis can be installed as an extra dependency. When installing fastapi-mail it wont be installed. Those should be installed with the following commands:

pip install fastapi-mail[aioredis] pip install fastapi-mail[httpx]

I have opened branch currently working on it, will submit PR and merge it to the master soon. Thanks!