Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655826 - dev-python/xlutils-1.7.1 : [TEST] E AttributeError: _name_
Summary: dev-python/xlutils-1.7.1 : [TEST] E AttributeError: _name_
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: 2018-05-15 19:32 UTC by Toralf Förster
Modified: 2019-05-08 14:41 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.62 KB, text/plain)
2018-05-15 19:32 UTC, Toralf Förster
Details
dev-python:xlutils-1.7.1:20180515-185812.log (dev-python:xlutils-1.7.1:20180515-185812.log,22.55 KB, text/plain)
2018-05-15 19:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,217.81 KB, text/plain)
2018-05-15 19:32 UTC, Toralf Förster
Details
environment (environment,131.13 KB, text/plain)
2018-05-15 19:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.28 KB, application/x-bzip)
2018-05-15 19:32 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.73 KB, application/x-bzip)
2018-05-15 19:32 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-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(-)