config is deprecated in the latest requests library