Open osztenkurden opened 2 years ago
At this point it should be invoking the Rust build (lazily), like in the run here: https://github.com/signalapp/libsignal/runs/5684959926?check_suite_focus=true
If you look at your system monitor, are there any Rust processes running? You did say that cargo test
works fine, which implies that Rust at least knows what it's doing. You can try cargo check --workspace
to make sure there's not a problem downloading other dependencies, too.
I'll verify that asap, but in the meantime I'd also want to make sure if the No native build was found for platform=win32 arch=x64 runtime=node abi=72 uv=1 libc=glibc node=12.18.3
is expected at this point?
I think so, but I'll go file a bug with node-gyp-build
to ask them to change it to "No native prebuild" instead of just "No native build". (The fact that it then went on to run the build makes me think it's behaving correctly, even if I haven't looked at this log output myself lately.)
Currently I went through the flow without an issue on secondary laptop - the only difference was I used py -3
instead of py
(needed to change from python3
as it wasn't detected as Windows command). I will re-verify the issue in 2 days when I'll get back and have access to my workstation.
Ah, yeah, that could absolutely do it, we only test with Python 3.
Yep, that was it, 24th line of binding.gyp had to be changed to 'py -3',
, which I think might be useful to add to Windows part of documentation
I'm surprised you had to do py -3
. https://docs.python.org/3/using/windows.html#shebang-lines implies that it should have been autodetected. Is it just the "missing" space after "#!"? I'll spin up my Windows machine later and see if I can figure it out.
I don't necessarily want to change the script when python3
does work in some cases (including CI and my local setup), and the py
launcher is optional, so yeah, the docs might be the way to go. Hopefully we'll be able to figure out the -3
thing, though.
I couldn't reproduce the behavior of py
picking python2 (using Python 3.10's py
). Is there a chance you have some configuration to prefer python2? (cf https://docs.python.org/3/using/windows.html#customizing-default-python-versions)
I believe this line is crucial If no relevant options are set, the commands python and python2 will use the latest Python 2.x version installed and the command python3 will use the latest Python 3.x installed.
, as I have no options / configuration for using any python version. But I believe that might be a quirk of my current workspaces, and after small note in the docs we could close the issue.
OS: Windows 10, 64-bit Node: v12.18.3, after
nvm use
cargo test
goes fine, but after runningyarn install --verbose
this is the result:After that it hangs, doesn't do anything