[BRLTTY] Support multiple Python versions on Windows

Dave Mielke Dave at mielke.cc
Wed Sep 27 16:38:51 EDT 2023


[quoted lines by Leonard de Ruijter on 2023/09/27 at 19:51 +0200]

>The NVDA project is currently in the process of upgrading Python to version
>3.11. I recall that when we updated to Python 3.7 3 years ago, I had to
>create a brlapi python extension manually, as the python version bundled in
>the Windows packages didn't match Python 3.7.
>
>Python has something like the stable application binary Interface (ABI), see
>https://docs.python.org/3.11/c-api/stable.html . This can be used by enabling
>the limited API.
>
>I wonder, has this ever been considered? If not, could it be considered to
>create a brlapi python package that uses the limited API, preferably using an
>API version that is equal to the minimum Python version that is still in
>maintenance (currently 3.8)? That would ensure that you'd be able to use a
>brlapi python extension with multiple python versions.

I'm the one who does the builds for Windows but I'm not a Windows person. If you can give me the steps to perform to try to get it right, that'd be cool!

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave at Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |


More information about the BRLTTY mailing list