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

Bug 655826

Summary: dev-python/xlutils-1.7.1 : [TEST] E AttributeError: _name_
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:xlutils-1.7.1:20180515-185812.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-05-15 19:32:02 UTC
        elif _is_magic(name):
>           raise AttributeError(name)
E           AttributeError: __name__

/usr/lib64/python2.7/site-packages/mock/mock.py:700: AttributeError
_________________ TestStyles.test_multiple_names_for_xfi_bad_2 _________________

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_test_20180508-174739

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

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)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)

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

emerge -qpv dev-python/xlutils
[ebuild  N    ] dev-python/xlutils-1.7.1  USE="{test}" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-05-15 19:32:06 UTC
Created attachment 531628 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-15 19:32:09 UTC
Created attachment 531630 [details]
dev-python:xlutils-1.7.1:20180515-185812.log
Comment 3 Toralf Förster gentoo-dev 2018-05-15 19:32:13 UTC
Created attachment 531632 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-05-15 19:32:16 UTC
Created attachment 531634 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-05-15 19:32:19 UTC
Created attachment 531636 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-15 19:32:22 UTC
Created attachment 531638 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2019-05-08 14:41:43 UTC
The bug has been closed via the following commit(s):

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

commit 25b1b4f492f813c6c92a8c10bdbe73662f3edb1b
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-08 14:40:02 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-08 14:41:17 +0000

    dev-python/xlutils: add py3 compat
    
    Also, fix tests.
    
    Closes: https://bugs.gentoo.org/655826
    Closes: https://bugs.gentoo.org/663412
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 .../xlutils/files/xlutils-2.0.0-fix-tests.patch    | 23 ++++++++++++++++++++++
 ...lutils-2.0.0.ebuild => xlutils-2.0.0-r1.ebuild} | 23 ++++++++++++++--------
 2 files changed, 38 insertions(+), 8 deletions(-)