Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use conda libmamba solver to resolve intermittent libarchive issue [skip ci] #9231

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

pxLi
Copy link
Collaborator

@pxLi pxLi commented Sep 13, 2023

To fix an intermittent issue while using mamba to download conda pkgs

[2023-09-12T19:23:51.693Z] Traceback (most recent call last):
[2023-09-12T19:23:51.693Z]   File "/opt/conda/bin/mamba", line 7, in <module>
[2023-09-12T19:23:51.693Z]     from mamba.mamba import main
[2023-09-12T19:23:51.693Z]   File "/opt/conda/lib/python3.11/site-packages/mamba/mamba.py", line 49, in <module>
[2023-09-12T19:23:51.693Z]     import libmambapy as api
[2023-09-12T19:23:51.693Z]   File "/opt/conda/lib/python3.11/site-packages/libmambapy/__init__.py", line 7, in <module>
[2023-09-12T19:23:51.693Z]     raise e
[2023-09-12T19:23:51.693Z]   File "/opt/conda/lib/python3.11/site-packages/libmambapy/__init__.py", line 4, in <module>
[2023-09-12T19:23:51.693Z]     from libmambapy.bindings import *  # noqa: F401,F403
[2023-09-12T19:23:51.693Z]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2023-09-12T19:23:51.693Z] ImportError: libarchive.so.13: cannot open shared object file: No such file or directory

Previously we fixed the same issue in #8728 by hardcode mamba version,
But it started again recently. It should still be related to the mamba being incompatible w/ newer conda,
so as suggested by conda team, we decided to use conda-libmamba-solver which should be guaranteed w/o any compatibility issue.

Verified in internal ENVs

@pxLi pxLi added the bug Something isn't working label Sep 13, 2023
@pxLi
Copy link
Collaborator Author

pxLi commented Sep 13, 2023

build

@pxLi pxLi added the build Related to CI / CD or cleanly building label Sep 13, 2023
@pxLi pxLi merged commit 740d117 into NVIDIA:branch-23.10 Sep 13, 2023
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants