-
Notifications
You must be signed in to change notification settings - Fork 428
Open
Description
Problem
Pixi fails to fetch the conda-pypi mapping with a cryptic error.
Copilot suggested the problem is that the cache directory isn't created via create_dir_all before use, but I don't think that's right. I tried manually creating the directory (see Workaround section), and it didn't fix anything.
The error:
>pixi update
failed to map conda packages to their PyPI equivalents. This mapping is required when using PyPI dependencies alongside conda packages.
├─▶ failed to fetch conda-pypi mapping from remote source
├─▶ File still doesn't exist
╰─▶ No such file or directory (os error 2)
Steps to Reproduce
- Attempt to run any pixi command in a project with pypi dependency or with pyproject.toml
- Observe failure and error about missing file or directory
Workaround
Changing the cache location works:
PIXI_CACHE_DIR=/tmp/pixi-test-cache pixi updateBut manually creating the directory does NOT work:
mkdir -p ~/.cache/rattler/conda-pypi-mappingEnvironment
- Pixi version: 0.63.2
- OS: CentOS Linux
- How was Pixi installed: curl
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels