Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 633340

Summary: dev-python/pyopenssl-17.3.0: version bump
Product: Gentoo Linux Reporter: Leonard Lausen <leonard>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: frp.bissey
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Leonard Lausen 2017-10-03 07:53:21 UTC
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
Comment 1 François Bissey 2017-10-07 20:17:09 UTC
Got those with python 2.7 too. Upstream inflicted that on itself when it kept calling it in `__init__.py` on line 8.
Comment 2 Larry the Git Cow gentoo-dev 2017-10-08 16:53:30 UTC
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(+)