pyenv/plugins/python-build/test
Lysandros Nikolaou f434db24cd
Add support for recognizing pixi-installed dependencies
This commit adds support for using pixi as a package manager alongside
Homebrew and MacPorts on macOS. When pixi is detected and Homebrew/MacPorts
are not available (or skipped), python-build will automatically use
dependencies from pixi's `python-deps` environment.

Key changes:
- Add `can_use_pixi()` and `pixi_env_prefix()` helper functions to detect
  and configure pixi environments
- Add `use_pixi_*()` functions for yaml, readline, ncurses, openssl, zlib,
  and tcl-tk to link against pixi-provided dependencies
- Support `PYTHON_BUILD_SKIP_PIXI` environment variable to disable pixi
- Support `PYTHON_BUILD_PIXI_ENV` to specify a custom pixi environment name
  (defaults to "python-deps")

The pixi integration follows the same pattern as Homebrew and MacPorts,
checking for package availability via `pixi global list` and using the
environment directory from `pixi info`.
2025-10-22 12:24:23 +02:00
..
fixtures Fix tests regard to --enable-unicode 2017-09-11 02:02:15 +00:00
stubs use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
tmp Add .gitignore 2014-01-21 00:04:02 +09:00
arguments.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
build.bats Add support for recognizing pixi-installed dependencies 2025-10-22 12:24:23 +02:00
cache.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
checksum.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
compiler.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
definitions.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
fetch.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
hooks.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
installer.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
mirror.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
pyenv_ext.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
pyenv.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
test_helper.bash use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00
version.bats use BATS_FILE_TMPDIR in test/plugin test 2025-09-15 19:48:34 +02:00