syncstorage-rs icon indicating copy to clipboard operation
syncstorage-rs copied to clipboard

Upgrade process_account_events.py from boto to boto3

Open data-sync-user opened this issue 9 months ago • 0 comments

Tokenserver’s process_account_events.py relies on the older boto library for accessing FxA’s account events via SQS. In the long term we should migrate away from SQS entirely: https://mozilla-hub.atlassian.net/browse/SYNC-4211 but until that happens (and lacking any timeline for it) there’s reasons to migrate off the original boto to boto3:

  • boto is fully deprecated and no longer receives updates
  • boto is no longer compatible with modern Python versions (seemingly has issues with >= Python 3.12)
  • the script’s usage of boto is very small (only a few lines of code)

This is basically a reopening of the original issue from about a year ago: https://github.com/mozilla-services/syncstorage-rs/issues/1532

┆Issue is synchronized with this Jira Task

data-sync-user avatar Mar 17 '25 23:03 data-sync-user