In Copr, we are using a limited subset of the python3-rpkg functionality, via:
from pyrpkg import Commands from pyrpkg.errors import rpkgError
The problem is that we need to install python3-rpkg package, which has e.g. dependency on mock (which is definitely useless in our case).
python3-rpkg
mock
Can we have a package that would provide just python API, and depended on a limited set of things (e.g., git, but ideally nothing else)?
Original report: https://github.com/fedora-copr/copr/issues/4003