Closed mturoci closed 8 months ago
https://github.com/h2oai/wave/blob/main/py/h2o_wave/h2o_wave/cli.py
Seems like the url is not being correctly built.
Feel free to take up on this @YashasviMantha if you feel like.
@mturoci sure. So I did some investigation, and it indeed seems like the problem is being caused because the url is incorrectly being generated:
Downloading https://github.com/h2oai/wave/releases/download/v1.0.0/wave-1.0.0-macosx_12_0_arm64-arm64.tar.gz
This url is being generated from here.
And since the platform
and arch
gets created on build time from the metadata.py
which is hard coded to linux
on the make file here.
I cant see in which scenario the platform
and arch
are macosx_12_0_
and arm
. I think the wave fetch
is being triggered by somewhere else but not sure where. Am I going on the right direction?
You are going in the good direction. Seems like this is caused by https://github.com/h2oai/wave/pull/2073 (I overlooked the platform/arch params).
The code that needs to be fixed is here. Metadata.py gets generated during the py build. Feel free to ping me either here or on discord in case you have more questions.
Wave SDK Version, OS
1.0.0
Actual behavior
Using
wave fetch
throwsExpected behavior
(A clear and concise description of what you expected to happen.)
Steps To Reproduce