-
Notifications
You must be signed in to change notification settings - Fork 3.4k
uname inaccurately reports Emscripten version #16977
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
Or if #15917 is resolved, then |
We use `packaging.tags.sys_tags` to get the list of supported tags then use `packaging.utils.parse_wheel_filename` to get the set of tags the current wheel implement then check if one of the wheel's tags is a supported tag. This is a fully accurate check method and could also catch things like abi3 wheels that are compatible with multiple Python versions. This allows micropip to be used to install binary emscripten wheels. In order to manage the ABI issues, I also changed the wheel platform tag to `emscripten_2_0_27_wasm32` so we can tell which version of emscripten the wheel was built with. The normal way that the platform tag is generated is by substituting in the `uname` OS name and version info. Emscripten has dummy information in `uname` instead of any actual version, so I patched `uname` to report the Emscripten version. See upstream issue: emscripten-core/emscripten#16977
I agree it might be nice to do this, but can you explain how it would be useful to you? With emscripten you have to recompile your app on each upgrade so that compile time version found in |
Yeah, Python's |
It would be useful if
uname
reported the version of Emscripten:emscripten/system/lib/libc/emscripten_syscall_stubs.c
Line 54 in c175235
The text was updated successfully, but these errors were encountered: