Revert to Python 3.12 and compatible dependencies
- Change Python requirement back to ^3.12
- Use older wax version (1.28.4rc1.dev31) compatible with Python 3.12
- Update pre-commit config to use python3.12
- Apply ruff formatting fixes
Co-Authored-By:
Claude Opus 4.5 <noreply@anthropic.com>