when pytests run on windows-latest github action runner i get the following error:
self = <tidylib.tidy.Tidy object at 0x00000200870C3070>
lib_names = ['libtidy', 'libtidy.so', 'libtidy-0.99.so.0', 'cygtidy-0-99-0', 'tidylib', 'libtidy.dylib', ...]
def __init__(self, lib_names=None):
self._tidy = None
if lib_names is None:
lib_names = ctypes.util.find_library('tidy') or LIB_NAMES
if isinstance(lib_names, str):
lib_names = [lib_names]
for name in lib_names:
try:
self._tidy = load_library(name)
break
except OSError:
continue
if self._tidy is None:
> raise OSError(
"Could not load libtidy using any of these names: "
+ ",".join(lib_names))
E OSError: Could not load libtidy using any of these names: libtidy,libtidy.so,libtidy-0.99.so.0,cygtidy-0-99-0,tidylib,libtidy.dylib,tidy
.tox\py\lib\site-packages\tidylib\tidy.py:97: OSError
Installing 'tidy' (5.8.0) [64bit] from main bucket
Downloading https://github.com/htacg/tidy-html5/releases/download/5.8.0/tidy-5.8.0-win64.zip (1.3 MB)...
Checking hash of tidy-5.8.0-win64.zip ... ok.
Extracting tidy-5.8.0-win64.zip ... done.
Linking ~\scoop\apps\tidy\current => ~\scoop\apps\tidy\5.8.0
Creating shim for 'tidy'.
'tidy' (5.8.0) was installed successfully!
HTML Tidy for Windows version 5.8.0
Description
when pytests run on windows-latest github action runner i get the following error:
(see attached for full log)
Reproduction
install tidy with soop:
then run pytest from tox.ini:
References
58
https://github.com/countergram/pytidylib/pull/33
Environment
from scoop install: