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

Bug 608268

Summary: dev-python/py-1.4.31 fails 18 tests with cpython
Product: Gentoo Linux Reporter: Mart Raudsepp <leio>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: alexey+gentoo, kentnl, kingjon3377
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Mart Raudsepp gentoo-dev 2017-02-05 07:27:46 UTC
========== 18 failed, 632 passed, 207 skipped, 3 xfailed, 30 pytest-warnings in 100.32 seconds ==========
 * ERROR: dev-python/py-1.4.31::gentoo failed (test phase):
 *   testing failed with python2.7
Comment 1 Mart Raudsepp gentoo-dev 2017-02-05 07:28:47 UTC
All the same test failures with at least python2_7 on amd64 and mips, and python3_4 on amd64.
Comment 2 Mart Raudsepp gentoo-dev 2017-02-05 07:29:57 UTC
Created attachment 462476 [details]
build.log

build.log from ~amd64 test failure for tests under python2.7. Fails the same when trying python3.4 only.
Comment 3 gentoo_usr 2017-02-16 18:00:34 UTC
The failing tests for test_excinfo.py and test_assertion_py is due to incompatibility with pytest >= 3. Upstream commit 4711179f79a7bd84edf243a89bde47735f9d7ee4 in [0] fixes these. The patch, however, resides in an (until now) unmerged branch.

I also got another failure 

FAIL testing/log/test_warning.py::test_forwarding_to_warnings_module

which is fixed in the (merged) upstream commit 902a83c87f34a2819327dc2cdf109f38652c073f. Note that the commit message says nothing about the test. It also changes a lot of other code parts which are not related to the test failure. A method to get the patch needed is running:

git format-patch -1 902a83c87f34a2819327dc2cdf109f38652c073f -- testing/log/test_warning.py


[0] https://github.com/pytest-dev/py
Comment 4 Mart Raudsepp gentoo-dev 2017-03-05 06:56:46 UTC
1.4.32 fails for me on arm64, but differently (doesn't print such summary of failure, just immediately some conftest spew)
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-28 17:10:12 UTC
Old version removed.  Please reopen if you can still reproduce it.