Skip to content

Conversation

@gfieni
Copy link
Contributor

@gfieni gfieni commented Dec 3, 2025

This PR fixes a deadlock that occurred when running the test suite on Python 3.14 under Unix.

The issue was caused by the new default multiprocessing start method, forkserver, introduced in Python 3.14, combined with the cli module’s tests modifying sys.argv directly. This interaction caused failures when the test runner spawned new processes.

Any modules using actors were affected when the tests/unit/cli tests ran first.

@gfieni gfieni self-assigned this Dec 3, 2025
@gfieni gfieni requested a review from a team as a code owner December 3, 2025 15:07
@gfieni gfieni added bug Something isn't working test labels Dec 3, 2025
@gfieni gfieni force-pushed the test/fix-deadlock-forkserver branch from 49b47b2 to b02d1dc Compare December 3, 2025 15:11
@gfieni gfieni force-pushed the test/fix-deadlock-forkserver branch from b02d1dc to 92ddd49 Compare December 3, 2025 15:55
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 3, 2025

@gfieni gfieni merged commit 28a58ac into master Dec 3, 2025
7 of 9 checks passed
@gfieni gfieni deleted the test/fix-deadlock-forkserver branch December 3, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants