Hello PyPyistas,

we have renamed the pypy3 package to pypy3.7 (both the component and the "binary" package) on Fedora 35+. The package no longer installs to /usr/lib64/pypy3-7.x/ but rather to /usr/lib64/pypy3.7/.

*What is this good for?*

When PyPy 3 was updated from Python 3.N to 3.N+1, traditionally we have only updated it in Rawhide (and Branched), not to do a backward-incompatible update in stable Fedoras. With this renaming, you can now¹ install pypy3.7 on all Fedoras, despite pypy3 being 3.6 on Fedora 33 and 34.

¹ (The builds are still running, expect an update in Bodhi later today.)

Once PyPy 3.8 is released, we can introduce it to all Fedora versions.


*Warning to Rawhide/Fedora 35 users*

If you already used the pypy3 package with PyPy 3.7, the pypy3.7 package will obsolete it. However, the installation paths are different, so you will need to re-create your PyPy 3 virtual environments.


*Details* (feel free to ignore the rest of this email)

During a lifetime of one stable Fedora release, you will get:

- pypy3.N that provides pypy3 and has /usr/bin/pypy3
- pypy3.N+c introduced later in the lifetime

E.g. for Fedora 35:

- pypy3.7 that provides pypy3 and has /usr/bin/pypy3
- pypy3.8 (or newer) might be introduced in the future

For Fedora 33 and 34, there is a transition period:

- pypy3 provides pypy3.6 and has /usr/bin/pypy3
- pypy3.7 was just introduced
- pypy3.8 (or newer) might be introduced in the future

See for example on Fedora 33:

   $ rpm -qa | grep pypy3
   pypy3-libs-7.3.1-6.fc33.x86_64
   pypy3-7.3.1-6.fc33.x86_64
   pypy3-devel-7.3.1-6.fc33.x86_64
   pypy3.7-libs-7.3.4-4.fc33.x86_64
   pypy3.7-7.3.4-4.fc33.x86_64
   pypy3.7-devel-7.3.4-4.fc33.x86_64

   $ pypy3.6 --version
   Python 3.6.9 (831ff17f8cd1, May 26 2021, 11:41:48)
   [PyPy 7.3.1 with GCC 10.3.1 20210422 (Red Hat 10.3.1-1)]

   $ pypy3.7 --version
   Python 3.7.10 (8dd9fc18a6f0, Aug 11 2021, 06:30:36)
   [PyPy 7.3.4 with GCC 10.3.1 20210422 (Red Hat 10.3.1-1)]

   $ pypy3 --version
   Python 3.6.9 (831ff17f8cd1, May 26 2021, 11:41:48)
   [PyPy 7.3.1 with GCC 10.3.1 20210422 (Red Hat 10.3.1-1)]

Note that we *do not* plan to maintain old PyPy versions indefinitely, we plan to retire them from Rawhide/Branched as soon as new versions arrive and only keep them alive until stable Fedoras goes EOL.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to