Support Pixi projects configured with pixi.toml
files?
#454
Labels
integration
Integrating FawltyDeps with other tools
needs-real-projects-test
This issue is more easily tackled once we have a project in `real_project` that illustrate the issue
research-needed
type: feature request
Triggered by #453 and largely related to #447.
Pixi is a new package management tool that appears to be designed to replace Conda. In addition to supporting project configuration in
pyproject.toml
(as discussed in #453), it also allows projects to be configured in its ownpixi.toml
file format.Similar to other modern package management tools, Pixi preaches a clean split between direct/intentional dependency declarations (in
pyproject.toml
orpixi.toml
) andpixi.lock
lockfiles that encompass the transitive closure of dependencies.From FawltyDeps' POV, given this clear philosophy and modern approach, Pixi appears to be easier to support than Conda. However, given its strong ties to (and clear preference for) the conda package ecosystem, there are still some common conda-related challenges to build this support into FawltyDeps:
The above steps clearly depend on FD having access to an actual local Pixi/Conda environment. The way FawltyDeps handles mapping package names to import names today will probably need some rework:
--install-deps
for Pixi/Conda projects, we will probably have to rely on Pixi/Conda itself to create/populate these environments.sys.path
in FawltyDeps' own environment) may or may not make sense in the context of a Pixi/Conda project.The text was updated successfully, but these errors were encountered: