Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397395 - dev-python/rope-0.9.3-r1 suffers test failure build with pypy-1.7
Summary: dev-python/rope-0.9.3-r1 suffers test failure build with pypy-1.7
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://bugs.pypy.org/issue1164
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-01-02 14:09 UTC by Ian Delaney (RETIRED)
Modified: 2016-11-03 21:23 UTC (History)
0 users

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


Attachments
my emerge --info (emerge.info,4.90 KB, text/plain)
2012-01-02 14:09 UTC, Ian Delaney (RETIRED)
Details
the build log (rope_build.log,38.65 KB, text/plain)
2012-01-02 14:10 UTC, Ian Delaney (RETIRED)
Details
ebuild patch (rope.patch,1.33 KB, patch)
2012-06-11 13:41 UTC, Ian Delaney (RETIRED)
Details | Diff
the patch to the copied files (rope-0.9.4_pypy_test.patch,1.50 KB, patch)
2012-06-11 13:44 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-01-02 14:09:44 UTC
Created attachment 297677 [details]
my emerge --info

FEATURES test set; stad use flags
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-01-02 14:10:19 UTC
Created attachment 297679 [details]
the build log
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-06-11 08:15:37 UTC
made an upstream issue or ticket
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-06-11 13:41:12 UTC
Created attachment 315003 [details, diff]
ebuild patch

from https://bugs.pypy.org/issue1164 a quick response;

The message of the error tries to explain it: get_python_lib(standard_lib=1)
cannot succeed in PyPy, because there is no single directory that can be
considered as "the standard library".  So we just don't know what value to
return there.  In general it is known that not all features of distutils work on
PyPy.  It can be considered as a PyPy flaw (but we can also wonder why a normal
program would need it other than during complicated setup procedures).

So this is a test that pypy can't pass and doesn't make for a 'sensible' test for just pypy.  For reasons not yet determined pypy also can't handle test file advanced_oi_test.py.

This brings a new layer to patching for python package tests.  The patching need apply only for when testing with pypy, so the patching must not be done to files tests by CPython.  I've simply made a copy of the key files, patched the copies and moved them back to the original names at the point of testing with pypy, remembering that pypy is tested after cpython
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2012-06-11 13:44:02 UTC
Created attachment 315005 [details, diff]
the patch to the copied files
Comment 5 Mathy Vanvoorden 2016-11-03 21:21:06 UTC
I think this bug can be closed, this version is no longer in portage and the latest version builds and tests fine (but does not include pypy support)