Potential Undefined Attributes in pixi.lock for purl Generation #1932
-
I'm working on generating Package URL (purl) representations for packages listed within a
However, I'm concerned that some of the attributes I'm referencing (like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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