Closed tcompa closed 8 months ago
Let's test. I've not seen the fractal-tasks-core package actually fail with this, only some of the other task packages
conda create --name py390 python==3.9.0
conda activate py390
pip install -e .[fractal-tasks]
pip install pytest devtools jsonschema requests wget pooch
pytest -x -v
...
======================================================================= 276 passed, 2 skipped, 1 xpassed, 478 warnings in 142.69s (0:02:22) ========================================================================
And the same for 3.9.1.
Here are the pytest logs (with warnings) for 3.9.1:
fractal-tasks-core likely wouldn't work with Python 3.9.0 or 3.9.1 (see https://github.com/fractal-analytics-platform/fractal-demos/issues/65).
We should verify that this is the case, and that 3.9.2 is supported. After that, I'd be in favor of requiring Python>=3.9.2 for fractal-tasks-core. This means that if fractal-server runs with 3.9.0 and the task collection is triggered with no special required
python_version
, task collection will fail (which is much better than the current situation, where task collection succeeds but then tasks fail).