Skip to content

0.1.9

Choose a tag to compare

@kurobeats kurobeats released this 22 Oct 02:06
· 6 commits to main since this release

Patch release: the package could not be imported at all on Python 3.11.

  • SyntaxError on import under 3.11. The Discord embed built its text with quote reuse inside f-strings (f"{payload.get("command")}"), which only parses on 3.12+. requires-python says >=3.11, so 0.1.6 through 0.1.8 were broken there: any import coldsnake.cli - login, ls, mirror, everything - raised before doing anything. The command name is precomputed now.
  • CI has been red since 0.1.6 for exactly this reason, on the 3.11 job only. tests/test_compat.py now parses every source file with ast.parse(feature_version=(3, 11)), so a newer-than-declared construct fails the suite even without a 3.11 interpreter present.

Nothing else changed; 0.1.8's scrub and pacing are as released.