mix test fails on OTP 28 / Elixir 1.18 (ssl_verify_fun + deprecated eval_quoted)

未关闭
#46 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@nshkrdotcom 已经在做这个了。

开始于 2026年1月4日。

  • #47 来自 @nshkrdotcom —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
elixir

调研方向

先在所述的 OTP 28/Elixir 1.18 环境中运行 mix deps.get 和 mix test,然后检查通过 excoveralls 和 hackney 的开发/测试依赖链,以定位 ssl_verify_fun。检查 test/decoder_test.exs、test/toml_test_test.exs 和 Toml.CLI.fail!/1。完成标准是测试套件能够编译并运行,且没有依赖失败、弃用警告或二进制消息子句错误。

由索引模型根据 Issue 内容生成。

描述

Summary

Running the test suite on newer OTP/Elixir releases fails due to the dev/test dependency chain pulling in ssl_verify_fun (via excoveralls/hackney), which no longer compiles. There are also compatibility warnings for deprecated Module.eval_quoted/2 usage in tests, and the CLI lacks a binary fail!/1 clause.

Steps to Reproduce

  1. mix deps.get
  2. mix test

Actual Results

  • ssl_verify_fun fails to compile with missing public_key/include/public_key.hrl and undefined records/macros.
  • Deprecation warnings for Module.eval_quoted/2 in test/decoder_test.exs and test/toml_test_test.exs.
  • Toml.CLI.fail!/1 raises a function clause error when passed a binary error message.

Expected Results

mix test succeeds on current OTP/Elixir versions without compile failures or deprecation warnings.

Environment

  • Erlang/OTP 28.0 (erts-16.1.1)
  • Elixir 1.18.4 (compiled with OTP 25)
  • Linux
主要语言
Elixir
星标
206
派生
33
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bitwalker/toml-elixir 的其他 Issue

查看 bitwalker/toml-elixir 的全部 Issue

相似的 Issue

更多 Elixir Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。