Title: Feature: Add guide to install system dependencies with pixi · Issue #1669 · python/devguide · GitHub
Open Graph Title: Feature: Add guide to install system dependencies with pixi · Issue #1669 · python/devguide
X Title: Feature: Add guide to install system dependencies with pixi · Issue #1669 · python/devguide
Description: Describe the enhancement or feature you would like I've stopped using brew on my macOS and I'm instead using pixi whenever I need system-level dependencies. This works very well in practice even for building CPython and I can do things l...
Open Graph Description: Describe the enhancement or feature you would like I've stopped using brew on my macOS and I'm instead using pixi whenever I need system-level dependencies. This works very well in practice even fo...
X Description: Describe the enhancement or feature you would like I've stopped using brew on my macOS and I'm instead using pixi whenever I need system-level dependencies. This works very well in practice...
Opengraph URL: https://github.com/python/devguide/issues/1669
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature: Add guide to install system dependencies with pixi","articleBody":"### Describe the enhancement or feature you would like\n\nI've stopped using `brew` on my macOS and I'm instead using `pixi` whenever I need system-level dependencies. This works very well in practice even for building CPython and I can do things like `pixi run configure` and it automatically sets up all of the system dependencies and runs `configure`. Doing that requires setting some environment variables here and there, but I've done that in a `pixi.toml` and it's all automated. It looks somewhat like this:\n\n```toml\n[project]\nname = \"cpython-dev\"\nchannels = [\"conda-forge\"]\nplatforms = [\"osx-arm64\"]\n\n[dependencies]\ngdbm = \"*\"\nlibmpdec-devel = \"*\"\nopenssl = \"3.*\"\npkg-config = \"*\"\ntk = \"*\"\nxz = \"*\"\nzstd = \"*\"\nzlib = \"*\"\n\n[tasks.configure]\ncmd = \"./configure --with-openssl=$CONDA_PREFIX\"\n\n[tasks.configure.env]\nPKG_CONFIG_PATH = \"$CONDA_PREFIX/lib/pkgconfig\"\nGDBM_CFLAGS = \"-I$CONDA_PREFIX/include\"\nGDBM_LIBS = \"-L$CONDA_PREFIX/lib -lgdbm\"\nTCLTK_CFLAGS = \"$(pkg-config --cflags tcl tk)\"\n# tcl.pc and tk.pc files contain stub libraries, but those do not extist\n# in the conda package\nTCLTK_LIBS = \"$(pkg-config --libs tcl tk | sed 's/-l[^ ]*stub[^ ]*//g')\"\nLDFLAGS = \"-Wl,-rpath,$CONDA_PREFIX/lib\"\n```\n\nIt's a bit too much to propose adding this to the CPython repo, at least for now. However, pointing to this as a way to install system-level dependencies in the devguide doesn't sounds like a bad idea to me.\n\nThoughts? Is there an appetite for this? If so, I can start drafting a PR.\n\n### Describe alternatives you have considered\n\n_No response_\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/lysnikolaou","@type":"Person","name":"lysnikolaou"},"datePublished":"2025-10-17T15:29:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1669/devguide/issues/1669"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:31db2760-678e-6de5-ab4c-880ed0785a5d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99B0:3DC7AA:455BFAC:5E920F5:697099FF |
| html-safe-nonce | 4a2474d543c0e91511bda7351a67adeb88188cf5069829f0eda12c1bbee9bd3e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUIwOjNEQzdBQTo0NTVCRkFDOjVFOTIwRjU6Njk3MDk5RkYiLCJ2aXNpdG9yX2lkIjoiNTUwMDgxNTk0MjA2MjQ3OTg3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7ca4a6ca849170cb92318847854370b2a5d8c21105fff3c510ce72c8af4a2ec0 |
| hovercard-subject-tag | issue:3526588887 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/devguide/1669/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c6e9043f199d4c2a2ae0263ccbf644f29d6d0fc4865dfd9579298770618a77c/python/devguide/issues/1669 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c6e9043f199d4c2a2ae0263ccbf644f29d6d0fc4865dfd9579298770618a77c/python/devguide/issues/1669 |
| og:image:alt | Describe the enhancement or feature you would like I've stopped using brew on my macOS and I'm instead using pixi whenever I need system-level dependencies. This works very well in practice even fo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lysnikolaou |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/devguide git https://github.com/python/devguide.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 63972479 |
| octolytics-dimension-repository_nwo | python/devguide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63972479 |
| octolytics-dimension-repository_network_root_nwo | python/devguide |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width