Skip to content

Fix #1553: daemon.py can't be loaded without pywin32 installed - #1590

Open
aleksandy wants to merge 1 commit into
playframework:masterfrom
aleksandy:fix/1553
Open

aleksandy wants to merge 1 commit into
playframework:masterfrom
aleksandy:fix/1553

Conversation

@aleksandy

@aleksandy aleksandy commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

daemon.py imported win32pdh/win32pdhutil at module load time, so the daemon command failed to load on Windows when pywin32 is not part of the Python environment. Replace the win32pdh-based process check with a ctypes-based one, which requires no third-party dependency.

Fixes #1553

…talled

daemon.py imported win32pdh/win32pdhutil at module load time, so the
daemon command failed to load on Windows when pywin32 is not part of
the Python environment. Replace the win32pdh-based process check with
a ctypes-based one, which requires no third-party dependency.
@aleksandy
aleksandy marked this pull request as ready for review November 9, 2026 03:23
@mergify

mergify Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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.

daemon.py can't be loaded

1 participant