mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-28 17:03:30 +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 pythonx_dependency() do
|
||||
%{dep: {:pythonx, "~> 0.4.0"}, config: []}
|
||||
%{dep: {:pythonx, "~> 0.4.2"}, config: []}
|
||||
end
|
||||
|
||||
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},
|
||||
{:bypass, "~> 2.1", only: :test},
|
||||
# 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
|
||||
{:jose, "~> 1.11.5"},
|
||||
{:req, "~> 0.5.8"},
|
||||
|
|
|
@ -1171,7 +1171,7 @@ defmodule Livebook.LiveMarkdown.ExportTest do
|
|||
Notebook.Cell.new(:code)
|
||||
| source: """
|
||||
Mix.install([
|
||||
{:pythonx, "~> 0.4.0"}
|
||||
{:pythonx, "~> 0.4.2"}
|
||||
])\
|
||||
"""
|
||||
},
|
||||
|
@ -1193,7 +1193,7 @@ defmodule Livebook.LiveMarkdown.ExportTest do
|
|||
|
||||
```elixir
|
||||
Mix.install([
|
||||
{:pythonx, "~> 0.4.0"}
|
||||
{:pythonx, "~> 0.4.2"}
|
||||
])
|
||||
```
|
||||
|
||||
|
|
|
@ -1157,7 +1157,7 @@ defmodule Livebook.LiveMarkdown.ImportTest do
|
|||
|
||||
```elixir
|
||||
Mix.install([
|
||||
{:pythonx, "~> 0.4.0"}
|
||||
{:pythonx, "~> 0.4.2"}
|
||||
])
|
||||
```
|
||||
|
||||
|
@ -1180,7 +1180,7 @@ defmodule Livebook.LiveMarkdown.ImportTest do
|
|||
id: "setup",
|
||||
source: """
|
||||
Mix.install([
|
||||
{:pythonx, "~> 0.4.0"}
|
||||
{:pythonx, "~> 0.4.2"}
|
||||
])\
|
||||
"""
|
||||
},
|
||||
|
|
|
@ -203,7 +203,7 @@ defmodule Livebook.Notebook.Export.ElixirTest do
|
|||
Notebook.Cell.new(:code)
|
||||
| source: """
|
||||
Mix.install([
|
||||
{:pythonx, "~> 0.4.0"}
|
||||
{:pythonx, "~> 0.4.2"}
|
||||
])\
|
||||
"""
|
||||
},
|
||||
|
@ -226,7 +226,7 @@ defmodule Livebook.Notebook.Export.ElixirTest do
|
|||
# Title: My Notebook
|
||||
|
||||
Mix.install([
|
||||
{:pythonx, "~> 0.4.0"}
|
||||
{:pythonx, "~> 0.4.2"}
|
||||
])
|
||||
|
||||
Pythonx.uv_init("""
|
||||
|
|
Loading…
Reference in a new issue