Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI 环境的 mypy 疑似有问题,被暂时关闭了 #673

Open
cosven opened this issue Apr 19, 2023 · 1 comment
Open

CI 环境的 mypy 疑似有问题,被暂时关闭了 #673

cosven opened this issue Apr 19, 2023 · 1 comment

Comments

@cosven
Copy link
Member

cosven commented Apr 19, 2023

CI 环境的 mypy 有问题体现在两点

  1. 之前一直可以运行成功,某一天突然就失败了,比如这个 job https://github.com/feeluown/FeelUOwn/actions/runs/4706253516/jobs/8367094180 。人肉对比了几个依赖的版本,发现都是没有变化的,比如 mypy, mypy-extensions 前后都分别是 1.2 和 1.0。
  2. 本地用最新版本的各种包来运行 mypy 测试,也是能过的,并且 windows 和 macos 环境都可以,py3.8 和 py3.11 都可以。也侧面说明不是包版本问题,不是 py 版本问题。这个 job 打印了一些 debug 信息,包括环境变量等 https://github.com/feeluown/FeelUOwn/actions/runs/4730718812/jobs/8394780975

值得一说的是

  1. 本地用 py3.9 环境安装的一个 mypy 0.9x 版本来跑,也会报错
@cosven
Copy link
Member Author

cosven commented Jan 28, 2024

2024-01-20 仍然有这个问题,mypy 版本是一样的,但结果就是不一样 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant