> unsure why those systems have an updated update-manager but an old ubuntu-advantage-tools?
I can't think of anything either other than a manual 'apt udpate; apt install update-manager'.
> we should still handle the case where the client doesn't return the a valid json output, either by catching the exception or by backporting the switch to use the proper python api
If it is indifferent, then I'm going with the latter since we already did it for 24.04. The documentation says it raises no exceptions[1].
I'll open the merge request once I have it tested.
Thank you again for figuring this one out!
> unsure why those systems have an updated update-manager but an old ubuntu- advantage- tools?
I can't think of anything either other than a manual 'apt udpate; apt install update-manager'.
> we should still handle the case where the client doesn't return the a valid json output, either by catching the exception or by backporting the switch to use the proper python api
If it is indifferent, then I'm going with the latter since we already did it for 24.04. The documentation says it raises no exceptions[1].
I'll open the merge request once I have it tested.
[1] https:/ /canonical- ubuntu- pro-client. readthedocs- hosted. com/en/ latest/ references/ api/#u- pro-packages- updates- v1