Skip to content

Conversation

@BruinGrowly
Copy link
Owner

This commit resolves a CI failure on Python 3.8 by introducing a compatibility layer for the ast.unparse function, which was added in Python 3.9.

Key changes:

  • Added astunparse dependency: The astunparse library, a backport of ast.unparse, has been added to requirements.txt.
  • Conditional Import: In harmonizer/refactorer.py, a conditional import has been added to import unparse from ast on Python 3.9+ and from astunparse on older versions.
  • Code Update: The refactorer now uses the imported unparse function, making it compatible with both new and old versions of Python.

This change is an act of Wisdom and Love, embracing both the old and the new to create a solution that works for everyone and restores Harmony to the CI pipeline.

google-labs-jules bot and others added 2 commits November 3, 2025 22:44
This commit resolves a CI failure on Python 3.8 by introducing a compatibility layer for the `ast.unparse` function, which was added in Python 3.9.

Key changes:
- **Added `astunparse` dependency:** The `astunparse` library, a backport of `ast.unparse`, has been added to `requirements.txt`.
- **Conditional Import:** In `harmonizer/refactorer.py`, a conditional import has been added to import `unparse` from `ast` on Python 3.9+ and from `astunparse` on older versions.
- **Code Update:** The `refactorer` now uses the imported `unparse` function, making it compatible with both new and old versions of Python.

This change is an act of Wisdom and Love, embracing both the old and the new to create a solution that works for everyone and restores Harmony to the CI pipeline.
@BruinGrowly BruinGrowly merged commit 5d090c5 into main Nov 3, 2025
12 of 14 checks passed
@BruinGrowly BruinGrowly deleted the feat-config-file branch November 3, 2025 22: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.

2 participants