Skip to content

Commit

Permalink
Do try to load .solv files by default (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp authored Jul 7, 2024
1 parent 51b8f84 commit b8cb71c
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/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def _fetch_channel(self, url: str) -> tuple[str, os.PathLike]:
return url, json_path

def _json_path_to_repo_info(
self, url: str, json_path: str, try_solv: bool = False
self, url: str, json_path: str, try_solv: bool = True
) -> _ChannelRepoInfo | None:
channel = Channel.from_url(url)
noauth_url = channel.urls(with_credentials=False, subdirs=(channel.subdir,))[0]
Expand Down
19 changes: 19 additions & 0 deletions news/482-try-solv-true
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Fix a performance regression where `.solv` repodata cache files were not being loaded when available. (#481 via #482)

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>

0 comments on commit b8cb71c

Please sign in to comment.