JADE-V-V / JADE

JADE, a novel nuclear data libraries V&V tool
GNU General Public License v3.0
23 stars 8 forks source link

[BUG] - ImportError: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips 26 Jan 2017'. #302

Open dodu94 opened 3 months ago

dodu94 commented 3 months ago

Describe the bug There are a few systems where the installation may fail while fetching the benchmark data from the internet due to old version installed of OpenSSL. The drop in support is described here.

If this error is encountered either the openSSL can be upgraded:

brew install openssl@1.1

or the urllib3 version (jade dependency) can be downgraded:

pip install urllib3==1.26.6

see here for additional info on the fix.

An easy fix would be to cap the urrlib3 version during the jade package install, but this error is likely to go away soon while systems are upgraded. I would leave it like that for the moment but maybe add guidance in the troubleshooting section of JADE documentation.

To Reproduce Install jade in a system that has a version of openSSL lower than v1.1.1

Expected behavior Installation should succeed without errors

Screenshots image

Desktop (please complete the following information):