Bug 1914890

Summary: python-theano: FTBFS in Fedora rawhide: ValueError: invalid literal for int() with base 10: '0rc2'
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: python-theanoAssignee: Jerry James <loganjerry>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, loganjerry, sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/python-theano
Whiteboard:
Fixed In Version: python-theano-1.0.13-2.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-12 04:24:28 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: 1868278, 1890881    

Description Tomáš Hrnčiar 2021-01-11 12:37:05 UTC
Description of problem:
Package python-theano fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
1.0.13-1.fc34

Steps to Reproduce:
koji build --scratch f34 python-theano-1.0.13-1.fc34.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-theano

==================================== ERRORS ====================================
___________________ ERROR at setup of TestUniqueAxis.test_op ___________________

self = <tests.tensor.test_extra_ops.TestUniqueAxis object at 0x7fcb4f10d400>

    def setup_method(self):
        super().setup_method()
>       numpy_ver = tuple([int(n) for n in np.__version__.split(".")])

tests/tensor/test_extra_ops.py:848: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

.0 = <list_iterator object at 0x7fcb4f1072e0>

>   numpy_ver = tuple([int(n) for n in np.__version__.split(".")])
E   ValueError: invalid literal for int() with base 10: '0rc2'

tests/tensor/test_extra_ops.py:848: ValueError
______________ ERROR at setup of TestUniqueAxis.test_basic_vector ______________

self = <tests.tensor.test_extra_ops.TestUniqueAxis object at 0x7fcb4f107040>

    def setup_method(self):
        super().setup_method()
>       numpy_ver = tuple([int(n) for n in np.__version__.split(".")])

tests/tensor/test_extra_ops.py:848: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

.0 = <list_iterator object at 0x7fcb4f10d730>

>   numpy_ver = tuple([int(n) for n in np.__version__.split(".")])
E   ValueError: invalid literal for int() with base 10: '0rc2'

tests/tensor/test_extra_ops.py:848: ValueError
______________ ERROR at setup of TestUniqueAxis.test_basic_matrix ______________

self = <tests.tensor.test_extra_ops.TestUniqueAxis object at 0x7fcb4f254fa0>

    def setup_method(self):
        super().setup_method()
>       numpy_ver = tuple([int(n) for n in np.__version__.split(".")])

tests/tensor/test_extra_ops.py:848: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

.0 = <list_iterator object at 0x7fcb4f254a60>

>   numpy_ver = tuple([int(n) for n in np.__version__.split(".")])
E   ValueError: invalid literal for int() with base 10: '0rc2'

tests/tensor/test_extra_ops.py:848: ValueError
___________ ERROR at setup of TestUniqueAxis.test_infer_shape_vector ___________

self = <tests.tensor.test_extra_ops.TestUniqueAxis object at 0x7fcb4f1399a0>

    def setup_method(self):
        super().setup_method()
>       numpy_ver = tuple([int(n) for n in np.__version__.split(".")])

tests/tensor/test_extra_ops.py:848: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

.0 = <list_iterator object at 0x7fcb4f366640>

>   numpy_ver = tuple([int(n) for n in np.__version__.split(".")])
E   ValueError: invalid literal for int() with base 10: '0rc2'

tests/tensor/test_extra_ops.py:848: ValueError
___________ ERROR at setup of TestUniqueAxis.test_infer_shape_matrix ___________

self = <tests.tensor.test_extra_ops.TestUniqueAxis object at 0x7fcb4f1e1040>

    def setup_method(self):
        super().setup_method()
>       numpy_ver = tuple([int(n) for n in np.__version__.split(".")])

tests/tensor/test_extra_ops.py:848: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

.0 = <list_iterator object at 0x7fcb4f12ed00>

>   numpy_ver = tuple([int(n) for n in np.__version__.split(".")])
E   ValueError: invalid literal for int() with base 10: '0rc2'

tests/tensor/test_extra_ops.py:848: ValueError

Comment 1 Jerry James 2021-01-12 04:24:28 UTC
Fixed in Rawhide.