mirror of https://github.com/ansible/ansible.git
Fix exceptions thrown from cryptography import (#16723)
A simple import of cryptography can throw several types of errors. For example, if `setuptools` is less than cryptography's minimum requirement of 11.3, then this import of cryptography will throw a VersionConflict here. An earlier case threw a DistributionNotFound exception. An optional dependency should not stop ansible. If the error is more than an ImportError, log a warning, so that errors can be fixed in ansible or elsewhere.pull/17045/head
parent
ed959d72f1
commit
505a1de605
Loading…
Reference in New Issue