Skip to content

Conversation

@jhermann
Copy link
Contributor

Checks both the PYDEPS_DISPLAY and BROWSER envvars to change the default image file opener.

Also: Extended OS error handling when calling dot, graphviz, and the viewer

@coveralls
Copy link

coveralls commented Jul 31, 2020

Coverage Status

Coverage increased (+1.4%) to 79.942% when pulling 1c42817 on jhermann:display-envvars into ba31551 on thebjorn:master.

@jhermann
Copy link
Contributor Author

Hmmm, wouldn't this be a great time to drop 2.7 support? 😀

@thebjorn
Copy link
Owner

Nope, still a horrible time to drop 2.7 support :-(

pydeps/pydeps.py Outdated
try:
svg = dot.call_graphviz_dot(dotsrc, fmt)
except OSError as cause:
raise RuntimeError("While rendering {!r}: {}".format(output, cause)) from cause
Copy link
Owner

Choose a reason for hiding this comment

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

I wish... but I'm still on 2.7, so I'm afraid this is a no-go :-(

@thebjorn
Copy link
Owner

I like your other changes though...

@jhermann
Copy link
Contributor Author

jhermann commented Aug 1, 2020

I'll remove the from clauses, then it should work.

@jhermann
Copy link
Contributor Author

jhermann commented Aug 3, 2020

Giving up. I have no Py2 on this machine.

@thebjorn
Copy link
Owner

thebjorn commented Aug 3, 2020

Thanks for all your effort!

@thebjorn thebjorn merged commit ffb9c6b into thebjorn:master Aug 3, 2020
@thebjorn
Copy link
Owner

thebjorn commented Aug 3, 2020

v1.9.7 is out on PyPI.

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.

3 participants