pyenv/plugins/python-build/test
Alex Hedges 928f69cf9a
Install ncurses from Homebrew, if available (#2813)
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.

Tested with Python 3.12, 3.11, and 2.7, and all tests in
the `test.test_curses` module pass without issue.

See https://github.com/python/cpython/issues/109617 and
https://github.com/python/cpython/issues/69906 for more information.
2023-10-06 06:59:29 +03:00
..
fixtures Fix tests regard to --enable-unicode 2017-09-11 02:02:15 +00:00
stubs Fix a duplicate error message on stub plan overrun 2022-05-04 02:58:47 +03:00
tmp Add .gitignore 2014-01-21 00:04:02 +09:00
arguments.bats Import changes from ruby-build v20150818 2015-08-25 15:37:31 +09:00
build.bats Install ncurses from Homebrew, if available (#2813) 2023-10-06 06:59:29 +03:00
cache.bats Refactor test code of python-build. Use curl during tests by default 2018-04-26 02:06:57 +00:00
checksum.bats Fix tests 2019-04-08 23:09:29 +09:00
compiler.bats Install ncurses from Homebrew, if available (#2813) 2023-10-06 06:59:29 +03:00
definitions.bats Revert version auto-resolution in python-build 2022-10-30 04:12:42 +03:00
fetch.bats Support aria2c being a snap (#2528) 2022-11-15 20:57:04 +03:00
hooks.bats Auto-resolve prefixes to the latest version (#2487) 2022-10-30 03:38:40 +03:00
installer.bats Make test independent of umask 2021-05-07 20:34:00 +03:00
mirror.bats Add support for PYTHON_BUILD_MIRROR_URL when checksums do not exist (#1673) 2020-10-03 14:30:46 -04:00
pyenv.bats Fix :latest after #2568 (#2599) 2023-01-22 05:49:40 +03:00
pyenv_ext.bats Install ncurses from Homebrew, if available (#2813) 2023-10-06 06:59:29 +03:00
test_helper.bash Support for BusyBox version of `head' (#2629) 2023-02-22 20:11:48 +03:00
version.bats Support for BusyBox version of `head' (#2629) 2023-02-22 20:11:48 +03:00