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
It has known performance problems and is in the process of being deprecated: pypa/setuptools-scm#513 (comment)
The time spent when importing dunamai is almost exclusively invested into pkg_resources:
pkg_resources
$ PYTHONPROFILEIMPORTTIME=1 python -c 'import dunamai' 2>! importprofile.log $ tuna importprofile.log
pkg_resources.get_distribution(name).version
importlib.metadata.version(name)
pkg_resources.parse_version(v)
packaging.version.Version(v)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
It has known performance problems and is in the process of being deprecated: pypa/setuptools-scm#513 (comment)
The time spent when importing dunamai is almost exclusively invested into
pkg_resources
:Alternatives
pkg_resources.get_distribution(name).version
→importlib.metadata.version(name)
(https://docs.python.org/3/library/importlib.metadata.html)pkg_resources.parse_version(v)
→packaging.version.Version(v)
(https://packaging.pypa.io/en/latest/version.html)The text was updated successfully, but these errors were encountered: