mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-03-01 01:13:16 +08:00
Update pythonx version references
This commit is contained in:
parent
a7b738fdcd
commit
c42c5d39fb
5 changed files with 8 additions and 8 deletions
|
@ -506,7 +506,7 @@ defmodule Livebook.Runtime.Definitions do
|
||||||
def snippet_definitions(), do: @snippet_definitions
|
def snippet_definitions(), do: @snippet_definitions
|
||||||
|
|
||||||
def pythonx_dependency() do
|
def pythonx_dependency() do
|
||||||
%{dep: {:pythonx, "~> 0.4.0"}, config: []}
|
%{dep: {:pythonx, "~> 0.4.2"}, config: []}
|
||||||
end
|
end
|
||||||
|
|
||||||
def pythonx_requirement(), do: "~> 0.4.0"
|
def pythonx_requirement(), do: "~> 0.4.0"
|
||||||
|
|
2
mix.exs
2
mix.exs
|
@ -125,7 +125,7 @@ defmodule Livebook.MixProject do
|
||||||
{:floki, ">= 0.27.0", only: :test},
|
{:floki, ">= 0.27.0", only: :test},
|
||||||
{:bypass, "~> 2.1", only: :test},
|
{:bypass, "~> 2.1", only: :test},
|
||||||
# So that we can test Python evaluation in the same node
|
# So that we can test Python evaluation in the same node
|
||||||
{:pythonx, "~> 0.4.0", only: :test},
|
{:pythonx, "~> 0.4.2", only: :test},
|
||||||
# ZTA deps
|
# ZTA deps
|
||||||
{:jose, "~> 1.11.5"},
|
{:jose, "~> 1.11.5"},
|
||||||
{:req, "~> 0.5.8"},
|
{:req, "~> 0.5.8"},
|
||||||
|
|
|
@ -1171,7 +1171,7 @@ defmodule Livebook.LiveMarkdown.ExportTest do
|
||||||
Notebook.Cell.new(:code)
|
Notebook.Cell.new(:code)
|
||||||
| source: """
|
| source: """
|
||||||
Mix.install([
|
Mix.install([
|
||||||
{:pythonx, "~> 0.4.0"}
|
{:pythonx, "~> 0.4.2"}
|
||||||
])\
|
])\
|
||||||
"""
|
"""
|
||||||
},
|
},
|
||||||
|
@ -1193,7 +1193,7 @@ defmodule Livebook.LiveMarkdown.ExportTest do
|
||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
Mix.install([
|
Mix.install([
|
||||||
{:pythonx, "~> 0.4.0"}
|
{:pythonx, "~> 0.4.2"}
|
||||||
])
|
])
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1157,7 +1157,7 @@ defmodule Livebook.LiveMarkdown.ImportTest do
|
||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
Mix.install([
|
Mix.install([
|
||||||
{:pythonx, "~> 0.4.0"}
|
{:pythonx, "~> 0.4.2"}
|
||||||
])
|
])
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1180,7 +1180,7 @@ defmodule Livebook.LiveMarkdown.ImportTest do
|
||||||
id: "setup",
|
id: "setup",
|
||||||
source: """
|
source: """
|
||||||
Mix.install([
|
Mix.install([
|
||||||
{:pythonx, "~> 0.4.0"}
|
{:pythonx, "~> 0.4.2"}
|
||||||
])\
|
])\
|
||||||
"""
|
"""
|
||||||
},
|
},
|
||||||
|
|
|
@ -203,7 +203,7 @@ defmodule Livebook.Notebook.Export.ElixirTest do
|
||||||
Notebook.Cell.new(:code)
|
Notebook.Cell.new(:code)
|
||||||
| source: """
|
| source: """
|
||||||
Mix.install([
|
Mix.install([
|
||||||
{:pythonx, "~> 0.4.0"}
|
{:pythonx, "~> 0.4.2"}
|
||||||
])\
|
])\
|
||||||
"""
|
"""
|
||||||
},
|
},
|
||||||
|
@ -226,7 +226,7 @@ defmodule Livebook.Notebook.Export.ElixirTest do
|
||||||
# Title: My Notebook
|
# Title: My Notebook
|
||||||
|
|
||||||
Mix.install([
|
Mix.install([
|
||||||
{:pythonx, "~> 0.4.0"}
|
{:pythonx, "~> 0.4.2"}
|
||||||
])
|
])
|
||||||
|
|
||||||
Pythonx.uv_init("""
|
Pythonx.uv_init("""
|
||||||
|
|
Loading…
Reference in a new issue