JoshData / python-email-validator

A robust email syntax and deliverability validation library for Python.
The Unlicense
1.14k stars 112 forks source link

Make dnspython package is optional #114

Open artofhuman opened 1 year ago

artofhuman commented 1 year ago

This PR make dnspython package optional, due to deliverability is optional as well.

It reduces installed dependencies if we don't check deliverability. Probably CHECK_DELIVERABILITY constant also should be changed to False, but it's change default behavior.

JoshData commented 1 year ago

I'm not opposed to the idea, but it would have to wait for the next major version update (e.g. a 3.x) since it would change default behavior, and at this time I don't really foresee a 3.x because I don't see any other changes motivated for it.