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

支持 Python 3.10.x #50

Open
NKID00 opened this issue Aug 26, 2022 · 1 comment
Open

支持 Python 3.10.x #50

NKID00 opened this issue Aug 26, 2022 · 1 comment

Comments

@NKID00
Copy link

NKID00 commented Aug 26, 2022

目前的 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" 来限定版本。

@Wybxc
Copy link
Collaborator

Wybxc commented Aug 26, 2022

只是单纯地写错了而已

下个版本会修复

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

No branches or pull requests

2 participants