Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions constructor/conda_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ def get_repodata(url):
"packages.conda": {},
"removed": [],
}
elif isinstance(raw_repodata_str, dict):
# conda 26.x+ may return an already-parsed dict from fetch_latest()
full_repodata = raw_repodata_str
else:
full_repodata = json.loads(raw_repodata_str)

Expand Down
19 changes: 19 additions & 0 deletions news/1196-conda-26-fetch-latest-dict
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Fix TypeError when conda 26.x returns dict from `fetch_latest()`. (#1196)

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>
Loading