AnacondaRecipes / repodata-hotfixes

Changes to package metadata to fix behavior
BSD 3-Clause "New" or "Revised" License
14 stars 20 forks source link

track_features should not be None #161

Closed dholth closed 2 years ago

dholth commented 2 years ago

PackageInfo(**info) raises 'NoneType' object is not iterable if track_features=None (it appears to try to parse it as a list or a single string)

dholth commented 2 years ago

The patch format appears to be generated as if del record["field"] is the same as setting record["field"] = None.

But, the code that applies the patch does not delete fields; it sets them to explicit None.

Setting this particular field to a valid track_features="". The index no longer crashes.