Skip to content

plctap v0.5.4

Choose a tag to compare

@ymxc152 ymxc152 released this 07 Sep 13:07
· 31 commits to main since this release

v0.5.3 缺陷修复的正式全量发布

修复 (随 v0.5.3 内容一并收口)

  • enip e2e 假服务器导入: tests/ 非可导入包, 改 importlib 按文件路径加载 (原 import 在任何环境必失败, 且该提交线此前从未过 CI)
  • MCP 层 enip 地址类型缺陷: address 放宽 int | str + 服务层类型闸 + fastmcp Client 冒烟回归 (两条负例)

官方 Registry 收录补录

  • server.json description 缩至 MCP Registry 100 字符上限内 (收录步骤 422: 补两协议后超长)
  • registry-sync.yml 增 checkout_ref 输入: server.json 在 tag 之后才修正时, 可从 main 检出修正版补录已发布版本, 避免移动 tag 重复触发 PyPI 上传

e2e 台架扩至六方权威实现

pymodbus / python-snap7 / pypi fins / pycomm3 / MZ Automation lib60870.NET / 自建 MC fixture —— 全量 520 passed 0 skipped。

文档对齐

八档 49/49 口径 / 六端点可写 / PUBLISH 补发布教训。

安装

uvx plctap    # 或: pip install plctap==0.5.4

PyPI: https://pypi.org/project/plctap/0.5.4/

Full Changelog: v0.5.3...v0.5.4