Revert "Setting chardet requirement as optional"

This reverts commit decfc0d65b339951c083cb439f2215db326d73f1.
Revert "Revert "Setting chardet requirement as optional""

This reverts commit 33a15b467c535493c1f3397248748ab683da98a2.