jonshea opened a new pull request, #31189: URL: https://github.com/apache/airflow/pull/31189
There was an upper version bound on pymongo of `<4.0.0` because versions 4.0.0+ removed the `ssl_cert_reqs` parameter from client connection options. However, comparing the pymongo 3.7.0 docs (https://pymongo.readthedocs.io/en/3.7.0/examples/tls.html#certificate-verification-policy) to the 4.3.3 docs (https://pymongo.readthedocs.io/en/4.3.3/examples/tls.html#certificate-verification-policy) it seems that `ssl_cert_reqs` has been effectively renamed to `tlsAllowInvalidCertificates`. This PR removes upper version bound on pymongo, and adds a test to set `tlsAllowInvalidCertificates` for pymongo 4.0.0 and later, while continuing to use `ssl_cert_reqs` for earlier versions of pymongo. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
