Skip to content

test_tricks_from_file[tricks-from] crashes Python on 3.14t on Windows #1132

@ngoldbaum

Description

@ngoldbaum

When I run the tests using a 3.14t interpreter on Windows, I see a crash coming from CPython internals:

tests/test_0_watchmedo.py::test_tricks_from_file[tricks-from] Fatal Python error: _PySemaphore_Wakeup: parking_lot: ReleaseSemaphore failed
Python runtime state: initialized

Stack (most recent call first):
  <tstate is freed>

This is the error that's happening here, the error message is just getting suppressed by pytest capturing output:

https://github.com/gorakhargosh/watchdog/actions/runs/17774527575/job/50518773919

I reproduced it locally and got the extra context that somehow CPython is crashing with a fatal python error.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions