Skip to content

Conversation

@davidvasandani
Copy link

Summary

  • Fixed Docker build failures due to Python 3.13 unavailability in Alpine Linux
  • Resolved runtime error when accessing MountedServer attributes
  • Updated Python version to 3.12 for Alpine compatibility

Problem

  1. Docker build was failing with: error: No interpreter found for Python 3.13 in managed installations or search path
  2. Runtime error: 'MountedServer' object has no attribute 'get'

Solution

  1. Python Version: Changed from Python 3.13 to 3.12 since Alpine Linux only provides Python 3.12 packages
  2. Docker Dependencies: Added python3 and py3-pip to Alpine package installation in Dockerfile
  3. MountedServer Fix: Corrected attribute access from server_info.get('client') to server_info.client since MountedServer is an object, not a dictionary

Test plan

  • Docker build completes successfully
  • docker compose up magg-dev runs without errors
  • No MountedServer attribute errors in logs
  • Server starts and runs on port 8008

🤖 Generated with Claude Code

- Changed Python version from 3.13 to 3.12 for Alpine Linux compatibility
- Added python3 and py3-pip to Alpine packages in Dockerfile
- Fixed MountedServer attribute access error (was using .get() on object instead of direct attribute access)

These changes resolve:
1. "No interpreter found for Python 3.13" error during Docker build
2. "'MountedServer' object has no attribute 'get'" runtime error

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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