Skip to content

Conversation

@jbencina
Copy link
Contributor

@jbencina jbencina commented Jan 18, 2025

Summary

This fixes an issue preventing pyModeS from being usable on OSX. The root cause of the issue is that the default start method for multiprocessing on OSX is spawn which is not compatible with pyModeS. Additionally, as of Python 3.14 fork must be specified explicitly. See: https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods

There's probably a better way to clean this up however this is the simplest fix for now.

Testing Done

  1. Checked OSX (15.2) run

Before:
image

After
image

  1. Checked Linux run before/after change no difference

@junzis junzis merged commit e647863 into junzis:master Feb 9, 2025
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