GNU bug report logs - #76027
PyPy is Broken

Previous Next

Package: guix;

Reported by: "jgart" <jgart <at> dismail.de>

Date: Mon, 3 Feb 2025 09:19:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: "jgart" <jgart <at> dismail.de>
To: 76027 <at> debbugs.gnu.org
Subject: bug#76027: PyPy is Broken
Date: Mon, 03 Feb 2025 09:18:00 +0000
Hi,

I am reporting a bug that PyPy is broken on Guix and so users are aware that you can't currently use PyPy properly in a guix shell with Guix.

How do you reproduce this issue?

Run the following:

make -j6 && ./pre-inst-env guix shell pypy python-django strace ltrace

ltrace -e getenv pypy -c "import django"

Observe the following PYTHONPATH 

libpypy3.10-c.so->getenv("PYTHONPATH")                                                           = nil

If instead I run the following commands I don't get an error response from ltrace:

make -j6 && ./pre-inst-env guix shell python-wrapper python-django strace ltrace

ltrace -e getenv python -c "import django"

all the best,

jgart

ps

Not sure when I can prioritize fixing this. 

I am thinking that it might not be as trivial as setting the native-search-paths in the pypy package record.

I tried already and it didn't resolve the python paths.

My hypothesis is that the python-build-system or pyproject-build-system makes assumptions that are not compatible with how pypy sets and looks up paths.

I'll have to do some more experiments to find out more about that.




This bug report was last modified 95 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.