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 1746852

Summary: python-pywt fails to build with Python 3.8 on Fedora 32+ on ppc64le
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-pywtAssignee: Igor Raits <igor.raits>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pywt-1.0.3-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-10 18:08:47 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:
Bug Depends On:    
Bug Blocks: 1071880, 1686977    

Description Miro Hrončok 2019-08-29 11:45:24 UTC
python-pywt fails to build with Python 3.8.0b3 in Fedora 32 on ppc64le.

See the build failures at https://koji.fedoraproject.org/koji/search?match=glob&type=package&terms=python-pywt

44 test fail with something like:

======================================================================
FAIL: test_matlab_compatibility_cwt.test_accuracy_precomputed_cwt(array([ 0.4117236 , -0.9451905 ,  0.87268806, ..., -0.90264845,
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILDROOT/python-pywt-1.0.1-5.fc32.ppc64le/usr/lib64/python3.8/site-packages/pywt/tests/test_matlab_compatibility_cwt.py", line 175, in _check_accuracy
    assert_(rms < epsilon, msg=msg)
  File "/usr/lib64/python3.8/site-packages/numpy/testing/_private/utils.py", line 98, in assert_
    raise AssertionError(smsg)
AssertionError: [RMS > EPSILON] for Scale: 1, Wavelet: cgau1, Length: 1001, rms=0.679
======================================================================

It is not important whether the problem is relevant to Python 3.8, this issue is blocking the Python 3.8 rebuilds.
If this package won't build with 3.8, it won't be installable, along with all its dependent packages, in Fedora 32 and further.

Furthermore, as it fails to install, its dependent packages will fail to install and/or build as well.

Please rebuild the package in Fedora 32 (rawhide).

Let us know here if you have any questions. Thank You!