Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661412 - dev-python/more-itertools-4.2.0 : [TEST] _ ERROR collecting more_itertools/more.py _
Summary: dev-python/more-itertools-4.2.0 : [TEST] _ ERROR collecting more_itertools/mo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-07-17 16:59 UTC by Toralf Förster
Modified: 2018-07-24 20:23 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.79 KB, text/plain)
2018-07-17 16:59 UTC, Toralf Förster
Details
dev-python:more-itertools-4.2.0:20180717-022431.log (dev-python:more-itertools-4.2.0:20180717-022431.log,9.91 KB, text/plain)
2018-07-17 16:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,38.57 KB, text/plain)
2018-07-17 16:59 UTC, Toralf Förster
Details
environment (environment,109.94 KB, text/plain)
2018-07-17 16:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.18 KB, application/x-bzip)
2018-07-17 16:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.27 KB, application/x-bzip)
2018-07-17 16:59 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-07-17 16:59:27 UTC
==================================== ERRORS ====================================
___________________ ERROR collecting more_itertools/more.py ____________________
/usr/lib64/python2.7/site-packages/py/_path/local.py:686: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('more_itertools.more', '/var/tmp/portage/dev-python/more-itertools-4.2.0/work/more-itertools-4.2.0-python2_7/lib/more_itertools/more.py', local('/var/tmp/portage/dev-python/more-itertools-4.2.0/work/more-itertools-4.2.0/more_itertools/more.py'))

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_abi32+64-test_20180715-213126

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

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

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




emerge -qpv dev-python/more-itertools
[ebuild   R   ] dev-python/more-itertools-4.2.0  USE="{test} -doc" PYTHON_TARGETS="python2_7 python3_5 -pypy -pypy3 -python3_4 -python3_6 -python3_7%"
Comment 1 Toralf Förster gentoo-dev 2018-07-17 16:59:30 UTC
Created attachment 539834 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-17 16:59:33 UTC
Created attachment 539836 [details]
dev-python:more-itertools-4.2.0:20180717-022431.log
Comment 3 Toralf Förster gentoo-dev 2018-07-17 16:59:35 UTC
Created attachment 539838 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-07-17 16:59:38 UTC
Created attachment 539840 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-07-17 16:59:41 UTC
Created attachment 539842 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-07-17 16:59:43 UTC
Created attachment 539844 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2018-07-17 22:13:22 UTC
The bug has been closed via the following commit(s):

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

commit 3a40916f4ea7a761e4d73f747b31ddbc7f35185d
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2018-07-17 22:11:21 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2018-07-17 22:13:15 +0000

    dev-python/more-itertools: fix tests by avoiding ImportMismatchError
    
    Closes: https://bugs.gentoo.org/661412
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-python/more-itertools/more-itertools-4.2.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 8 Larry the Git Cow gentoo-dev 2018-07-17 22:38:49 UTC
The bug has been referenced in the following commit(s):

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

commit 79489db15fe3fc6dd7df1cd60669ab617dfbac64
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2018-07-17 22:32:09 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2018-07-17 22:38:34 +0000

    dev-python/more-itertools: don't run tests from ${S}
    
    It makes more sense to run tests from the build directory.
    
    Bug: https://bugs.gentoo.org/661412
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-python/more-itertools/more-itertools-4.2.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2018-07-24 20:23:33 UTC
The bug has been referenced in the following commit(s):

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

commit 26ad781ea29186b1a23c517c5f25a356a72c482f
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2018-07-24 20:14:42 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2018-07-24 20:23:22 +0000

    dev-python/more-itertools: don't install .pytest_cache files
    
    Commit 79489db15fe3fc6dd7df1cd60669ab617dfbac64 changed the way tests
    are run and resulted in .pytest_cache directories being installed in
    site-packages/.
    This will prevent those directories from being installed while still
    fixing ImportMismatchError.
    
    Bug: https://bugs.gentoo.org/661412
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../{more-itertools-4.2.0.ebuild => more-itertools-4.2.0-r1.ebuild}    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)