Skip to content

R57.A3 Fix std.Expr bug (#847) and better support for multiple Python versions (3.8/3.9/3.10/3.11)

Compare
Choose a tag to compare
@AkarinVS AkarinVS released this 06 Feb 17:35
· 124 commits to doodle2 since this release

This release fixes vapoursynth#847 and provides better support for multiple Python versions.

The binary release supports Python 3.8, 3.9 and 3.10 at the same time. Just extract the embedded Python package of your choice into it and done. There is no need to run vs-detect-python.bat anymore.

Note that, the Python extension pyd files are still tightly coupled to the Python version, and this can't be changed without cython fully supporting stable CPython API. This release mainly addresses the VSScript.dll vs VSScriptPython38.dll issue. This release now only has one VSScript.dll, which supports Python 3.10/3.9/3.8.

Going forward, we strive to support support Python 3.8 (for Windows 7 users), and the latest two major Python releases for VS-C binary releases (at least until Github action ceases to support Python 3.8 or Python C ABI changes significantly, neither of which is likely in the near future.) The code will support all major Python release from 3.8 up to the latest release. The new infrastructure should make this very sustainable as adding a new Python release is as simple as adding one line to vsscript.cpp and slightly tweak Github Actions workflow, as long as Python does not change certain aspects of its C ABI.

Update:

  • The A3b files includes VC runtime DLLs as well, built with e8cff08.
  • The A3c files fixes a few important bugs (fixed in upstream R58 and master). It also includes experimental python 3.11 support for those who want to try out the 25%+ speedup. built with 8b5458f.