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

Require setuptools #3221

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Require setuptools #3221

wants to merge 1 commit into from

Conversation

happz
Copy link
Collaborator

@happz happz commented Sep 17, 2024

tmt depends on pkg_resources package shipped by setuptools, but it seems setuptools may be missing in some virtualenvs, not being installed by default.

Pull Request Checklist

  • implement the feature
  • write the documentation
  • extend the test coverage
  • update the specification
  • adjust plugin docstring
  • modify the json schema
  • mention the version
  • include a release note

tmt depends on `pkg_resources` package shipped by `setuptools`, but it
seems `setuptools` may be missing in some virtualenvs, not being
installed by default.
@happz happz added packaging Changes related to the rpm packaging ci | full test Pull request is ready for the full test execution labels Sep 17, 2024
@happz
Copy link
Collaborator Author

happz commented Sep 17, 2024

/packit test

@LecrisUT
Copy link
Contributor

Why the dependency?

@happz
Copy link
Collaborator Author

happz commented Sep 17, 2024

Why the dependency?

mrack fails to import without pkg_resources. But as I read it now, I mistook pkg_resources for something else, tmt does not depend on it.

@LecrisUT
Copy link
Contributor

mrack fails to import without pkg_resources

Seems to be in the beaker project instead: https://github.com/search?q=repo%3Abeaker-project%2Fbeaker%20pkg_resources&type=code. That thing needs to be patched asap, I've opened an issue upstream about it: beaker-project/beaker#232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci | full test Pull request is ready for the full test execution packaging Changes related to the rpm packaging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants