"error: failed to prepare transaction (could not satisfy dependencies)
:: installing python (3.11.5-1) breaks dependency 'python<=3.11.3' required by python-exceptiongroup"
Is it just me or it's a general error?
I ran into this yesterday and in my impatience just built python-exceptiongroup myself after changing the depends to not have the version constraint. Which is what arch have done to their package.
https://gitlab.archlinux.org/archlinux/packaging/packages/python-exceptiongroup/-/commit/5178ea2ed840bf8240036679d463184629705812
So wait or do the same I guess. Not just you.
Good thank you for the tip 👍🏻 Think I'll wait. Perhaps some fix will be available soon enough. If not I'll pick the other option, the hard way 🤯
Hello,
I confirm the issue. Same here. I will wait.
Have a nice day. :)
@maverick you might wanna check this fix out from reply no. 7 you have several options. Waiting might be a solution but that way you can't have onboard the new python which is used by pacman and so idk if you can have updates at all till you get around this.
fix (https://forum.artixlinux.org/index.php/topic,5864.msg36661.html#msg36661)
When you do pacman -Rs pkgname it will tell you what is going to be removed, then ask you if you want to proceed. This is a quick way to see if you have anything else that depends on a package before you remove it, because you will get error messages if it's required by the system. In my case I could remove python-exceptiongroup, so I did and then could update. This shouldn't be considered an official solution, but it hasn't caused any problems for me that I've noticed.
what I don't understand is why we explicitly mention a python version less than 3.11.3 , arch maintainer is not doing that, is it even necessary?
look at comment at this (https://gitea.artixlinux.org/packages/python-exceptiongroup/commit/1d000acbbcadfee901a8b358135ed81b3aa38dcb) commit. line 22 of PKGBUILD file.
# Release 1.1.2 has a patch that is specific for Python 3.11.4+, as of now Arch
# is on 3.11.3. This can/should be removed after Python updates.
here's the info of package for arch and artix,
$ yay -Si python-exceptiongroup
Repository : world
Name : python-exceptiongroup
Version : 1.1.3-1
Description : Backport of PEP 654 (exception groups)
Architecture : any
URL : https://github.com/agronholm/exceptiongroup
Licenses : MIT
Groups : None
Provides : None
Depends On : python<=3.11.3
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 32.36 KiB
Installed Size : 136.10 KiB
Packager : Artix Build Bot <[email protected]>
Build Date : Tue 22 Aug 2023 05:03:30 PM UTC
Validated By : MD5 Sum SHA-256 Sum Signature
Repository : extra
Name : python-exceptiongroup
Version : 1.1.3-2
Description : Backport of PEP 654 (exception groups)
Architecture : any
URL : https://github.com/agronholm/exceptiongroup
Licenses : MIT
Groups : None
Provides : None
Depends On : python
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 32.34 KiB
Installed Size : 136.10 KiB
Packager : Daniel M. Capella <[email protected]>
Build Date : Mon 28 Aug 2023 11:56:13 PM UTC
Validated By : MD5 Sum SHA-256 Sum Signature
If I am right, the maintainer should remove python version dependency
@suren python version think it's required since using an ancient version of python obviously things can break even worse. Using python version might be a safeguard method so obsolete python version would be rejected. In this case the safeguard was no longer necessary and turned into an obstacle but still preferable than allowing some medieval python.
Thank you for the advice. It turns out that the wait is over, since pacman does not show the error anylonger.
However, now I am facing another issue: Pacman does not find the galaxy db. anymore, so I cannot update
in any case. A new thread has already been created about this, since I am not the only one affected by it.
Thank you anyway.