Bug 1772474 - Python3-mock package is missing in EPEL8
Summary: Python3-mock package is missing in EPEL8
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-mock
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Praveen Kumar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1815827 (view as bug list)
Depends On:
Blocks: 1815701
TreeView+ depends on / blocked
 
Reported: 2019-11-14 12:47 UTC by Jakub Rusz
Modified: 2020-12-07 20:49 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-12-07 20:49:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4995301 0 None None None 2020-04-17 11:49:33 UTC

Description Jakub Rusz 2019-11-14 12:47:05 UTC
Description of problem:
The package is missing and I need it to run lorax-composer tests on RHEL8.

Comment 1 Miro Hrončok 2019-11-23 23:13:10 UTC
Juts a side note: Technically, you don't need the mock package. Mock is part of the standard library. Import it from unittest.

Comment 2 Pierre-Etienne Deutsch 2020-04-08 11:31:47 UTC
I've been missing this as well. This is breaking the certbot package installation :

>[vagrant@centos8 ~]$ sudo yum install certbot
>Last metadata expiration check: 0:00:21 ago on Wed Apr  8 13:02:43 2020.
>Error: 
> Problem: package certbot-1.3.0-3.el8.noarch requires python3-certbot = 1.3.0-3.el8, but none of the providers can be installed
>  - conflicting requests
>  - nothing provides python3-mock needed by python3-certbot-1.3.0-3.el8.noarch
>  - nothing provides python3.6dist(mock) needed by python3-certbot-1.3.0-3.el8.noarch
>(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Repo info :
>[vagrant@centos8 ~]$ cat /etc/yum.repos.d/epel.repo
>[epel]
>name=Extra Packages for Enterprise Linux $releasever - $basearch
>#baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch
>metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
>failovermethod=priority
>enabled=1
>gpgcheck=1
>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever

Requiring package :
>[vagrant@centos8 ~]$ yum info python3-certbot
>Last metadata expiration check: 0:00:21 ago on Wed Apr  8 13:02:43 2020.
>Available Packages
>Name         : python3-certbot
>Version      : 1.3.0
>Release      : 3.el8
>Architecture : noarch
>Size         : 367 k
>Source       : certbot-1.3.0-3.el8.src.rpm
>Repository   : epel
>Summary      : Python 3 libraries used by certbot
>URL          : https://pypi.python.org/pypi/certbot
>License      : ASL 2.0
>Description  : The python3 libraries to interface with certbot

Comment 3 j.aukes 2020-04-09 10:23:44 UTC
If you really need it, it's available over here: https://centos.pkgs.org/8/centos-powertools-x86_64/python3-mock-2.0.0-11.el8.noarch.rpm.html

RPM: http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/python3-mock-2.0.0-11.el8.noarch.rpm
Package provides python3-mock and python3.6dist(mock)

Comment 4 j.aukes 2020-04-09 10:35:17 UTC
(In reply to j.aukes from comment #3)
> If you really need it, it's available over here:
> https://centos.pkgs.org/8/centos-powertools-x86_64/python3-mock-2.0.0-11.el8.
> noarch.rpm.html
> 
> RPM:
> http://mirror.centos.org/centos/8/PowerTools/x86_64/os/Packages/python3-mock-
> 2.0.0-11.el8.noarch.rpm
> Package provides python3-mock and python3.6dist(mock)

Also seems to be present in Red Hat CodeReady Linux Builder (https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/package_manifest/codereadylinuxbuilder-repository)

Comment 5 Felix Schwarz 2020-04-10 20:17:40 UTC
Pierre-Etienne Deutsch: please see https://bugzilla.redhat.com/show_bug.cgi?id=1822959#c1 for further information about the certbot situation. I'm sorry for the incovenience but despite some efforts all attempts to remove the runtime dependency on mock were really complicated and not 100% correct. With a bit of luck the problem will be fixed in certbot 1.4.

Comment 6 Pierre-Etienne Deutsch 2020-04-14 10:08:45 UTC
Thank you guys !

Comment 7 Miro Hrončok 2020-12-07 18:44:26 UTC
*** Bug 1815827 has been marked as a duplicate of this bug. ***

Comment 8 Miro Hrončok 2020-12-07 20:49:49 UTC
Since this is in RHEL 8, it cannot be packaged in EPEL 8.


Note You need to log in before you can comment on or make changes to this bug.