11# CPython Pixi packages
22
3- This directory contains definitions for [ Pixi packages] ( https://pixi.sh/latest/reference/pixi_manifest/#the-package-section )
4- which can be built from the CPython source code.
3+ This directory contains definitions for [ Pixi
4+ packages] ( https://pixi.sh/latest/reference/pixi_manifest/#the-package-section ) which can
5+ be built from the CPython source code.
56
6- Downstream developers can make use of these packages by adding them as Git dependencies in a
7- [ Pixi workspace] ( https://pixi.sh/latest/first_workspace/ ) , like:
7+ Downstream developers can make use of these packages by adding them as Git dependencies
8+ in a [ Pixi workspace] ( https://pixi.sh/latest/first_workspace/ ) , like:
89
910``` toml
1011[dependencies ]
11- python = { git = " https://github.com/python/cpython" , subdirectory = " Tools/pixi-packages/asan" }
12+ python.git = " https://github.com/python/cpython"
13+ python.subdirectory = " Tools/pixi-packages/asan"
1214```
1315
1416This is particularly useful when developers need to build CPython from source
@@ -22,19 +24,24 @@ Each package definition is contained in a subdirectory, but they share the build
2224- ` default `
2325- ` freethreading `
2426- ` asan ` : ASan-instrumented build
25- - ` tsan_freethreading ` : TSan-instrumented free-threading build
27+ - ` tsan-freethreading ` : TSan-instrumented free-threading build
2628
2729## Maintenance
2830
29- - Keep the ` abi_tag ` and ` version ` fields in each ` pixi.toml ` up to date with the Python version
31+ - Keep the ` abi_tag ` and ` version ` fields in each ` variants.yaml ` up to date with the
32+ Python version
3033- Update ` build.sh ` for any breaking changes in the ` configure ` and ` make ` workflow
3134
3235## Opportunities for future improvement
3336
3437- More package variants (such as UBSan)
3538- Support for Windows
36- - Using a single ` pixi.toml ` and ` recipe.yaml ` for all package variants is blocked on https://github.com/prefix-dev/pixi/issues/4599
37- - A workaround can be removed from the build script once https://github.com/prefix-dev/rattler-build/issues/2012 is resolved
39+ - Using a single ` pixi.toml ` and ` recipe.yaml ` for all package variants is blocked on
40+ [ pixi-build-backends #532 ] ( https://github.com/prefix-dev/pixi-build-backends/pull/532 )
41+ and [ pixi #5248 ] ( https://github.com/prefix-dev/pixi/issues/5248 )
42+ - A workaround can be removed from the build script once
43+ [ rattler-build #2012 ] ( https://github.com/prefix-dev/rattler-build/issues/2012 ) is
44+ resolved
3845
3946## Troubleshooting
4047
0 commit comments