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

Extracting run_exports from packages with symlink fails on Windows #2805

Open
tdejager opened this issue Jan 3, 2025 · 0 comments · May be fixed by prefix-dev/rattler-build#1435
Open

Extracting run_exports from packages with symlink fails on Windows #2805

tdejager opened this issue Jan 3, 2025 · 0 comments · May be fixed by prefix-dev/rattler-build#1435
Assignees
Labels
area:build Related to pixi build 🐞 bug Something isn't working windows Related to MS Windows

Comments

@tdejager
Copy link
Contributor

tdejager commented Jan 3, 2025

At the moment rattler-build downloads all the packages to the cache to get to the run exports. This works fine if the package will also be used during installations but is quite slow if we only care about the rendered recipe.

With prefix-dev/rattler-build#1114 merged, there is an object that is responsible for this behavior. The object should have an alternative code path to get the run-exports by different means if the fully extracted packages are not required at all.

We could implement a different mechanic by reading the package in memory and only extracting the parts we care about. We could also look into range requests similar to what we do in our backend.

This is a separate issue from providing run_exports in the repodata. Extracting the data from the package is only done if the repodata.json does not already contain run export information. Rattler-build already contains the behavior. Ideally we add run_exports to the repodata.json.

@tdejager tdejager added 🐞 bug Something isn't working windows Related to MS Windows ✨ enhancement Feature request 🔃 refactor Specifies PR or Issue is related to a refactor area:build Related to pixi build and removed 🐞 bug Something isn't working windows Related to MS Windows ✨ enhancement Feature request 🔃 refactor Specifies PR or Issue is related to a refactor area:build Related to pixi build labels Jan 3, 2025
@wolfv wolfv self-assigned this Feb 3, 2025
@nichmor nichmor assigned nichmor and unassigned wolfv Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:build Related to pixi build 🐞 bug Something isn't working windows Related to MS Windows
Projects
None yet
3 participants