pyopenssl-17.3.0 contains fixes for python 3.6 (see https://github.com/pyca/pyopenssl/pull/658 ). The current version will throw DeprecationWarnings on every run: /usr/lib64/python3.6/site-packages/urllib3/contrib/pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead import OpenSSL.SSL
Got those with python 2.7 too. Upstream inflicted that on itself when it kept calling it in `__init__.py` on line 8.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1849bb5cebee7790de32e0b4b881880436d06d28 commit 1849bb5cebee7790de32e0b4b881880436d06d28 Author: Tim Harder <radhermit@gentoo.org> AuthorDate: 2017-10-08 16:50:44 +0000 Commit: Tim Harder <radhermit@gentoo.org> CommitDate: 2017-10-08 16:53:13 +0000 dev-python/pyopenssl: version bump to 17.3.0 Closes: https://bugs.gentoo.org/633340 dev-python/pyopenssl/Manifest | 1 + dev-python/pyopenssl/pyopenssl-17.3.0.ebuild | 67 ++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+)