Skip to content

fix: Skip fork and forkserver on win32#1566

Open
nuno-faria wants to merge 2 commits into
apache:mainfrom
nuno-faria:skip_fork_windows
Open

fix: Skip fork and forkserver on win32#1566
nuno-faria wants to merge 2 commits into
apache:mainfrom
nuno-faria:skip_fork_windows

Conversation

@nuno-faria
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

N/A.

Rationale for this change

Only spawn is supported on Windows, so skip fork and forkserver in test_pickle_multiprocessing.

What changes are included in this PR?

  • Updated test_pickle_multiprocessing tests.

Are there any user-facing changes?

No.

@timsaucer
Copy link
Copy Markdown
Member

Oh... CI doesn't catch this because we run pytest on linux only. I wonder if there's reason enough to run it on windows/mac on merge to main? I don't think we need to run it on every PR commit because that would mean keeping more artifacts, but on merges to main we do get full release builds for all wheels.

@timsaucer
Copy link
Copy Markdown
Member

Good catch!

@nuno-faria
Copy link
Copy Markdown
Contributor Author

Oh... CI doesn't catch this because we run pytest on linux only. I wonder if there's reason enough to run it on windows/mac on merge to main? I don't think we need to run it on every PR commit because that would mean keeping more artifacts, but on merges to main we do get full release builds for all wheels.

It would be nice to run them on main just in case. However, in my experience the errors are usually related to paths or some specific functionality required by the tests, so I think it's also not critical to run them.

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