Skip to content

gh-127085: Add a test skip if multiprocessing isn't available - #128019

Merged
freakboy3742 merged 1 commit into
python:mainfrom
freakboy3742:memoryview-multiprocessing-fix
Dec 17, 2024
Merged

gh-127085: Add a test skip if multiprocessing isn't available#128019
freakboy3742 merged 1 commit into
python:mainfrom
freakboy3742:memoryview-multiprocessing-fix

Conversation

@freakboy3742

@freakboy3742freakboy3742 commented Dec 17, 2024

Copy link
Copy Markdown
Contributor

#127412 added a test that requires the existence of multiprocessing. This test fails on iOS and Android because those platforms have threads, but don't have a multiprocessing module (because they don't support processes).

This PR skips the test on those platforms, so that the buildbots are no longer broken. There may be a better fix that involves re-writing the test to avoid the use of SharedMemoryManager.

/cc @LindaSummer@kumaraditya303@ZeroIntensity@mhsmith

@freakboy3742

Copy link
Copy Markdown
ContributorAuthor

!buildbot iOS|Android

@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @freakboy3742 for commit 031e3b3 🤖

The command will test the builders whose names match following regular expression: iOS|Android

The builders matched are:

  • iOS ARM64 Simulator PR
  • aarch64 Android PR
  • AMD64 Android PR

@kumaraditya303kumaraditya303 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@freakboy3742
freakboy3742 enabled auto-merge (squash) December 17, 2024 08:09
@freakboy3742
freakboy3742 merged commit b9a492b into python:mainDec 17, 2024
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
@freakboy3742
freakboy3742 deleted the memoryview-multiprocessing-fix branch September 28, 2025 22:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OS-androidOS-iosskip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@freakboy3742@bedevere-bot@kumaraditya303