Skip to content

Replace pkg_resources version lookup#186

Draft
Mirochill wants to merge 1 commit into
gems-uff:masterfrom
Mirochill:fix-182-use-importlib-metadata
Draft

Replace pkg_resources version lookup#186
Mirochill wants to merge 1 commit into
gems-uff:masterfrom
Mirochill:fix-182-use-importlib-metadata

Conversation

@Mirochill

Copy link
Copy Markdown

Summary

  • replace the deployment provenance package-version lookup with importlib.metadata.version()
  • remove the pkg_resources import from deployment.py
  • keep the existing fallback to explicit module version attributes when no installed distribution version can be found

Fixes #182.

Validation

  • Not run locally

@Felipe-CdS

Copy link
Copy Markdown
Collaborator

LGTM Please switch the target branch to staging and set the PR as ready for review.

Btw, are you a UFF student? Are using noWorkflow in a research? How did you heard about our project? We are looking for real life examples using noWorkflow to understand how people use it, so it would be cool to listen your experience trying out the tool, if you don't mind.

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

Successfully merging this pull request may close these issues.

Old pkg_resources slow operation

2 participants