Commit f3f85ed
committed
Ignore errors for sip with no setapi.
Apparently, this happens (see matplotlib#20040 and related issues) sporadically.
We don't care if we can't change the sip API version (if it's already
been set), so also stop caring if the `setapi` function doesn't exist.
This should simply cause the Qt4 backend to fail correctly later with an
`ImportError` instead, and thus fall back to the next backend candidate.
Fixes matplotlib#20040.1 parent 679ca17 commit f3f85ed
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments