tmt icon indicating copy to clipboard operation
tmt copied to clipboard

Require setuptools

Open happz opened this issue 1 year ago • 4 comments

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

happz avatar Sep 17 '24 08:09 happz

/packit test

happz avatar Sep 17 '24 08:09 happz

Why the dependency?

LecrisUT avatar Sep 17 '24 15:09 LecrisUT

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.

happz avatar Sep 17 '24 16:09 happz

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: https://github.com/beaker-project/beaker/issues/232

LecrisUT avatar Sep 17 '24 16:09 LecrisUT