-
Notifications
You must be signed in to change notification settings - Fork 43
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
Trying to install version 0.1.0.post1 but not available on Azure App Service #234
Comments
Hi! is Azure App System running on windows? 0.1.0.post1 was a windows fix. https://pypi.org/project/kaleido/0.1.0.post1/#files You can see the two wheels available are for win_amd64 and win32. kaleido 0.2.1.post1 was the latest linux release. My understanding is that AAS supports both- but I'm not sure which system you're running. Either you can do something like this: https://stackoverflow.com/questions/29222269/is-there-a-way-to-have-a-conditional-requirements-txt-file-for-my-python-applica to specify version for specific systems, or just install kaleido normally. We've yanked all second generation versions or put them behind Kaleido2 will still require you to install chrome separately, although we have instructions for that as well (and is very fast) :-) |
Hi @ayjayt , no the azure app system is running on a Linux system (OS). thanks for the exciting news of Kaleido2, eager to use that soon! Regarding that Kaleido2 needs chrome installed separately, can I still use this Kaleido2 in my Azure web application that is built with plotly dash, and have a python run stack? |
Hi @ayjayt , does Kaleido version 0.1.0.post1 uses chromium for export? If it does not, can we just have that version in Linux OS as well? It is working perfectly in my local. But when deployed to Azure, the issue is just that the version does not exist. Thanks |
Hi! So, Kaleido2 will have a way to download chrome/ium from within python. All kaleido uses chromium one way or another, on versions <0.4.0 it is internal, above that it is external. That is true on mac, windows, and linux. Version If for whatever reason you need to specify an exact version, version Its hard to imagine retroactive release of version 0.1.0 software. |
Hi @ayjayt , thanks for the suggestions. I have tried using both versions
And with version Can I know around when Kaleido2 will be released? Thank you! |
For the above issue, take a look at this: Was actually meant to get kaleido2 out last week but I think it'll be <10 days given current pacing. |
@ayjayt Thanks for that. Looking forward to the new Kaleido2. As per the thread you mentioned, I have tried using the pre-release of Kaleido2 which is version Otherwise do you reckon this is possible? https://stackoverflow.com/questions/76324009/how-can-i-deploy-python-playwright-chromium-to-an-azure-app-function-using-githu Cheers! |
yes, this is true. There will be a For the second part, that looks like a good way to change an environmental variable, which in our case would be Here is some bash script that I'm not sure if you can use to download chromium: wget $(curl -s https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json |
jq -r '.versions.[-1].downloads.chrome.[] | select(.platform == "linux64").url') You need wget $(curl -s https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json |
jq -r '.versions | .[-1] | .downloads.chrome | .[] | select(.platform == "linux64").url') |
Hi @ayjayt , just a quick follow up, can I know if Kaleido 2 will still be released sometime soon? Thanks and cheers |
Yeah, 100% dev right now is testing and debugging. I went to deep on a reorg (which is done) to meet my original deadline but I did solve a bunch of issues so that'll hopefully make rollout smoother. Barring no personal issues it should be this week if not tomorrow. Thanks for the patience! |
Thanks for the update @ayjayt , looking forward to using the new Kaleido 2! |
Hey, so I ended up with a fever last week, but yes, @Jasonnicholas-ZEN, we're finally moving through publishing :-) |
Hi,
I am using kaleido==0.1.0.post1 (which works on local) in my python plotly dash web app and deploying this on Azure App Service with the configuration of the app service as:
python: 3.12.6
pip: 24.2
And I am getting this error when deploying on Azure, which seems like it can't find this version:
Out of all these version I have tried 0.2.0, 0.2.1 and both of these are leading to hang state. I have also tried 0.1.0 and this gives me an error of:
And as I have opted to use version 1.0.0rc0 in the meantime, I am getting this when using the deployed web app:
What can I do to fix this issue (above)?
Is there any fix that I can do to deploy my app and use kaleido for static image rendering in the meantime until Kaleido2 is out? This would be very helpful, thanks!
My requirements.txt:
Lastly, code snippet:
The text was updated successfully, but these errors were encountered: