Skip to content

Potential Undefined Attributes in pixi.lock for purl Generation #1932

Answered by baszalmstra
aryan-rajoria asked this question in Q&A
Discussion options

You must be logged in to vote

For conda packages the build and subdir cannot be optional. See: https://docs.rs/rattler_conda_types/0.27.2/rattler_conda_types/struct.PackageRecord.html which is stored in the lock file.

for pypi packages there is only name and version. See: https://docs.rs/rattler_lock/latest/rattler_lock/struct.PypiPackageData.html

I think you need to handle those cases seperately

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aryan-rajoria
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants