Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675442 - dev-python/mako-1.0.7 : [TEST] * Tests fail with python2.7
Summary: dev-python/mako-1.0.7 : [TEST] * Tests fail with python2.7
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
: 691444 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-14 19:23 UTC by Toralf Förster
Modified: 2019-12-27 19:41 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.38 KB, text/plain)
2019-01-14 19:23 UTC, Toralf Förster
Details
dev-python:mako-1.0.7:20190114-114050.log (dev-python:mako-1.0.7:20190114-114050.log,10.86 KB, text/plain)
2019-01-14 19:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,23.56 KB, text/plain)
2019-01-14 19:23 UTC, Toralf Förster
Details
environment (environment,114.42 KB, text/plain)
2019-01-14 19:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.29 KB, application/x-bzip)
2019-01-14 19:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.60 KB, application/x-bzip)
2019-01-14 19:23 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 2019-01-14 19:23:25 UTC
 * ERROR: dev-python/mako-1.0.7::gentoo failed (test phase):
 *   Tests fail with python2.7
 * 

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

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

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

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

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





emerge -qpvO dev-python/mako
[ebuild  N    ] dev-python/mako-1.0.7  USE="test -doc" PYTHON_TARGETS="python2_7 python3_6 -pypy -pypy3 -python3_4 -python3_5 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2019-01-14 19:23:28 UTC
Created attachment 561126 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-14 19:23:31 UTC
Created attachment 561128 [details]
dev-python:mako-1.0.7:20190114-114050.log
Comment 3 Toralf Förster gentoo-dev 2019-01-14 19:23:34 UTC
Created attachment 561130 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-01-14 19:23:37 UTC
Created attachment 561132 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-01-14 19:23:39 UTC
Created attachment 561134 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-14 19:23:42 UTC
Created attachment 561136 [details]
temp.tbz2
Comment 7 ahudson.news 2019-12-06 17:17:15 UTC
I can confirm this still persists, with the more recent version of dev-python/pytest-4.5.0 (original report has 4.1.0).

The important part from the logs is this line in the stack trace:

builtins.Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead.

so...possibly just a test configuration issue?
Comment 8 Sebastian Pipping gentoo-dev 2019-12-27 17:38:44 UTC
*** Bug 691444 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2019-12-27 19:41:35 UTC
The bug has been closed via the following commit(s):

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

commit 345af3952c207069edc6d1d9d2a291851a9e6dee
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2019-12-27 18:23:12 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2019-12-27 19:39:25 +0000

    dev-python/mako: Needs pytest <4
    
    Closes: https://bugs.gentoo.org/675442
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-2.3.83, Repoman-2.3.20

 dev-python/mako/mako-1.0.7-r1.ebuild | 2 +-
 dev-python/mako/mako-1.0.7.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)