Skip to content
Discussion options

You must be logged in to vote

可以全局配置 set_policy("package.requires_lock", true),启用包依赖锁定。

package.requires_lock

尝试按照下面方法覆盖python版本参数,没有效果

配置 override = true

add_requireconfs("pybind11.python", {version = "3.9", override = true})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KaivnD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #2832 on September 26, 2022 23:35.