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

使用标准库importlib.metadata替代importlib-metadata #3468

Closed
xzmeng opened this issue Sep 19, 2023 · 1 comment
Closed

使用标准库importlib.metadata替代importlib-metadata #3468

xzmeng opened this issue Sep 19, 2023 · 1 comment

Comments

@xzmeng
Copy link

xzmeng commented Sep 19, 2023

Issue类型

Enhancement

vnpy的README.md里显示当前支持Python 3.8 ~ 3.10, importlib.metadata从3.8加入标准库,并且vnpy里只使用到了importlib.metadata.version,可以考虑移除依赖importlib-metadata.

@vnpy
Copy link
Owner

vnpy commented Dec 7, 2023

感谢反馈,这块后续计划4.0切换到新的setup.cfg中版本号取值方式:

version = attr: package.__version__

相对更加简洁些了。

@vnpy vnpy closed this as completed Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants