Parameter was renamed to allowed_methods in urllib3 1.26.0. Both options are currently available in the version we are using now.
This is required to build on linux/mac