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

Bug 661594

Summary: dev-python/logbook-1.1.0 : [TEST] ImportError: cannot import name RLock (affects www-apps/nikola)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: gabriele.svelto, jstein, sping, whissi
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=637500
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:logbook-1.1.0:20180719-115426.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2018-07-19 16:57:54 UTC
  File "/var/tmp/portage/dev-python/logbook-1.1.0/work/logbook-1.1.0-python2_7/logbook/concurrency.py", line 31, in <module>
    from gevent._threading import (Lock as ThreadLock,
ImportError: cannot import name RLock
ERROR: could not load /var/tmp/portage/dev-python/logbook-1.1.0/work/logbook-1.1.0-python2_7/tests/conftest.py

 * ERROR: dev-python/logbook-1.1.0::gentoo failed (test phase):

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

  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)

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

emerge -qpv dev-python/logbook
[ebuild  N    ] dev-python/logbook-1.1.0  USE="{test} -doc" PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_4 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2018-07-19 16:57:57 UTC
Created attachment 540110 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-19 16:58:00 UTC
Created attachment 540112 [details]
dev-python:logbook-1.1.0:20180719-115426.log
Comment 3 Toralf Förster gentoo-dev 2018-07-19 16:58:03 UTC
Created attachment 540114 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-07-19 16:58:06 UTC
Created attachment 540116 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-07-19 16:58:08 UTC
Created attachment 540118 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-07-19 16:58:11 UTC
Created attachment 540120 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-07-19 16:58:14 UTC
Created attachment 540122 [details]
tests.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-07-19 17:53:05 UTC
dev-python/pyshark-0.3.7.2 spews the same
Comment 9 Sebastian Pipping gentoo-dev 2018-08-15 14:02:19 UTC
Turned out to affect www-apps/nikola

(https://github.com/getnikola/nikola/issues/3138)
Comment 10 Larry the Git Cow gentoo-dev 2018-08-15 14:03:36 UTC
The bug has been referenced in the following commit(s):

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

commit c7c611da821cd3c51af7200ac3c3cc41d221b17e
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2018-08-15 14:01:22 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2018-08-15 14:03:18 +0000

    dev-python/logbook: 1.4.0
    
    Also fix patch to support EAPI 6.
    
    Bug: https://bugs.gentoo.org/661594
    Package-Manager: Portage-2.3.46, Repoman-2.3.10

 dev-python/logbook/Manifest                        |  1 +
 .../logbook/files/logbook-0.4.2-objectsinv.patch   |  4 +-
 dev-python/logbook/logbook-1.4.0.ebuild            | 47 ++++++++++++++++++++++
 3 files changed, 50 insertions(+), 2 deletions(-)
Comment 11 Larry the Git Cow gentoo-dev 2018-08-15 14:11:17 UTC
The bug has been referenced in the following commit(s):

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

commit 71b72e7bb8aba25baa3a08fda145456834cfb1f3
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2018-08-15 14:09:53 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2018-08-15 14:10:26 +0000

    www-apps/nikola: Avoid broken dev-python/logbook-1.1.0
    
    Upstream: https://github.com/getnikola/nikola/issues/3138
    Bug: https://bugs.gentoo.org/661594
    Package-Manager: Portage-2.3.46, Repoman-2.3.10

 www-apps/nikola/nikola-7.8.15-r1.ebuild | 63 +++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-27 21:09:40 UTC
Old version removed.  Please reopen if you can repro with the newer versions.