Bug
Running the echo bundle on Python 3.10 fails with:
ImportError: cannot import name 'UTC' from 'datetime' (/usr/lib/python3.10/datetime.py)
Cause
datetime.UTC was introduced in Python 3.11. The import in server.py line 7:
from datetime import UTC, datetime
should be changed to use datetime.timezone.utc for compatibility with Python 3.10+.
Reproduction
mpak run @nimblebraininc/echo
on a system with Python 3.10.