Repository navigation
0.1.9
Patch release: the package could not be imported at all on Python 3.11.
SyntaxErroron 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-pythonsays>=3.11, so 0.1.6 through 0.1.8 were broken there: anyimport 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.pynow parses every source file withast.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.