Skip to content

Upgrade Docker to Python 3.10 for x402 SDK compatibility#56

Merged
crtahlin merged 1 commit intodevfrom
fix/python-310-for-x402
Jan 20, 2026
Merged

Upgrade Docker to Python 3.10 for x402 SDK compatibility#56
crtahlin merged 1 commit intodevfrom
fix/python-310-for-x402

Conversation

@crtahlin
Copy link

Summary

Upgrade Dockerfile from Python 3.9 to Python 3.10 to enable x402 SDK installation.

Closes #55

Problem

The x402 Python SDK requires Python 3.10+. The dev deployment was failing with:

ERROR: Could not find a version that satisfies the requirement x402>=0.1.0

Solution

Change FROM python:3.9-slim to FROM python:3.10-slim.

Note

PR #28 previously fixed Python 3.9 compatibility for type hint syntax (Optional[int] vs int | None). That was about our code being compatible with Python 3.9.

This change is different - it's about the x402 SDK requiring Python 3.10+. There's no workaround if we want to use x402.

Test plan

  • Merge and verify CI deployment succeeds
  • Verify dev gateway comes up with x402 enabled

@crtahlin crtahlin merged commit 3d6c682 into dev Jan 20, 2026
@crtahlin crtahlin deleted the fix/python-310-for-x402 branch January 20, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant