Use of python3-boto3 and python3-botocore on Ubuntu Server

I found out that I have in my multipass’s VM with Plucky, the packages python3-boto3 and python3-botocore installed. I also checked the manifest and found out the server version installs them by default.
I wonder why they are used for real? If it was cloud images, I could understand, but I couldn’t find the reason for them existing on the server version. I know they are suggested by sos, but I don’t understand why needs to be installed by default.

I see that python3-boto3 depends on python3-botocore, so that explains why the latter is installed. But regarding python3-boto3, I only found a recommends by sos, as you did.
We do build images with recommends enabled by default, so that explains it. But I also do agree that python3-boto3 doesn’t seem to make sense in a non-cloud environment, just because of sos. Sounds like it could be optimized, but at least, since sos just recommends python3-boto3, it can be removed.

How should I procede to do that if I’m not a developer? Open a bug against ubuntu-server package or something like that?

That’s a good question.

Since python3-boto3 is pulled in by sos, that’s where I would start: filing a bug against the sos package, asking why it recommends python3-boto3, and if that relationship could be relaxed to a Suggests.

Here is the link to file a bug against sos: https://bugs.launchpad.net/ubuntu/+source/sos/+filebug

Done as requested: Bug #2104161 “Change python3-boto3 to suggests if possible” : Bugs : sos package : Ubuntu

Thanks for your guidance.

2 Likes