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: github.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:3150682a-623a-9c86-6e09-10b363d2de5b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDF2:26B7B1:1BD5E:252DB:6969D075 |
| html-safe-nonce | a092f70892a8c19c047b99a0135749e26f8f776d233f7c369706ee55a0a4f056 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREYyOjI2QjdCMToxQkQ1RToyNTJEQjo2OTY5RDA3NSIsInZpc2l0b3JfaWQiOiI4NzUzODYyMDk2NjEzNjU4NzQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8a963264cea9ece44db5018cab0ef54e6b762093007851e734d6829435c08e7c |
| 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 | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width