We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前的 pyproject.toml 里的 python = ">=3.7, <=3.10" 只允许使用 Python 3.10 而不允许 Python 3.10.1 之类的版本。
pyproject.toml
python = ">=3.7, <=3.10"
是因为用到了 Python 3.10.x 不兼容的特性导致如此设定的吗?
可以使用 python = "^3.7" 来限定任意高于 3.7 的 Python 3 版本。或者若要支持 3.10.x 而不允许 3.11.x 可以使用 python = ">=3.7, <3.11" 来限定版本。
python = "^3.7"
python = ">=3.7, <3.11"
The text was updated successfully, but these errors were encountered:
只是单纯地写错了而已
下个版本会修复
Sorry, something went wrong.
No branches or pull requests
目前的
pyproject.toml
里的python = ">=3.7, <=3.10"
只允许使用 Python 3.10 而不允许 Python 3.10.1 之类的版本。是因为用到了 Python 3.10.x 不兼容的特性导致如此设定的吗?
可以使用
python = "^3.7"
来限定任意高于 3.7 的 Python 3 版本。或者若要支持 3.10.x 而不允许 3.11.x 可以使用python = ">=3.7, <3.11"
来限定版本。The text was updated successfully, but these errors were encountered: