Warning for people running Slackware-current and have 3rd party packages installed (who doesn’t) that depend on Python3. That includes you who are running KDE Plasma5!
The “Sun Oct 25 18:05:51 UTC 2020” update in Slackware-current comes with a bump in the Python3 version (to 3.9) which is incompatible with software which already has been compiled against an older version of Python3 (like 3.8).
I found 26 of my own packages on my laptop that depend on Python3 and they are all probably going to break when upgrading to the latest slackware-current. This includes Plasma5 ‘ktown’ packages but also several of my DAW packages.
I suggest that you wait with upgrading to the latest -current for a short while. Give Pat a chance to add Plasma5 to Slackware, because I am not going to recompile any ‘ktown’ package over this.
I will however look at my other packages (cecilia5, wxpython to name but a few) and recompile those against the newer Python. Watch this space for more news.
Thanks so much for the heads up, Eric. I usually don’t sweat Python upgrades. Taking your advice and putting it off for a few days. 😉
If I read it right this seems to be a good news after all, since it means that Plasma5 is going to land into slackware-current soon, which would make your (and my) life easier…;-)
Just to be clear – This breakage has only to do with Python 3 upgrades? If so, I’m not too worried about blacklisting Python3 upgrades.
Blacklisting Python3 package is not enough. Many other packages were recompiled against Python 3.9. If you upgrade those packages while keeping the Python 3.8 package, your system will be broken. As suggested by Eric, the best is to no longer upgrade current pending inclusion of KDE Plasma5. If you don’t use KDE Plasma5 and don’t have third-party packages depending on Python3, then you’re safe to upgrade.
Some works ahead for the SBo contributors, if SBo follow suits which I hope it will… And some work for me as the main Slint repository hosts around 95 packages built against python 3.5… I won’t complain, was waiting for that to happen. Thanks for the heads-up, Eric.
Thanks for the heads-up.
Thanks for the heads up! I have an instance of current on another partition. That is nothing but a clean install that I keep updated. The only thing not Slackware is the Nvidia blob.
Hi Eric,
do you use sbbdep to find out which packages are involved?
@LoneStar
At least the packages where “python3.8” appears, in the MANIFEST file.
There’s also a thread on LinuxQuestions.org where these 25-oct updates are discussed and the programs that are (or are not) affected by it: https://www.linuxquestions.org/questions/slackware-14/october-25-current-update-4175684209/
Thanks for the warning, Eric! I am going to hold off any further updates until I read that it is safe to do so!
—
Pete
For ktown python-3.9 need rebuild:
kauth
kcodecs
kcompletion
kconfig
kconfigwidgets
kcoreaddons
kdbusaddons
kguiaddons
kjobwidgets
kwidgetsaddons
ki18n
kitemmodels
kitemviews
kwidgetsaddons
in dep:
speech-dispatcher (need update also)
mlt (need update also)
python3-ramdom2
lensfun
@Gérard indeed Samuel Thibault has released speech-dispatcher 0.10.1 that I ship in Slint. This being said, to be really useful it needs to ship also orca and some synthesizers. There is already espeak-ng in -current, but it’s not complete (no mbrola voices IIRC) and would deserve an upgrade from the git repository.
Ok, Didier, i have updated speech-dispatcher to 0.10.1, and mlt to 6.22.1, because the old version build by Eric not compil on current, here 😉
Er, is Patrick able to work on moving ktown into current, what with him living under a bridge in a cardboard box and all? Please don’t tell me who screwed him out of the Slackware Store funds or I’d have to commit a felony.
Patrick receives a couple thousand dollars each month from Patrons who support him: https://www.patreon.com/slackwarelinux/overview so he is not exactly an endangered species. Also he lives in a church, not under a bridge.
[satire off]
I am among those who snail Pat a check whenever possible. BTW I didn’t say ‘which’ felony. For example, in California you can get arrested for sitting in your car near a beach watching the sun set into the ocean.
[satire on]
Obquote: “Pray! burn this as soon as it falls into your hands.” Jonathan Swift
Er, I’m not now or ever plan to be a Python expert, but from what I can gather from python.org, warnings were turned into errors regarding python2.7. Code built with 3.8 is probably compatible with 3.9. I’m not convinced that rebuilding existing Frameworks packages is necessary for those who have already upgraded to 3.9. Is there a way to stress-test those 18 packages? What exactly will likely break?
I noticed that upgradepkg left my 3.8 site-packages intact. All of the shared libraries in /usr/lib64/python3.8/site-packages/PyKF5, such as KCodecs.so and the rest of the above-mentioned Frameworks packages’ libraries exist in situ.
Python 3.9 does not search in /usr/lib64/python3.8/ – only in /usr/lib64/python3.9/ . That is the problem. Plus, binaries can link dynamically to /usr/lib64/libpython3.so and now that is also gone.
The kde frameworks packages enumerated by Master Monpontet are linked to the libraries in python3.8/site-packages. All I said was that the existing ktown packages do not need to be rebuilt. Programs that actually invoke python3 in a script are a different issue. I obviously did not make it clear that I was addressing the “Plasma5 ‘ktown’” part of the OP, for which I apologise for the confusion which arose. I simply ran `ldd` on the ktown binaries to search for missing libraries.
Disclaimer: Your mileage may vary. Objects may appear closer than they are. Past performance does not guarantee future results.
3 other packages need to be rebuilt:
cantor
krita
kdev-python
From today’s changelog:
‘x/x11-skel-7.7-x86_64-5.txz: Rebuilt.
xwmconfig: change blurb from “K Desktop Environment” to “KDE Plasma Desktop”.’
Let’s hope that’s an indication of “Real Soon Now” 🙂
Well all the signs are there: the long-delayed updates for python3, poppler, icu4c have been implemented finally. Let’s hope Pat keeps this energy.
Sat Oct 31 01:29:37 UTC 2020
a/aaa_elflibs-15.0-x86_64-27.txz: Rebuilt.
More temporary additions:
libicudata.so.67.1, libicui18n.so.67.1, libicuio.so.67.1, libicutest.so.67.1,
libicutu.so.67.1, libicuuc.so.67.1.
Because of this, it’s not really necessary to update the icu4c-compat package, right?
Correct.
Speaking of kde, do we really need both kaudiocreator and k3b? Kaudiocreator is no longer hosted on https://invent.kde.org/ and has been removed from
https://docs.kde.org/stable/en/kdemultimedia/.
Kaudiocreator will not return in the Slackware version of KDE Plasma5.
If you want to use something else than K3b, perhaps soundkonverter (https://github.com/dfaust/soundkonverter/wiki) would be a good alternative. It is actively being developed.
I use K3b weekly for backups. It’s the best disc burning front-end software this side of Windows.
We were discussing a replacement for the audio CD ripping tool kaudiocreator. K3b can do that as well as burning CD’s. And soundkonverter is another application that can rip audio CD’s.
So it happened!
congrats Eric for all the efforts and patience that brought to it 🙂
Think I’ll wait until it’s out of Testing, since Eric really knows what he’s doing.
well, I think I might go on compiling it on my own… because I’m not much happy that some things are likely going to be cut out.
I even plan on adding more, like Amarok-git 😀
I know that Pat does not want to have some of the ktown packages included in Slackware. I don’t really care about that Patience game, but if he drops Digikam, I will certainly keep maintaining a package for it in ktown.
Just installed vtown in a VMware Workstation 16 Player Slackware64-current VM, which I’m in as I write. Trying to figure out why all I get is a black screen when launching with initlevel 4. Initlevel 3 and startx works fine. Apart from that, it’s workig fine.
Get the updated sddm package. there was a bug in the original package which has now been fixed.
Thanks, ArTourter, I’ll try that. It’s possible that the mirror I used wasn’t 100% up to date. Will let y’all know.
Thanks again, that did it. Much obliged.
Just upgraded my “metal” machine to vtown. Like butter.
Thanks so much, Eric, for all of your hard work and long hours working on KDE. If it weren’t for you, I probably wouldn’t be using it, and loving it.
Perhaps a new blog post may be in order, since Plasma5 finally landed in Slackware testing .
There might be a few stragglers that haven’t been keeping an eye on the changelog.
I can imagine that some people would want some guidance. But I was not informed ahead that there was going to be a ‘vtown’ this week, I could only guess and hope, and also this stuff *is* still in testing. Use at your own risk.
I do not have the time to care at the moment, I have bigger issues to deal with privately. I am sorry. Maybe during or after the weekend.
I have not even looked at what’s in Slackware’s ‘vtown’ except to find and report some bugs in the new sddm package. I also did not install it.
That is quite understandable, personal life needs to taken care of too.
In my case the transition from ktown to vtown went relatively smoothly. No major issues so far.
Luckily sddm was already fixed before I made my attempt. I’ll leave some hints below for anyone else who wants to give it a try.
On my system with slackpkg+ here are the steps I took to switch:
1. Switch to init level 3 if not already
2. slackpkg update && slackpkg upgrade-all
3. slackpkg remove ktown kde kdei
4. edit slackpkgplus.conf to remove ktown
5. add testing:vtown to your PKGS_PRIORITY list in slackpkgplus.conf
6. slackpkg update && slackpkg install vtown && slackpkg upgrade vtown
I am hving trouble compiling numpy3 against python3.9. Any suggestions?