Pkgs wants to install python37 (thought default was python38)

I tried to upgrade python 37->38 using the UPDATING info. However, every time I try to do a pkg upgrade it wants to reinstall python37. I've tried to portupgrade everything that relies on python37 and still it tries to install packages that rely on 37. Is this expected behavior? Are we kind of in-between 37 and 38 w/ packages (requires both), or is there something wrong with my system? It seems all of my FreeBSD boxes are like this. I try to use packages unless there's vulnerabilities or such to use ports. Thanks.
 
If a package requires py37 it will install that. We are indeed somewhat in between two Python versions (in fact we always are, we just got rid of Python2). The quarterly package release lags somewhat behind the port releases, as far as I can tell the ports tree switched to py38 by now. The packages will follow, until then you will see both py37 and py38. Command pkg autoremove may be useful.
Please note that using both ports and packages is can lead to hard-to-trace errors.
 
Thanks. Yes, using both ports and packages is a mixed bag. Now that I know I cannot be exclusively on just py38 I won't worry about it. Thanks again.
 
Don't mix the latest ports tree with quarterly packages. That'll just end up in a giant mess. Either use the quarterly ports branches or switch your packages to latest. Make sure these two actually line up.

Best option, if you really need custom options with some ports, build your own repository. That's a lot easier than you might think. Especially useful if you have to maintain a couple of servers.
 
Back
Top