Message7363
Hi Marcus:
In message <1636475687.17.0.08336466737.issue2551169@roundup.psfhosted.org>,
Marcus Priesch writes:
>debugging yields that get_path('platlib') contains "lib64" instead of
>"lib" which is searched for in line 94 of setup.py
Thanks for the patch. I don't have any time to reproduce it in the
next few days (and wouldn't be able to reproduce on gentoo).
Where is the infinite loop occurring? In my copy of setup.py the code
look like:
# get the platform lib path.
plp = get_path('platlib')
# nuke suffix that matches lib/* and return prefix
head, tail = os.path.split(plp)
while tail != 'lib' and head != '':
head, tail = os.path.split(head)
if not head:
head = sys.prefix
return head
I don't see how that generates an infinite loop. It should return
sys.prefix in your case. That code hasn't changed since 2.1.0 so....
Sys.prefix is still wrong, so the patch is probably a good idea, but
it's not an infinite loop. I want to make sure I solve the infinite
loop and not just remove a possible trigger for it.
Thanks and have a great day. |
|
Date |
User |
Action |
Args |
2021-11-09 17:48:50 | rouilj | set | recipients:
+ rouilj, marcus.priesch |
2021-11-09 17:48:50 | rouilj | link | issue2551169 messages |
2021-11-09 17:48:50 | rouilj | create | |
|