Closed timlau closed 3 years ago
@timlau I think @papoteur-mga is trying to add support for weak deps in #45, does that help for your case?
Nope, He is working on returning weak dependencies in the transaction result
My PR is to fix an error, when return GetPackages('updates') that should return only updates & installonly packages like kernel and not weak dependencies. When we are executing the transaction, then weak dependencies is pulled in and #45 will make it possible to show these packages as weak depencies and not just like packages being installed.
found another case to error. updates with new dependencies, will have these list when getting a list of updates, but give a marking error when they are added to transaction because they are not direct updates and don't update anything.
The changes will not break anything, it will only remove packages there are not reel updates for the list of available updates. returned by GetPackages('updates').
The dependencies will be pulled in when we do the transactions, as they are supposed to do,
Looks like PyCharm as fixed some wrong indentation in the file also, there is include in the patch also
@timlau @Conan-Kudo if you both agreed we can add @timlau back to push rights. Maybe just opening an issue against dnfdragora when something pushed could break compatibility.
Fine with me.
weak dependencies is currently shown when getting updates, this gives errors when trying to add them to the transaction