joblib / loky

Robust and reusable Executor for joblib
http://loky.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
520 stars 47 forks source link

FIX compatibility with python3.7 #408

Closed tomMoral closed 1 year ago

tomMoral commented 1 year ago

The latest release is still compatible with python 3.7 but it actually fails to import _MAX_WINDOWS_WORKERS as it is only defined in python 3.8+.

This fixes the compatibility by hardcoding the limit for older python, but should be removed when we drop support for 3.7.