Skip to content

Fix Python 3.12/3.13 and Windows compatibility#4

Open
TKIPisalegacycipher wants to merge 1 commit intojcomo:mainfrom
TKIPisalegacycipher:py312-py313-fix
Open

Fix Python 3.12/3.13 and Windows compatibility#4
TKIPisalegacycipher wants to merge 1 commit intojcomo:mainfrom
TKIPisalegacycipher:py312-py313-fix

Conversation

@TKIPisalegacycipher
Copy link

Summary

  • Add explicit encoding="utf-8" to open() calls in codegen.py and tracking_numbers/helpers/spec.py
  • Fixes compatibility with Python 3.12 and 3.13 on Windows, where the default encoding may not be UTF-8

Testing

Tested on Python 3.12 and 3.13 on Windows.

…Only two minor fixes needed to fully validate the package on 3.12 and 3.13.
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