Comparison

Choosing a Python version for bots

3.10+ for modern asyncio libraries; pin in CI.

Comparison1 min readUpdated

Run bot workers on a maintained Python 3.x — avoid end-of-life runtimes that miss TLS and asyncio fixes.

Checklist

  • Pin the minor version in Docker images
  • Test asyncio shutdown on that version
  • Watch wheel support for crypto deps
  • Document the supported version in README

Operator notes

Revisit this choice when your traffic, team size or compliance needs change. Keep a one-line decision log in the repo.

Frequently asked questions

Is this exhaustive?

No. It is a practical starting point; verify details in official docs before production.

Related comparisons and tools