-
-
Notifications
You must be signed in to change notification settings - Fork 71
cmdstan
directory mismatch causes build failure on linux/arm64
#630
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
Hm, I think this is caused by #616. I didn’t realize that the folder created would also have a different name than we were expecting. This should be an easy fix which we can hopefully roll out next week. In the meantime, if you’re able to manually install CmdStan (or use an option like Conda), you can then set the environment variable “PROPHET_REPACKAGE_CMDSTAN” to “false” on your machine and then install it. Sorry for the inconvenience! |
Thanks for the quick reply! We are working around the issue right now by using prophet Really glad to see it's an easy fix, it will be really nice to have the option to build from source🎉 |
So, this is tricky. It turns out that the non-x86s tarballs do unpack to have the same names as the x86 tarball for recent versions. 2.26.1 was the first version which featured a non-x86 tarball, and it appears it was mispackaged. For example, if you look at I'm going to ping our release manager @serban-nicusor-toptal on this: Were we aware this one version is inconsistent? It seems silly to update an old tarball, but also it would be nice if this wasn't a special case. |
Hello Brian, Alex, I wasn't aware of this inconsistency, tho I went ahead and fixed the directory name inside the archive. Would you mind giving it a try to confirm everything is fine now ? |
Thanks @serban-nicusor-toptal - I can confirm that now works with our installation script. @arestifo let us know if anything else comes up! Thanks for reporting |
Summary:
I am trying to build
prophet
Python wheel onlinux/arm64
, but am getting an error duringcmdstanpy
build (apologies for the syntax highlighting, this is from docker output):Additional Information:
We are installing
prophet 1.1
usingpip install prophet==1.1
in a freshpython:3.8-slim
Docker container. It seems like the proper directory names are not being respected onlinux/arm64
:cmdstanpy/cmdstanpy/utils/cmdstan.py
Lines 53 to 56 in e7bb366
cmdstanpy/cmdstanpy/install_cmdstan.py
Lines 501 to 505 in e7bb366
Maybe
cmdstan_dir
doesn't account for the top-level directory onlinux/arm64
?Current Version:
As shown in the log output, we are trying to build
cmdstanpy
2.26.1
The text was updated successfully, but these errors were encountered: