-
Notifications
You must be signed in to change notification settings - Fork 10
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
Livebook and its possible uses #369
Comments
Hey 👋 , I am currently integrating I am struggling to find a way to resolve this conflict. Can anyone provide some insight on how to address this issue? I added the following lines to {:livebook, "~> 0.13.2"},
{:kino, "~> 0.13.2"},
{:vega_lite, "~> 0.1"} Here is the output of . . .
Because your app depends on livebook ~> 0.13.2 which depends on phoenix_live_view 1.0.0-rc.5, phoenix_live_view 1.0.0-rc.5 is required.
So, because your app depends on phoenix_live_view ~> 0.20.0, version solving failed. After upgrading the . . .
Because flop_phoenix >= 0.22.7 depends on phoenix_live_view ~> 0.20.4 and flop_phoenix >= 0.21.2 and < 0.22.7 depends on phoenix_live_view ~> 0.19.0 or ~> 0.20.0, flop_phoenix >= 0.21.2 requires phoenix_live_view ~> 0.19.0 or ~> 0.20.0.
And because your app depends on flop_phoenix ~> 0.22, phoenix_live_view ~> 0.19.0 or ~> 0.20.0 is required.
So, because your app depends on phoenix_live_view ~> 1.0.0-rc.5, version solving failed.
** (Mix) Hex dependency resolution failed |
I don't think including If you still want to include it directly, either:
|
Running a standalone node locally and connecting it to a running instance of Either elixir or deps needs to be upgraded. Here's a screenshot for reference: |
Unfortunately we cannot upgrade elixir to the latest version on |
May I know the legacy reasons? I have upgraded the Elixir version in the Dockerfile to |
I have deployed and checked in Raspberry Pi as well, and it is working fine there as well. @gBillal Would you like to have a look? |
When it comes to the Standalone livebook node in local machine and connecting runtime with edge device, It won't function on edge devices because the device doesn't have You might be curious about how |
Do I understand correctly, that to use Livebook on a Pi, any dependencies would have to have been included in the firmware build? Is that true only if we were using nerves? (which at the moment we're not), or is this some other limitation related to a Pi that even with a regular OS (Debian, PiOS), Mix cannot be used? |
It is true when integrating using an It has nothing to do with nerves. The Pi OS will be trimmed compared to a regular OS. In our case, the Production release of This blog contains the difference between an I said partially true because in |
I prefer using |
Hi For livebook with attached mode, you cannot install dependencies, however you can do the following:
|
Hello @gBillal , Are you saying that some of the production kits contain old Debian versions that may cause issues? We are not changing the Debian version, only upgrading the Elixir/Erlang version. So, I don't think there would be any issue in that case. Is there any way we can test that? Also, in |
This will be possible in "Standalone Mode", but for that, a livebook has to be set up on the laptop. @marcoherbst explained that he expects to integrate the livebook into the ex_nvr dashboard. This will not be possible if we go with |
Elixir 1.17 docker images are all based on the newer debian version and if that image is used to build arm64 releases, the external dependencies (like Anyway you can work on a new branch, upgrade elixir and any dependencies you need and create a release from there. Unfortunately we cannot upgrade right now. |
@gBillal Is it possible to upgrade Elixir to version |
As I said above, this work won't make it to the main branch. So you're free to work on a branch, upgrade to any version and create a release from there where we can test it on some devices. we'll upgrade Elixir once we're no longer using old raspbian version on our side. |
Consider including https://livebook.dev/ as part of our package. (Or offering instructions for a user to do this themselves)
Some possible uses:
Superficially at least, it seems the livebook teams people believe this sort of thing is reasonable:
The text was updated successfully, but these errors were encountered: