Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 757591 - dev-python/pytest-xdist-2.1.0 fails tests
Summary: dev-python/pytest-xdist-2.1.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal
Assignee: Python Gentoo Team
URL: https://github.com/pytest-dev/pytest-...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-11-29 12:44 UTC by Alexey
Modified: 2020-12-01 17:52 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,400.08 KB, text/x-log)
2020-11-29 12:44 UTC, Alexey
Details
emerge --info (emerge.info,15.03 KB, application/x-info)
2020-11-29 12:44 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2020-11-29 12:44:11 UTC
Created attachment 675694 [details]
build.log

FAILED:
testing/acceptance_test.py
testing/test_dsession.py
testing/test_newhooks.py
testing/test_plugin.py
125 failed, 22 passed, 4 skipped, 10 xfailed, 3 warnings in 368.26s (0:06:08)
Comment 1 Alexey 2020-11-29 12:44:42 UTC
Created attachment 675697 [details]
emerge --info
Comment 2 Louis Sautier (sbraz) gentoo-dev 2020-11-30 23:31:06 UTC
All but one tests are fixed with either setuptools<49 or the upcoming distutils_install_for_testing patch that adds --via-root.

Once the eclass change is merged, I'll skip the broken test (linked upstream issue).
Comment 3 Larry the Git Cow gentoo-dev 2020-12-01 17:52:12 UTC
The bug has been closed via the following commit(s):

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

commit cb9604994fcb1542ffe91178b75ecf5b1a0d80cf
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2020-12-01 17:12:48 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2020-12-01 17:51:13 +0000

    dev-python/pytest-xdist: fix tests with setuptools>49
    
    The new --via-root option for distutils_install_for_testing fixes tests
    with setuptools>49 when the package isn't installed.
    One test is still broken at the moment but it's an upstream issue so
    we're skipping it for now.
    
    Closes: https://bugs.gentoo.org/757591
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 dev-python/pytest-xdist/pytest-xdist-2.1.0.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)