FS#77911 - [python-pytorch-opt-cuda] magma Dependency cannot be resolved

Attached to Project: Community Packages
Opened by Will (MeissnerEffect) - Sunday, 19 March 2023, 22:27 GMT
Last edited by Torsten Keßler (tpkessler) - Monday, 20 March 2023, 18:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Konstantin Gizdov (kgizdov)
Torsten Keßler (tpkessler)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Magma has been replaced by magma-cuda (https://archlinux.org/packages/community/x86_64/magma-cuda/) and dependencies should reflect that, otherwise, we get
"cannot resolve "magma", a dependency of "python-pytorch-opt-cuda" when trying to install this package.
This task depends upon

Closed by  Torsten Keßler (tpkessler)
Monday, 20 March 2023, 18:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  Provides array now in package.
Comment by bruce (brucethemoose) - Monday, 20 March 2023, 05:23 GMT
I didn't notice this (like many others, I presume) because magma and pytorch were already installed.

I switched to magma-cuda, and now any `pacman -Syu` update fails with:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing magma-cuda (2.7.1-4) breaks dependency 'magma' required by python-pytorch-opt-cuda
Comment by Toolybird (Toolybird) - Monday, 20 March 2023, 05:41 GMT
Dupe  FS#77913 
Comment by bruce (brucethemoose) - Monday, 20 March 2023, 05:47 GMT
Turns out this is also the root of another bug (linear algebra failing in PyTorch) which switching from magma to magma-cuda fixes: https://bugs.archlinux.org/task/77891?project=5&string=python-pytorch-opt-cuda
Comment by Alex Woldring (Libellisth) - Monday, 20 March 2023, 12:09 GMT
I was in the same situation.
I proceeded to uninstall: python-pytorch-cuda
After this replaced magma with community/magma-cuda (2.7.1-4)

Then ran into the problem that I could not install: python-pytorch-cuda
warning: cannot resolve "magma", a dependency of "python-pytorch-cuda"


Problem seems to me is that

community/magma-cuda (2.7.1-4)
does 'Conflicts With: magma'
does 'Replaces: magma'
but it does not 'Provides: magma'
Comment by ianioc (ianioc) - Monday, 20 March 2023, 15:22 GMT
I have the same questions,and python-pytorch-opt-cuda can't install now.
Comment by Torsten Keßler (tpkessler) - Monday, 20 March 2023, 18:17 GMT
Pushed a fix to [community]. magma-cuda now provides magma.

Loading...