Raise ghostscript deprecation warning and skip ghostscript tests on windows

This commit is contained in:
Vinayak Mehta
2021-07-11 18:55:56 +05:30
parent 793ddaf42f
commit f160c1d44d
7 changed files with 57 additions and 29 deletions
+6
View File
@@ -141,6 +141,12 @@ class Lattice(BaseParser):
if isinstance(backend, str):
if backend in BACKENDS.keys():
if backend == "ghostscript":
raise DeprecationWarning(
"'ghostscript' will be replaced by 'poppler' as the default image conversion"
" backend in v0.12.0. You can try out 'poppler' with backend='poppler'."
)
return BACKENDS[backend]()
else:
raise NotImplementedError(