The migration advice (https://peps.python.org/pep-0632/#migration-advice) suggests reimplementing the functionality as per the docs (https://docs.python.org/3.9/distutils/apiref.html#distutils.util.strtobool) which is exactly what I've done here. Differential Revision: https://phabricator.services.mozilla.com/D199950
To run this locally for testing/development purposes:
1. Find a funsize generating task ID
2. docker run -t -e TASKCLUSTER_ROOT_URL="https://firefox-ci-tc.services.mozilla.com" -e SIGNING_CERT='nightly' -e MAR_CHANNEL_ID='firefox-mozilla-central' -e TASK_ID="${TASK_ID}" -e EXTRA_PARAMS="--arch=x86_64" funsize-update-generator /runme.sh
The TASK_ID should be a recent "partials" Task.