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

Fix OCI import issue #4178

Merged
merged 3 commits into from
Oct 25, 2024
Merged

Fix OCI import issue #4178

merged 3 commits into from
Oct 25, 2024

Conversation

yika-luo
Copy link
Collaborator

Putting ImportError and oci_adaptor.oci.exceptions.ConfigFileNotFound on the same line will fail to catch ImportError caused by oci_adaptor.oci.exceptions.ConfigFileNotFound

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Manual: tested sky launch when having OCI installed and uninstalled

Copy link
Collaborator

@Michaelvll Michaelvll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix @yika-luo! Just tested it and it solved the dependency issue. LGTM.

sky/clouds/oci.py Show resolved Hide resolved
Co-authored-by: Zhanghao Wu <zhanghao.wu@outlook.com>
@yika-luo yika-luo added this pull request to the merge queue Oct 25, 2024
Merged via the queue into master with commit b8a9a57 Oct 25, 2024
20 checks passed
@yika-luo yika-luo deleted the oci branch October 25, 2024 21:13
@romilbhardwaj romilbhardwaj mentioned this pull request Oct 25, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Core] No oci installation abort the sky launch
2 participants