Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to change uv cache folder which breaks builds on windows #2346

Open
2 tasks done
PiotrCzapla opened this issue Oct 23, 2024 · 0 comments
Open
2 tasks done

Unable to change uv cache folder which breaks builds on windows #2346

PiotrCzapla opened this issue Oct 23, 2024 · 0 comments

Comments

@PiotrCzapla
Copy link

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

On windows:

git clone https://github.com/PiotrCzapla/smart_dictation.git
git checkout a077bf26c094fcccc3a4f862c22be8f26024a1e3

$env:UV_CACHE_DIR="c:\tmp"
pixi shell 

Compilation fails as it still tries to build in the .rattle cache dir which is too deep for visual studio to handle.
The same code above works with uv.

Issue description

The code is won't be able to compile one of the dependencies from source even though UV_CACHE_DIR is set. This is an issue because visual studio is not able to build projects with file names longer than 260 characters or so.

Expected behavior

It would let me set the cache directory or at least inform me how to do it differently when it detect UV_CACHE_DIR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant