Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJuan Sebastian Castro
2021-03-02 16:59:49 UTC
Description of problem:
Installing the python3-scipy package and running the test is failing with with Exceptions.
$ python3 -c 'import scipy; scipy.test()'
Version-Release number of selected component (if applicable):
Name : python3-scipy
Version : 1.0.0
Release : 20.module+el8.1.0+3334+5cb623d7
Architecture : x86_64
Source : scipy-1.0.0-20.module+el8.1.0+3334+5cb623d7.src.rpm
Repository : @System
From repo : rhel-8-for-x86_64-appstream-rpms
How reproducible: 100%
Steps to Reproduce:
1. yum install python3-scipy python3-pytest.noarch
2. python3 -c 'import scipy; scipy.test()'
Actual results:
======================================================================================================================================================= test session starts ========================================================================================================================================================
platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0
rootdir: /home/mschriber/py_core, inifile:
plugins: hypothesis-3.44.24
collected 0 items / 1 errors
============================================================================================================================================================== ERRORS ==============================================================================================================================================================
________________________________________________________________________________________________________________________________________________________ ERROR collecting _________________________________________________________________________________________________________________________________________________________
/usr/lib/python3.6/site-packages/_pytest/config.py:329: in _getconftestmodules
return self._path2confmods[path]
E KeyError: local('/usr/lib64/python3.6/site-packages/scipy')
During handling of the above exception, another exception occurred:
/usr/lib/python3.6/site-packages/_pytest/config.py:360: in _importconftest
return self._conftestpath2mod[conftestpath]
E KeyError: local('/usr/lib64/python3.6/site-packages/scipy/conftest.py')
During handling of the above exception, another exception occurred:
/usr/lib/python3.6/site-packages/_pytest/config.py:366: in _importconftest
mod = conftestpath.pyimport()
/usr/lib/python3.6/site-packages/py/_path/local.py:686: in pyimport
raise self.ImportMismatchError(modname, modfile, self)
E py._path.local.LocalPath.ImportMismatchError: ('scipy.conftest', '/builddir/build/BUILDROOT/scipy-1.0.0-20.module+el8.1.0+3334+5cb623d7.x86_64/usr/lib64/python3.6/site-packages/scipy/conftest.py', local('/usr/lib64/python3.6/site-packages/scipy/conftest.py'))
During handling of the above exception, another exception occurred:
/usr/lib/python3.6/site-packages/py/_path/common.py:377: in visit
for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
/usr/lib/python3.6/site-packages/py/_path/common.py:418: in gen
dirs = self.optsort([p for p in entries
/usr/lib/python3.6/site-packages/py/_path/common.py:419: in <listcomp>
if p.check(dir=1) and (rec is None or rec(p))])
/usr/lib/python3.6/site-packages/_pytest/main.py:405: in _recurse
ihook = self.gethookproxy(path.dirpath())
/usr/lib/python3.6/site-packages/_pytest/main.py:315: in gethookproxy
my_conftestmodules = pm._getconftestmodules(fspath)
/usr/lib/python3.6/site-packages/_pytest/config.py:343: in _getconftestmodules
mod = self._importconftest(conftestpath)
/usr/lib/python3.6/site-packages/_pytest/config.py:368: in _importconftest
raise ConftestImportFailure(conftestpath, sys.exc_info())
E _pytest.config.ConftestImportFailure: ImportMismatchError('scipy.conftest', '/builddir/build/BUILDROOT/scipy-1.0.0-20.module+el8.1.0+3334+5cb623d7.x86_64/usr/lib64/python3.6/site-packages/scipy/conftest.py', local('/usr/lib64/python3.6/site-packages/scipy/conftest.py'))
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================================================================================================================================== 1 error in 0.27 seconds ======================================================================================================================================================
Expected results:
The test is successful.
Additional info:
It was tested also on RHEL 8.2 with package version python3-scipy-1.0.0-19.module+el8.0.0+2966+d39a1df3.x86_64 with same exception results.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: python36:3.6 security and bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2021:4150
Description of problem: Installing the python3-scipy package and running the test is failing with with Exceptions. $ python3 -c 'import scipy; scipy.test()' Version-Release number of selected component (if applicable): Name : python3-scipy Version : 1.0.0 Release : 20.module+el8.1.0+3334+5cb623d7 Architecture : x86_64 Source : scipy-1.0.0-20.module+el8.1.0+3334+5cb623d7.src.rpm Repository : @System From repo : rhel-8-for-x86_64-appstream-rpms How reproducible: 100% Steps to Reproduce: 1. yum install python3-scipy python3-pytest.noarch 2. python3 -c 'import scipy; scipy.test()' Actual results: ======================================================================================================================================================= test session starts ======================================================================================================================================================== platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 rootdir: /home/mschriber/py_core, inifile: plugins: hypothesis-3.44.24 collected 0 items / 1 errors ============================================================================================================================================================== ERRORS ============================================================================================================================================================== ________________________________________________________________________________________________________________________________________________________ ERROR collecting _________________________________________________________________________________________________________________________________________________________ /usr/lib/python3.6/site-packages/_pytest/config.py:329: in _getconftestmodules return self._path2confmods[path] E KeyError: local('/usr/lib64/python3.6/site-packages/scipy') During handling of the above exception, another exception occurred: /usr/lib/python3.6/site-packages/_pytest/config.py:360: in _importconftest return self._conftestpath2mod[conftestpath] E KeyError: local('/usr/lib64/python3.6/site-packages/scipy/conftest.py') During handling of the above exception, another exception occurred: /usr/lib/python3.6/site-packages/_pytest/config.py:366: in _importconftest mod = conftestpath.pyimport() /usr/lib/python3.6/site-packages/py/_path/local.py:686: in pyimport raise self.ImportMismatchError(modname, modfile, self) E py._path.local.LocalPath.ImportMismatchError: ('scipy.conftest', '/builddir/build/BUILDROOT/scipy-1.0.0-20.module+el8.1.0+3334+5cb623d7.x86_64/usr/lib64/python3.6/site-packages/scipy/conftest.py', local('/usr/lib64/python3.6/site-packages/scipy/conftest.py')) During handling of the above exception, another exception occurred: /usr/lib/python3.6/site-packages/py/_path/common.py:377: in visit for x in Visitor(fil, rec, ignore, bf, sort).gen(self): /usr/lib/python3.6/site-packages/py/_path/common.py:418: in gen dirs = self.optsort([p for p in entries /usr/lib/python3.6/site-packages/py/_path/common.py:419: in <listcomp> if p.check(dir=1) and (rec is None or rec(p))]) /usr/lib/python3.6/site-packages/_pytest/main.py:405: in _recurse ihook = self.gethookproxy(path.dirpath()) /usr/lib/python3.6/site-packages/_pytest/main.py:315: in gethookproxy my_conftestmodules = pm._getconftestmodules(fspath) /usr/lib/python3.6/site-packages/_pytest/config.py:343: in _getconftestmodules mod = self._importconftest(conftestpath) /usr/lib/python3.6/site-packages/_pytest/config.py:368: in _importconftest raise ConftestImportFailure(conftestpath, sys.exc_info()) E _pytest.config.ConftestImportFailure: ImportMismatchError('scipy.conftest', '/builddir/build/BUILDROOT/scipy-1.0.0-20.module+el8.1.0+3334+5cb623d7.x86_64/usr/lib64/python3.6/site-packages/scipy/conftest.py', local('/usr/lib64/python3.6/site-packages/scipy/conftest.py')) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ===================================================================================================================================================== 1 error in 0.27 seconds ====================================================================================================================================================== Expected results: The test is successful. Additional info: It was tested also on RHEL 8.2 with package version python3-scipy-1.0.0-19.module+el8.0.0+2966+d39a1df3.x86_64 with same exception results.