Skip to content

Commit ecfd382

Browse files
khamilowiczclaude
andcommitted
Fix Elixir 1.19 and OTP 28 compatibility
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f337e17 commit ecfd382

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.dialyzer_ignore.exs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
{"lib/kino_membrane/component_info.ex", :call_without_opaque}
3+
]

mix.exs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,22 @@ defmodule KinoMembrane.Mixfile do
4343
{:membrane_core, "~> 1.0"},
4444
{:kino, "~> 0.13.2"},
4545
{:kino_vega_lite, "~> 0.1.9"},
46-
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
47-
{:dialyxir, ">= 0.0.0", only: :dev, runtime: false},
48-
{:credo, ">= 0.0.0", only: :dev, runtime: false}
46+
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
47+
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
48+
{:credo, "~> 1.7", only: :dev, runtime: false}
4949
]
5050
end
5151

5252
defp dialyzer() do
5353
opts = [
54-
flags: [:error_handling]
54+
flags: [:error_handling],
55+
plt_add_apps: [:mix, :syntax_tools],
56+
ignore_warnings: ".dialyzer_ignore.exs"
5557
]
5658

5759
if System.get_env("CI") == "true" do
5860
# Store PLTs in cacheable directory for CI
61+
File.mkdir_p!(Path.join([__DIR__, "priv", "plts"]))
5962
[plt_local_path: "priv/plts", plt_core_path: "priv/plts"] ++ opts
6063
else
6164
opts

0 commit comments

Comments
 (0)