Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install ncurses from Homebrew, if available
XCode Command Line Tools 15.0 was recently released, and it contains a broken version of ncurses 6.0. Some uses of Python's `curses` module will segfault when compiled with it. The solution is to switch to using the version of ncurses from Homebrew, which is currently 6.4. Support for ncurses 6 was added to Python 3.7 and was backported to 3.6 and 2.7, so this change should not break any recently supported Python versions. See python/cpython#109617 and python/cpython#69906 for more information.
- Loading branch information