-
-
Notifications
You must be signed in to change notification settings - Fork 324
windows compatibility #288
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
Comments
Thanks! Will try and address this in a PR where I add Windows to my test suite: #287 |
@sylvoslee I might actually need some help to get things working. I've never used Python on Windows so I'm not really familiar with the quarks of that system. The first task would be to just get the test suite to run on Windows in CI as I'm doing in this PR #287, and then try to get the test suite to pass. |
Also, are the issues your seeing limited to |
Woops accidentally closed |
Ok, so the suite now runs in CI. Only problem is all the tests that use On Windows:
On Linux:
Happy to hop on a call at some point to try and figure this out. Message me on Gitter and we can organize that: https://gitter.im/rmorshea |
Tested the test-mac-windows branch,Only this one issue
I guess it is caused by the difference in path representation. Windows uses "\" and Linux uses "/" When package_names_to_install is compared with web_module_names() package_names_to_install={'idom-client-react', 'react-dom', '@material-ui/core', 'react', 'victory'} |
Fixed now I think. Hopefully that's been resolved. The test suite is still failing for other reasons though. If you're able it'd be great to try and fix that so I can maintain Windows compatibility going forward. |
yes,that's been resolved,thank you |
So I just skipped the failing tests in the test suite for now and created a separate issue. #289 Unfortunately, because I don't have access to a Windows machine to resolve it myself, I'll just have to wait for some help me out. |
1.UnicodeDecodeError:
I made the following change:
return find_js_module_exports_in_source(web_module_path(package_name).read_text(*encoding='utf-8'*))
2.FileNotFoundError: [WinError 2]:
I made the following change:
3.RuntimeError:
The text was updated successfully, but these errors were encountered: