Fix windows CI (1.2.x) by adding ncurses (also a couple backports)
Fix windows CI build
The mingw-w64-python 3.9.12-2 update rebuilds python with a shared ncurses library instead of a statically linked one (which was required before mingw-w64-ncurses 6.3-5).
I didn't backport all the MRs with backportproposed on them, just the extremely safe ones.
All only affect dev versions so no need to document in release notes.
- !4335 (merged) (first 2 commits in this list)
- !4365 (merged)
- !4377 (merged)
- !4387 (merged)
Edited by Nathan Lee