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

Get rid of pkg_resources dependency #28

Closed
flying-sheep opened this issue Oct 7, 2021 · 0 comments · Fixed by #29
Closed

Get rid of pkg_resources dependency #28

flying-sheep opened this issue Oct 7, 2021 · 0 comments · Fixed by #29
Labels
enhancement New feature or request
Milestone

Comments

@flying-sheep
Copy link
Contributor

flying-sheep commented Oct 7, 2021

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:

$ PYTHONPROFILEIMPORTTIME=1 python -c 'import dunamai' 2>! importprofile.log
$ tuna importprofile.log

import-times

Alternatives

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants