Skip to content

Remove unused cgitb import for Python 3.13+ compatibility#23

Open
matt-minev wants to merge 1 commit into
asarg:mainfrom
matt-minev:modern-python-compat
Open

Remove unused cgitb import for Python 3.13+ compatibility#23
matt-minev wants to merge 1 commit into
asarg:mainfrom
matt-minev:modern-python-compat

Conversation

@matt-minev

Copy link
Copy Markdown

This removes an unused from cgitb import lookup import from UniversalClasses.py.

cgitb was removed from the Python standard library in Python 3.13, so this import prevents AutoTile from launching on newer Python versions. The imported lookup symbol does not appear to be used anywhere else in the codebase, so removing the import restores compatibility.

Manual testing performed on macOS with Python 3.14.5:

  • launched AutoTile.py
  • loaded/ran an example assembly
  • stepped through available moves
  • saved history successfully
  • loaded/generated history JSON successfully

This is a small compatibility fix only; it does not change simulation behavior.

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