On Wed, Oct 18, 2017 at 5:29 PM, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
> On 2017-10-18 16:57, Erik Bray wrote:
>>
>> Any ideas?  Looks odd...
>
>
> Please try again with attached patch

Thanks, but no need--I think I see the issue.  If you happen to be
somewhere on the path of the cythonized file, then the "File" string
Cython produces ends up being relative to your current directory,
whereas _extract_embedded_position seems to assume the filename is
relative to the directory under SPYX_TMP.

The reason this happens in the Docker container is that it by default
starts out in /home/sage (the default user's home directory) and runs
the test suite from here as well, so the File string ends up being
relative to /home/sage instead.

It would probably be best if cython() change directory to target_dir
before calling cythonize()  (or if there's some way to force cythonize
to output an absolute filename that might be good too, but I don't
know if there's an easy way to do this).

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to