-
Notifications
You must be signed in to change notification settings - Fork 3k
seg fault on debian #11887
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
seg fault on debian #11887
Conversation
/azp run python - identity - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - identity - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
try: | ||
import platform | ||
distro = platform.uname() | ||
if sys.version_info[0] == 3 and sys.version_info[1] == 8 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sys.version_info >= (3, 8)
?
if sys.version_info[0] == 3 and sys.version_info[1] == 8 \ | ||
and not (distro[1] == "redhat" or distro[1] == "ubuntu"): | ||
raise NotImplementedError("Not supported") | ||
except Exception: # pylint: disable=broad-except |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're anticipating errors from indexing distro
here, "redhat" in distro or "ubuntu" in distro
might be better.
VS code credential raises seg fault on debian 3.8.3. It kills python process and user cannot catch the exception. Disable it on debian 3.8.3 for now to unblock user.