There is this code in brp-python-bytecompile:
grep -E "/usr/lib(64)?/python[0-9]\.[0-9]+$"`;
That will break with Python 3.10. Possibly other places in the code will break as well.
echo /usr/lib/python3.10 | grep -E "/usr/lib(64)?/python[0-9]\.[0-9]+$"
Can you elaborate a bit more?
Oh my. I found that problem on Fedora 32, went to report it, copied the fixed regex form master here and haven't checked. This has been actually fixed in https://src.fedoraproject.org/rpms/redhat-rpm-config/c/9ce99265fd0947564ca48e1d4e1cfed2f40711c3
Technically, thou, we might need to backport this to Fedora 32, because with the current peace, we will have Python 3.10 available before Fedora 32 goes EOL.
Backporting to Fedora 31 might or might not be needed. We have introduced Python 3.9 package to Fedora in November 2019, hence I suppose we'll have 3.10 in November 2020. That is more or less on Fedora 31 EOL date.
FEDORA-2020-57a942c3c0 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-57a942c3c0
FEDORA-2020-57a942c3c0 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-57a942c3c0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-57a942c3c0
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-57a942c3c0 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.