Description of problem: Package PyMca fails to build from source in Fedora rawhide. Version-Release number of selected component (if applicable): 5.5.0-6.fc33 Steps to Reproduce: koji build --scratch f34 PyMca-5.5.0-6.fc33.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/PyMca ====================================================================== ERROR: testHdf5Uri (ConfigDictTest.testConfigDict) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pymca-5.5.0/PyMca5/tests/ConfigDictTest.py", line 164, in testHdf5Uri readInstance.read(uri) File "/builddir/build/BUILDROOT/PyMca-5.5.0-6.fc34.x86_64/usr/lib64/python3.10/site-packages/PyMca5/PyMcaIO/ConfigDict.py", line 117, in read config = StringIO(h5[path][()]) TypeError: initial_value must be str or None, not bytes ====================================================================== FAIL: testNxExtStringAttribute (NexusUtilsTest.testNexusUtils) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pymca-5.5.0/PyMca5/tests/NexusUtilsTest.py", line 186, in testNxExtStringAttribute self._checkStringTypes(attribute=True, raiseExtended=False) File "/builddir/build/BUILD/pymca-5.5.0/PyMca5/tests/NexusUtilsTest.py", line 276, in _checkStringTypes self.assertEqual(type(value), type(expectedValue), msg=msg) AssertionError: <class 'str'> != <class 'bytes'> : ext(scalar) <class 'str'> instead of <class 'bytes'> ====================================================================== FAIL: testNxExtStringDataset (NexusUtilsTest.testNexusUtils) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pymca-5.5.0/PyMca5/tests/NexusUtilsTest.py", line 191, in testNxExtStringDataset self._checkStringTypes(attribute=False, raiseExtended=False) File "/builddir/build/BUILD/pymca-5.5.0/PyMca5/tests/NexusUtilsTest.py", line 276, in _checkStringTypes self.assertEqual(type(value), type(expectedValue), msg=msg) AssertionError: <class 'bytes'> != <class 'str'> : ascii(scalar) <class 'bytes'> instead of <class 'str'> ====================================================================== FAIL: testNxStringDataset (NexusUtilsTest.testNexusUtils) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pymca-5.5.0/PyMca5/tests/NexusUtilsTest.py", line 181, in testNxStringDataset self._checkStringTypes(attribute=False, raiseExtended=True) File "/builddir/build/BUILD/pymca-5.5.0/PyMca5/tests/NexusUtilsTest.py", line 276, in _checkStringTypes self.assertEqual(type(value), type(expectedValue), msg=msg) AssertionError: <class 'bytes'> != <class 'str'> : ascii(scalar) <class 'bytes'> instead of <class 'str'> ----------------------------------------------------------------------
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 34. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (not sooner than 2021-01-26). A week before the mass branching of Fedora 35 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 33 will be retired regardless of the status of this bug. [1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-35/f-35-key-tasks.html
Built in rawhide.