PsyNeuLink icon indicating copy to clipboard operation
PsyNeuLink copied to clipboard

Python 3.10

Open jvesely opened this issue 4 years ago • 3 comments

This is a collection of issues that need to be fixed before PNL can run on Python 3.10:

  • [x] numpy provides Python 3.10 wheels (https://pypi.org/project/numpy/1.21.2/#files)
  • [x] scipy doesn't provide Python 3.10 wheels (will be available with 1.7.2 https://github.com/scipy/scipy/issues/14567)
  • [x] llvmlite doesn't provide Python 3.10 wheels (will be available with 0.38.0 https://github.com/numba/llvmlite/issues/792)
  • [x] pytorch doesn't provide Python 3.10 wheels (will be available with 1.11.0 https://github.com/pytorch/pytorch/issues/66424)
  • [ ] 'collections' can no longer be imported directly, breaking typecheck-decorator (see #1703 ) https://github.com/jvesely/PsyNeuLink/runs/4049654543?check_suite_focus=true

jvesely avatar Oct 29 '21 22:10 jvesely

scipy 1.7.2 has been released with Python 3.10 support

jvesely avatar Nov 08 '21 00:11 jvesely

llvmlite 0.38 released with Python 3.10 support

jvesely avatar Jan 15 '22 00:01 jvesely

pytorch 1.11 has been released with python 3.10 support

jvesely avatar Mar 14 '22 20:03 jvesely

running on python3.10 produces the following results: = 2561 failed, 3486 passed, 3274 skipped, 1761 xfailed, 2179 warnings, 48 errors in 1559.37s (0:25:59) = All of the errors 2544 failures have the same root cause: psyneulink/core/globals/context.py:741: TypeError: Mechanism_Base.execute() got an unexpected keyword argument 'variable'

the remaining errors are in documentation test; probably indirect version fo the above. and llvm printf tests.

jvesely avatar Apr 07 '23 05:04 jvesely