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

add a warning if the optional PGPLOT dependency is not available #149

Merged
merged 1 commit into from Apr 14, 2019

Conversation

zmughal
Copy link
Member

@zmughal zmughal commented Sep 16, 2015

This warns if PGPLOT is missing when is not installed because optional
dependencies can be skipped at installation. This gives users a clear
notification of why their code will not load.

Mithaldu++ for bringing up the issue on the #pdl IRC
http://irclog.perlgeek.de/pdl/2015-09-15#i_11219756.

CC: @wchristian

Branch note: This branch is a WIP. It still needs tests and Travis-CI support. Anyone else is welcome to move it forward.

@zmughal zmughal added the pr:wip label Sep 16, 2015
@wchristian wchristian closed this Mar 1, 2018
@wchristian wchristian deleted the pgplot-dep-warn branch March 1, 2018 20:35
@wchristian wchristian restored the pgplot-dep-warn branch March 1, 2018 20:50
@wchristian wchristian deleted the pgplot-dep-warn branch March 1, 2018 23:00
@wchristian wchristian restored the pgplot-dep-warn branch March 1, 2018 23:15
@mohawk2 mohawk2 reopened this Mar 1, 2018
@coveralls
Copy link

coveralls commented Mar 2, 2018

Coverage Status

Coverage decreased (-10.09%) to 52.609% when pulling 67a48ac on pgplot-dep-warn into ca9af27 on master.

@wchristian wchristian closed this Apr 2, 2018
@wchristian wchristian deleted the pgplot-dep-warn branch April 2, 2018 01:05
@wchristian wchristian restored the pgplot-dep-warn branch April 2, 2018 01:10
@wchristian wchristian deleted the pgplot-dep-warn branch April 4, 2018 13:45
@wchristian wchristian restored the pgplot-dep-warn branch April 4, 2018 13:50
@wchristian wchristian deleted the pgplot-dep-warn branch April 4, 2018 16:25
@wchristian wchristian restored the pgplot-dep-warn branch April 4, 2018 16:32
@wchristian wchristian deleted the pgplot-dep-warn branch April 4, 2018 19:56
@wchristian wchristian restored the pgplot-dep-warn branch April 4, 2018 20:11
@wchristian wchristian deleted the pgplot-dep-warn branch April 6, 2018 11:50
@wchristian wchristian restored the pgplot-dep-warn branch April 6, 2018 11:56
@wchristian wchristian deleted the pgplot-dep-warn branch April 6, 2018 12:51
@wchristian wchristian restored the pgplot-dep-warn branch April 6, 2018 12:56
@wchristian wchristian deleted the pgplot-dep-warn branch April 9, 2018 14:31
@wchristian wchristian restored the pgplot-dep-warn branch April 9, 2018 14:43
@wchristian wchristian deleted the pgplot-dep-warn branch April 24, 2018 08:22
@wchristian wchristian restored the pgplot-dep-warn branch April 24, 2018 08:25
@wchristian wchristian deleted the pgplot-dep-warn branch May 4, 2018 02:40
@wchristian wchristian restored the pgplot-dep-warn branch May 4, 2018 02:45
@mohawk2 mohawk2 reopened this May 7, 2018
This still dies if PGPLOT is not installed because optional
dependencies can be skipped at installation, but gives users a clear
notification of why their code will not load.

Mithaldu++ for bringing up the issue on the #pdl IRC
<http://irclog.perlgeek.de/pdl/2015-09-15#i_11219756>.
@mohawk2
Copy link
Member

mohawk2 commented Apr 14, 2019

I've updated this to still die, else t/pgplot.t fails (it relies on the use die-ing if no PGPLOT). However, there has been enough time to examine this, and merely adding more info to an exception should not be controversial. Merging.

@mohawk2 mohawk2 merged commit 27884a4 into master Apr 14, 2019
@mohawk2 mohawk2 deleted the pgplot-dep-warn branch April 14, 2019 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants