Skip to content

Make theme package loading more robust#1747

Merged
windymilla merged 1 commit intoDistributedProofreaders:masterfrom
windymilla:awthemes
Mar 1, 2026
Merged

Make theme package loading more robust#1747
windymilla merged 1 commit intoDistributedProofreaders:masterfrom
windymilla:awthemes

Conversation

@windymilla
Copy link
Collaborator

Use importlib.resources.as_file() when loading awthemes

Ensures Tcl receives a real filesystem path rather than a MultiplexedPath (seen in newer Python/Poetry installs). Fixes "can't find package awdark" under Python 3.14.

Use importlib.resources.as_file() when loading awthemes

Ensures Tcl receives a real filesystem path rather than a
MultiplexedPath (seen in newer Python/Poetry installs).
Fixes "can't find package awdark" under Python 3.14.
@windymilla windymilla requested a review from srjfoo March 1, 2026 17:59
@windymilla windymilla merged commit dd7b405 into DistributedProofreaders:master Mar 1, 2026
1 check passed
@windymilla windymilla deleted the awthemes branch March 1, 2026 18:58
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