Recent Python upgrade broke some stuff. Can I downgrade?

After upgrading to 41, I’ve found that the move to Python 3.13 is causing me some trouble. The Ranger file manager no longer works and also the jedi-vim Python plugin for Vim as stopped working as well.

For Ranger, I have found a temporary work-around by installing it with pipx directly from the repo. However, I would really like to get jedi-vim back online. At the moment, nothing about jedi-vim works. Trying to do something like go-to-definition results in a screen full of errors.

I thought the simplest thing to do would be to downgrade my Python version, but running sudo dnf downgrade python3 tells me it cannot be downgraded. It’s already at the lowest version.

Is this true? I’ve never tried to downgrade a package in Fedora so, I’m wondering if I did it wrong.

If anyone’s got some suggestions for getting my Python auto-completion in Vim working again, I would be very thankful.

A conventional solution to this kind of problem:
How can I install Fedora37 now? - #4 by vgaetera

Downgrading to the previous release is also possible:

sudo dnf4 distro-sync --releasever=40 --allowerasing
1 Like

You can install other versions with eg sudo dnf install python3.12. Then make sure jedi-vim is using that instead of python3.13.

Fedora system tools require 3.13 for them to operate correctly which why you cannot do the downgrade.

As already pointed out you can installer the older python version you need along side 3.13.

Added f41, python