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

ignore version info if we can't get it #202

Merged
merged 2 commits into from
Jul 10, 2020
Merged

ignore version info if we can't get it #202

merged 2 commits into from
Jul 10, 2020

Conversation

stepansnigirev
Copy link
Collaborator

Close #198

There might be different reasons why get version info could fail:

  • Python3.6 doesn't support capture_output flag. Could be solved with subprocess.check_output() though
  • Pip might be not installed - because specter was installed with setup.py or runs from a binary (in the future)

It shouldn't break the rest of the functionality, so this PR returns "Unknown version" if a normal call failed.

Copy link
Contributor

@ben-kaufman ben-kaufman left a comment

Choose a reason for hiding this comment

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

tACK :)

@stepansnigirev stepansnigirev merged commit c73ec3e into cryptoadvance:master Jul 10, 2020
@stepansnigirev stepansnigirev deleted the fix-notify-upgrade branch July 11, 2020 13:31
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.

notify_upgrade() error
2 participants