mirror of https://github.com/ansible/ansible.git
(cherry picked from commit 36ab3d1189
)
Co-authored-by: Matt Clay <mclay@redhat.com>
pull/72940/head
parent
7461f873ef
commit
12b33c79ee
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- ansible-test - ``cryptography`` is now limited to versions prior to 3.2 only when an incompatible OpenSSL version (earlier than 1.1.0) is detected
|
@ -1,2 +1,3 @@
|
|||||||
|
# do not add a cryptography constraint here, see the get_cryptography_requirement function in executor.py for details
|
||||||
idna < 2.8 ; python_version < '2.7' # idna 2.8+ requires python 2.7+
|
idna < 2.8 ; python_version < '2.7' # idna 2.8+ requires python 2.7+
|
||||||
cffi != 1.14.4 # Fails on systems with older gcc. Should be fixed in the next release. https://foss.heptapod.net/pypy/cffi/-/issues/480
|
cffi != 1.14.4 # Fails on systems with older gcc. Should be fixed in the next release. https://foss.heptapod.net/pypy/cffi/-/issues/480
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
"""Show openssl version."""
|
||||||
|
from __future__ import (absolute_import, division, print_function)
|
||||||
|
__metaclass__ = type
|
||||||
|
|
||||||
|
import json
|
||||||
|
|
||||||
|
# noinspection PyBroadException
|
||||||
|
try:
|
||||||
|
from ssl import OPENSSL_VERSION_INFO
|
||||||
|
VERSION = list(OPENSSL_VERSION_INFO[:3])
|
||||||
|
except Exception: # pylint: disable=broad-except
|
||||||
|
VERSION = None
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
"""Main program entry point."""
|
||||||
|
print(json.dumps(dict(
|
||||||
|
version=VERSION,
|
||||||
|
)))
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
main()
|
Loading…
Reference in New Issue