OK, I finished analyzing the problem. It's a combination of:
1. the Sage wrapper around the Cython installer setting PYTHONPATH
2. the reimport_from_subinterpreter test failing if PYTHONPATH is set
I'll open a PR quick.
___
cython-devel mailing list
c
n 2018-10-22 16:44, Jeroen Demeyer wrote:
The entries marked with # < are different but I don't know why.
There is a difference in $PYTHONPATH.
When it works, PYTHONPATH equals
'/home/jdemeyer/sage-test/local/var/tmp/sage/build/cython-0.29/src/TEST_TMP/support/lib.linux-ppc64le-2.7:/home/
On 2018-10-21 15:44, Stefan Behnel wrote:
Maybe print "sys.path" and "sys.meta_path" in a couple of places?
So I did and the problem is indeed related to sys.path.
When running *only* the reimport_from_subinterpreter tests, sys.path
starts with the following entries:
''
'/home/jdemeyer/sage
Jeroen Demeyer schrieb am 21.10.2018 um 12:47:
> On 2018-10-16 20:30, Stefan Behnel wrote:
>> Difficult to say why this would fail to find the package. Could it be an
>> import path problem? Current directory missing from the PYTHONPATH or
>> something like that?
>
> The problem is that the error
On 2018-10-16 20:30, Stefan Behnel wrote:
Difficult to say why this would fail to find the package. Could it be an
import path problem? Current directory missing from the PYTHONPATH or
something like that?
The problem is that the error depends on the proverbial "phase of the
moon". When runnin
Jeroen Demeyer schrieb am 16.10.2018 um 12:42:
> I'm getting various reports of the test reimport_from_subinterpreter
> failing (within Sage, Cython 0.29, Python 2.7.15).
>
> Annoyingly, the problem can only be reproduced when running the full Cython
> testsuite, not when running the test in isola
Hello,
I'm getting various reports of the test reimport_from_subinterpreter
failing (within Sage, Cython 0.29, Python 2.7.15).
Annoyingly, the problem can only be reproduced when running the full
Cython testsuite, not when running the test in isolation. I'll continue
to investigate, but I'm