-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
update the version of pybind, test=develop #28284
update the version of pybind, test=develop #28284
Conversation
Thanks for your contribution! |
0df8ea4
to
6f446a4
Compare
This comment has been minimized.
This comment has been minimized.
8278744
to
7219fa0
Compare
c0ff958
to
abe64e2
Compare
ff40164
to
51cae84
Compare
19198c8
to
3d681c6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This reverts commit d9b5f12.
PR types
Bug fixes
PR changes
Others
Describe
Pybind v2.2 为 2017 年发布的旧版本,其遗留 bug 需要替换新版本解决,所以升级 Paddle 的依赖。
考虑到兼容性,此次升级选择
branch/v2.4
的最后稳定发布(v2.4.3)。涉及到本修改的提交:
1、pybind/pybind11#1603 是一个重要修复:解决了 Python 侧错误修改 C++
const STL
引用容器内容,导致无法直接封装std::vector
/std::map
等 STL 容器的关键问题。2、pybind/pybind11#1186 修复 Python 2.7 上
int
基本类型的兼容性问题:在拷贝 C++ 整型到 Python 时,根据数值范围挑选数值类型,从而将 Python 2/3 的绑定行为统一。3、pybind/pybind11#1198 修复了 pybind11 函数签名不符合 Python 编码规范的问题:在等号
=
前后添加空格。由于上述 2、3 修复,导致接口签名文本内容发生变化,触发强制检查:
