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

🚨 chore: filter protobuf 5.28 runtime check warning #303

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Sep 12, 2024

动机

protobuf 5.28 新增了 runtime version 和生成 code 版本检查,当前生成 code 版本为 5.28.0,但是 protobuf 目前最新是 5.28.1,会产生如下 warning

/Users/username/Projects/yutto/.venv/lib/python3.12/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.28.0 is older than the runtime version 5.28.1 at protobuf/danmaku.proto. Please avoid checked-in Protobuf gencode that can be obsolete.

protocolbuffers/protobuf#18096

解决方案

暂时 filter 掉

类型

  • ✨ feat: 添加新功能
  • 🐛 fix: 修复 bug
  • 📝 docs: 对文档进行修改
  • ♻️ refactor: 代码重构(既不是新增功能,也不是修改 bug 的代码变动)
  • ⚡ perf: 提高性能的代码修改
  • 🧑‍💻 dx: 优化开发体验
  • 🔨 workflow: 工作流变动
  • 🏷️ types: 类型声明修改
  • 🚧 wip: 工作正在进行中
  • ✅ test: 测试用例添加及修改
  • 🔨 build: 影响构建系统或外部依赖关系的更改
  • 👷 ci: 更改 CI 配置文件和脚本
  • ❓ chore: 其它不涉及源码以及测试的修改
  • ⬆️ deps: 依赖项修改
  • 🔖 release: 发布新版本

@SigureMo SigureMo merged commit 757476a into main Sep 12, 2024
11 checks passed
@SigureMo SigureMo deleted the filter-protobuf-warning branch September 12, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant