Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn off Python sub-interpreter tests #26614

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

jabraham17
Copy link
Member

@jabraham17 jabraham17 commented Jan 29, 2025

This PR turns off Python sub-interpreter tests. These tests have wildly unpredictable output due to race conditions. This PR also adds a warning to the docs warning users about this.

The unpredictable behavior is caused by race conditions when creating/destroying sub-interpreters, see #26615.

This PR has a few other nit cleanups.

[Reviewed by @lydia-duncan]

Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
Copy link
Member

@lydia-duncan lydia-duncan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay with this approach, but I do wonder if some type of sorting attempt would help alleviate the inconsistency, instead of silencing the tests. Still, this seems to be something you're actively working on generally, so I'm okay with turning it off for now as long as you're intending to get back to it soon (and will take steps to keep this from being swept under the rug if you don't get back to it in the next month or two)

@jabraham17 jabraham17 merged commit 6c78a52 into chapel-lang:main Jan 29, 2025
8 checks passed
@jabraham17 jabraham17 deleted the disable-subinterp-testing branch January 29, 2025 21:18
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