Update pythonx version references

This commit is contained in:
Jonatan Kłosko 2025-02-27 14:03:29 +09:00
parent a7b738fdcd
commit c42c5d39fb
5 changed files with 8 additions and 8 deletions

View file

@ -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"

View file

@ -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"},

View file

@ -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"}
])
```

View file

@ -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"}
])\
"""
},

View file

@ -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("""