Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1873340

Summary: import expectedArch from rpmfluff fails in v0.6
Product: [Fedora] Fedora Reporter: Brian Lane <bcl>
Component: python-rpmfluffAssignee: Jan Hutař <jhutar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: igor.raits, jal233, jhutar, reallylongword
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rpmfluff-0.6.1-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-01 00:14:59 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 Brian Lane 2020-08-27 22:57:33 UTC
[root@514319588f58 /]# rpm -q python3-rpmfluff
python3-rpmfluff-0.6-1.fc33.noarch

[root@514319588f58 /]# python3
Python 3.9.0rc1 (default, Aug 12 2020, 00:00:00) 
[GCC 10.2.1 20200804 (Red Hat 10.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from rpmfluff import expectedArch
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'expectedArch' from 'rpmfluff' (/usr/lib/python3.9/site-packages/rpmfluff/__init__.py)


Looks like this has been fixed in 0.6.1 but it hasn't been built for Fedora 33 yet. This is causing test failures in Lorax's Travis pylint tests.

Comment 1 Fedora Update System 2020-09-03 15:48:47 UTC
FEDORA-2020-17b2125665 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-17b2125665

Comment 2 Jan Hutař 2020-09-03 15:51:02 UTC
Hello. Please try with above mentioned update. Thanks for reporting!

Comment 3 Fedora Update System 2020-09-03 18:10:32 UTC
FEDORA-2020-17b2125665 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-17b2125665`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-17b2125665

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2020-10-01 00:14:59 UTC
FEDORA-2020-17b2125665 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.