Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651262 - dev-python/pyaes-1.6.1 : [TEST] ImportError: No module named Crypto.Cipher
Summary: dev-python/pyaes-1.6.1 : [TEST] ImportError: No module named Crypto.Cipher
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 710396
  Show dependency tree
 
Reported: 2018-03-23 17:08 UTC by Toralf Förster
Modified: 2020-03-16 20:09 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.39 KB, text/plain)
2018-03-23 17:08 UTC, Toralf Förster
Details
dev-python:pyaes-1.6.1:20180323-153746.log (dev-python:pyaes-1.6.1:20180323-153746.log,4.03 KB, text/plain)
2018-03-23 17:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.90 KB, text/plain)
2018-03-23 17:08 UTC, Toralf Förster
Details
environment (environment,102.51 KB, text/plain)
2018-03-23 17:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.67 KB, application/x-bzip)
2018-03-23 17:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.69 KB, application/x-bzip)
2018-03-23 17:08 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,3.21 KB, application/x-bzip)
2018-03-23 17:09 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 2018-03-23 17:08:39 UTC
  File "tests/test-aes.py", line 40, in <module>
    from Crypto.Cipher import AES as KAES
ImportError: No module named Crypto.Cipher
 * ERROR: dev-python/pyaes-1.6.1::gentoo failed (test phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_test_20180322-194027

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
 [2] x86_64-pc-linux-gnu-5.4.0-hardenednopie
 [3] x86_64-pc-linux-gnu-5.4.0-hardenednopiessp
 [4] x86_64-pc-linux-gnu-5.4.0-hardenednossp
 [5] x86_64-pc-linux-gnu-5.4.0-vanilla

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




emerge -qpv dev-python/pyaes
[ebuild  N    ] dev-python/pyaes-1.6.1  PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2018-03-23 17:08:42 UTC
Created attachment 524992 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-23 17:08:45 UTC
Created attachment 524994 [details]
dev-python:pyaes-1.6.1:20180323-153746.log
Comment 3 Toralf Förster gentoo-dev 2018-03-23 17:08:48 UTC
Created attachment 524996 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-03-23 17:08:51 UTC
Created attachment 524998 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-03-23 17:08:54 UTC
Created attachment 525000 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-03-23 17:08:57 UTC
Created attachment 525002 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-03-23 17:09:00 UTC
Created attachment 525004 [details]
tests.tbz2
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-05 18:59:18 UTC
Updating/correcting maintainer.
Comment 9 Matt Turner gentoo-dev 2020-03-16 19:58:30 UTC
 * tests/test-aes.py
Traceback (most recent call last):
  File "tests/test-aes.py", line 40, in <module>
    from Crypto.Cipher import AES as KAES
ModuleNotFoundError: No module named 'Crypto'
Comment 10 Larry the Git Cow gentoo-dev 2020-03-16 20:09:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd1785f2d4aecca22c5b9512e8f852021a67353

commit dbd1785f2d4aecca22c5b9512e8f852021a67353
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-03-16 20:06:30 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-03-16 20:06:43 +0000

    dev-python/pyaes: Add missing test dependency
    
    Closes: https://bugs.gentoo.org/651262
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-python/pyaes/pyaes-1.6.1-r2.ebuild | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)