Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information