PyPI deploy failure: Invalid API Token: InvalidMacaroon('invalid macaroon signature')

We’re using a PyPI API token as an environment variable and it has not changed in several months. The deploy was fine a week ago but now it’s failing:

Uploading distributions to https://upload.pypi.org/legacy/
Uploading twilio-6.45.3.tar.gz
100%|██████████| 457k/457k [00:00<00:00, 1.27MB/s] 
NOTE: Try --verbose to see response content.
HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/
Invalid API Token: InvalidMacaroon('invalid macaroon signature')
PyPI upload failed.
failed to deploy

Issue has been resolved: https://github.com/pypa/warehouse/issues/8565