Subject: Re: bug#44656: [PATCH] Upgrade pypy3

From: Maxim Cournoyer <[email-masked]>
Date: Fri, 06 Aug 2021 21:29:22 -0400

Hi Lars-Dominik,

Lars-Dominik Braun <[email-masked]> writes:

> Hello Maxim,
>
> that’s answered quickly:
>
>> does it require its own .pyc files?
> Yes, .pyc files are implementation-dependent, as their name suggests
> (module.implementation-version.pyc).
>
>> Does it dismiss CPython's produced ones?
> It won’t look at them.
>
>> Can we not point it to consume our existing Python libraries (it's
>> different sys.path suggest differently), etc.)
> Technically plain Python modules should “just work”, but C extensions
> must be recompiled, so usually it’s safer to run setup.py using PyPy and
> install into a PyPy-specific site-modules.

Thanks for the insights.

I guess one way it could work was if we had some transformation option
to rebuild the Python collection against Pypy (do we have something to
do this already?).

Thanks,

Maxim