If your build is failing due to ncurses on Windows, you can remove this dependency, commit the change and it will rebuild without issue. If you have forked a Python-3.9 from us, it has both windows and linux builds in it, but if you remove ncurses both will get resolved and build correctly.
Cheers,
-JR