Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638612 - dev-python/eventlet-0.21.0-r1 : [TEST] ImportError: No module named rand
Summary: dev-python/eventlet-0.21.0-r1 : [TEST] ImportError: No module named rand
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-11-23 19:03 UTC by Toralf Förster
Modified: 2020-08-03 11:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.57 KB, text/plain)
2017-11-23 19:03 UTC, Toralf Förster
Details
dev-python:eventlet-0.21.0-r1:20171123-094323.log (dev-python:eventlet-0.21.0-r1:20171123-094323.log,112.30 KB, text/plain)
2017-11-23 19:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,164.18 KB, text/plain)
2017-11-23 19:03 UTC, Toralf Förster
Details
environment (environment,141.20 KB, text/plain)
2017-11-23 19:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.30 KB, application/x-bzip)
2017-11-23 19:04 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,37.19 KB, application/x-bzip)
2017-11-23 19:04 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,88.58 KB, application/x-bzip)
2017-11-23 19:04 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-11-23 19:03:46 UTC
  File "/var/tmp/portage/dev-python/eventlet-0.21.0-r1/work/eventlet-0.21.0-python2_7/lib/eventlet/green/OpenSSL/rand.py", line 1, in <module>
    from OpenSSL.rand import *
ImportError: No module named rand

======================================================================
ERROR: test_ident (tests.patcher_test.GreenThreadWrapper)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma-systemd_test_20171118-222131

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-python/eventlet
[ebuild  N    ] dev-python/eventlet-0.21.0-r1  USE="-doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-11-23 19:03:49 UTC
Created attachment 506064 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-23 19:03:52 UTC
Created attachment 506066 [details]
dev-python:eventlet-0.21.0-r1:20171123-094323.log
Comment 3 Toralf Förster gentoo-dev 2017-11-23 19:03:55 UTC
Created attachment 506068 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-23 19:03:58 UTC
Created attachment 506070 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-23 19:04:01 UTC
Created attachment 506072 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-23 19:04:04 UTC
Created attachment 506074 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-11-23 19:04:08 UTC
Created attachment 506076 [details]
tests.tbz2
Comment 8 David Denoncin 2020-08-03 11:39:53 UTC
Was adressed in the following upstream commit.

commit 5b8f5f595624bdfb5f707707959977bb56864e0d
Author: Haikel Guemar <hguemar@fedoraproject.org>
Date:   Wed Oct 4 19:22:58 2017 +0200

    Drop OpenSSL.rand support

    PyOpenSSL deprecated OpenSSL.rand in 17.2.0 and removed it in 17.3.0.
    To comply, update min version in tests to 17.3.0 and removes it.
    https://pyopenssl.org/en/stable/changelog.html