Skip to content

Commit

Permalink
Fix issue 140: IndexedSet unserializable (#142)
Browse files Browse the repository at this point in the history
Co-authored-by: Jaime Rodríguez-Guerra <[email protected]>
  • Loading branch information
AlbertDeFusco and jaimergp authored Mar 1, 2023
1 parent e3c50bf commit b3c0560
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conda_libmamba_solver/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def _raise_for_problems(self, problems: Optional[str] = None):
packages = line.split()[4:]
missing_from_channel += packages
if missing_from_channel:
exc = PackagesNotFoundError(missing_from_channel, self.channels)
exc = PackagesNotFoundError(missing_from_channel, list(self.channels))
else:
exc = LibMambaUnsatisfiableError(problems)

Expand Down
19 changes: 19 additions & 0 deletions news/142-fix-140-indexedset-json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Fix JSON serialization errors in some exceptions. (#140 via #142)

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>

0 comments on commit b3c0560

Please sign in to comment.