xml2rfc icon indicating copy to clipboard operation
xml2rfc copied to clipboard

urllib3 NotOpenSSLWarning

Open rohanmahy opened this issue 10 months ago • 1 comments

Describe the issue

Hi, modern versions of macOS include a system LibreSSL, instead of OpenSSL.

On my system I get this noisy warning from xml2rfc every time I run make on repos using Martin Thomson's Internet drafts template:

rohan@Rohans-MBP mimi-app-components % make
draft-mahy-mimi-app-components: kramdowm-rfc ... OK
[path elided]/mimi-app-components/lib/.venv/lib/python3.9/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
draft-mahy-mimi-app-components: xml2rfc-txt ... OK
[path elided]/mimi-app-components/lib/.venv/lib/python3.9/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
draft-mahy-mimi-app-components: xml2rfc-html ... OK
rm draft-mahy-mimi-app-components.xml
rohan@Rohans-MBP mimi-app-components % 

It would be nice if xml2rfc was able to prevent/suppress this message, or work with the Internet-Drafts template to detect this condition and use a locally installed OpenSSL 3, or use homebrew when it is present.

Feel free to retag as an enhancement as you see fit. Thanks, -rohan

Code of Conduct

rohanmahy avatar Feb 23 '25 00:02 rohanmahy

@rohanmahy, I think i-d-template is the best place to handle this.

kesara avatar Feb 25 '25 09:02 kesara