escrotum icon indicating copy to clipboard operation
escrotum copied to clipboard

Doesn't work with Python 3.10.1

Open devxalted opened this issue 3 years ago • 9 comments

After reading this issue: #68

I was able to get escrotum working on python 3.10.1 again, however the issues I was having prior to installing escrotum as a python package and also installing python-numpy from AUR as mentioned as fix actions.. my issues were identical to the issues given when python upgraded to 3.9.

Everything from the original post in #68 is identical and relevant to the issue upgrading from python 3.9 to 3.10(.1), I am also running Arch Linux and I received the same exact errors.

As noted, installing python-numpy and running pip install escrotum have fixed the issue in the meantime.

devxalted avatar Dec 14 '21 20:12 devxalted

Please run this command and check its output. Any packages shown there must be reinstalled:

pacman -Qqo /usr/lib/python3.9

Especially if escrotum is included you have to rebuild it!

SammysHP avatar Dec 21 '21 22:12 SammysHP

Same issue here even after rebuilding all the 3.9 packages.

SuperZoops avatar Dec 22 '21 13:12 SuperZoops

Works fine for me.

@SuperZoops What is the output of pacman -Qqo /usr/lib/python3.9?

SammysHP avatar Dec 22 '21 15:12 SammysHP

Works fine for me.

@SuperZoops What is the output of pacman -Qqo /usr/lib/python3.9?

Oh sorry, I fixed it after rebuilding all 3.10 packages, there was nothing in 3.9 before it broke though as I rebuilt everything as soon as 3.10 dropped, so something between 3.10 and 3.10.1 must have broken it. Closing my intervention.

SuperZoops avatar Dec 22 '21 21:12 SuperZoops

Please run this command and check its output. Any packages shown there must be reinstalled:

pacman -Qqo /usr/lib/python3.9

Especially if escrotum is included you have to rebuild it!

Yeah, that fixed. Why does this happens tho? I'm asking just to learn something, if you have any time to answer would be much appreciated. Thanks in advance!

kodenart avatar Jan 16 '22 04:01 kodenart

@kodenart Packages are built against a specific version of Python. If the version changes, all dependent packages must be rebuilt against the new version.

SammysHP avatar Jan 16 '22 07:01 SammysHP

Sure, but that's the first package that I've had to explicitly tell the manager to rebuild. Maybe there's some info missing in the dependencies area of the package?

kodenart avatar Jan 16 '22 07:01 kodenart

All official packages are rebuilt automatically. But AUR packages are your own responsibility. Especially VCS packages (-git) will only be bumped if their PKGBUILD changes (usually).

SammysHP avatar Jan 16 '22 09:01 SammysHP

Thx!

kodenart avatar Jan 16 '22 13:01 kodenart