mirror of
https://github.com/pyenv/pyenv.git
synced 2025-12-07 10:28:35 +00:00
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`. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| stubs | ||
| tmp | ||
| arguments.bats | ||
| build.bats | ||
| cache.bats | ||
| checksum.bats | ||
| compiler.bats | ||
| definitions.bats | ||
| fetch.bats | ||
| hooks.bats | ||
| installer.bats | ||
| mirror.bats | ||
| pyenv_ext.bats | ||
| pyenv.bats | ||
| test_helper.bash | ||
| version.bats | ||