Skip to content
New issue

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

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

Already on GitHub? # to your account

[3.11] Fix test_importlib.test_side_effect_import() (GH-104840) #104843

Merged
merged 1 commit into from
May 25, 2023

Conversation

miss-islington
Copy link
Contributor

Wait until the thread spawn by the import completes to avoid dangling
threads. With this fix, the following command no longer fails:

./python -m test --fail-env-changed test_importlib -m test_side_effect_import -F -j20
(cherry picked from commit 4269509)

Co-authored-by: Victor Stinner vstinner@python.org

Wait until the thread spawn by the import completes to avoid dangling
threads. With this fix, the following command no longer fails:

./python -m test --fail-env-changed test_importlib -m test_side_effect_import -F -j20
(cherry picked from commit 4269509)

Co-authored-by: Victor Stinner <vstinner@python.org>
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM, good bot.

@brettcannon
Copy link
Member

@vstinner did you leave this open on purpose or forget the auto-merge label?

@AlexWaygood
Copy link
Member

@vstinner did you leave this open on purpose or forget the auto-merge label?

There is no auto-merge label anymore (and miss-islington no longer merges any PRs herself). There is now only GitHub automerge.

@vstinner
Copy link
Member

@vstinner did you leave this open on purpose or forget the auto-merge label?

In the past, approving a backport PR was enough to merge a backport. It seems like I have to update my habits to add the auto-merge label.

@vstinner
Copy link
Member

There is now only GitHub automerge.

Oh right, I don't see any "auto-merge" label. And right now, I can only "Squash and merge", there is no "auto merge" button. Maybe it's because the CI completed successfully.

@vstinner vstinner merged commit 76873ca into python:3.11 May 25, 2023
@miss-islington miss-islington deleted the backport-4269509-3.11 branch May 25, 2023 00:35
@vstinner
Copy link
Member

Well, I clicked on Merge manually. It's merged :-)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
skip issue skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants