Bug 1822959
Summary: | python3-certbot depends on python3-mock not available in EPEL | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Joe Mou <redhat> |
Component: | certbot | Assignee: | Felix Schwarz <fschwarz> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel8 | CC: | anon.amish, fschwarz, itamar, james.hogarth, nb, nick, rbu |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-10 20:12:35 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joe Mou
2020-04-10 16:33:06 UTC
tldr: You need to enable the PowerTools repo. Longer explanation: certbot provides the "certbot.tests" package which contains helper code to ease test writing for certbot plugins. That package is part of the public api and depends on python3-mock. Unfortunately in RHEL 8 python3-mock is not part of the main repositories but only available in the powertools repo (provided by Red Hat, not enabled by default but can be enabled easily). The EPEL guidelines recommend that EPEL8 users enable this repo ("on CentOS 8 it is recommended to also enable the PowerTools repository since EPEL packages may depend on packages from it"): https://fedoraproject.org/wiki/EPEL#Quickstart As you can see in the git history of certbot I tried to create a custom subpackage just for certbot.tests but in the end this became pretty complicated so I reverted the change and just shipped the upstream code with fewer modifications. The certbot developers are aware of the issue: https://github.com/certbot/certbot/issues/7886 *** This bug has been marked as a duplicate of bug 1821439 *** Joe: I hope you don't mind me pasting the original explanation but mock is actually a "real" dependency of certbot currently. Fixing this requires a bit of actual (upstream) development. If you have further questions please just reopen this bug. Mikel: I noticed you added a Red Hat Knowledge Base here. If dependency issues like python-mock cause a significant number of RH customer requests please get in touch with me so I can evaluate the impact of these changes better. As you are probably aware I'm planning to move certbot in EPEL 7 to use Python 3 and I would like to be aware of potential problems :-) |