mamba-org / rattler

Rust crates to work with the Conda ecosystem.
BSD 3-Clause "New" or "Revised" License
226 stars 42 forks source link

Empty `repodata.json` should be valid #744

Closed jaimergp closed 3 weeks ago

jaimergp commented 3 weeks ago

I think rattler requires a packages key to be present in a given repodata.json, but afaik this is not standardized as such. conda won't complain if a repodata.json is only the empty dict. In other words, this file below is valid repodata and shouldn't raise in rattler:

{}
baszalmstra commented 3 weeks ago

Fixed by #745