Ah, another one of those erroneously sent messages with the wrong sender tag. I blame Thunderbird. Sorry. The message was in the moderation queue, someone approved it, now. Sorry. Am 05.04.21 um 18:37 schrieb factory@lists.opensuse.org (<-- that was actually me):
Am 05.04.21 um 13:22 schrieb Ben Greiner:
Hi,
Am 05.04.21 um 00:02 schrieb DimStar / Dominique Leuenberger:
Dear Package maintainers and hackers.
Below package(s) in openSUSE:Factory have been failing to build for at least 4 weeks. - python-Keras
The current test suite failure would easy to fix. It does not find any keras in the multibuild environment so just BuildRequire it. With that fixed the test suite produces a bunch of additional errors, also with an update to PyPI provided 2.4.3:
[ 189s] = 96 failed, 623 passed, 15 skipped, 140 warnings, 2 errors in 179.32s (0:02:59) =
Keras is supposed to come with tensorflow2 nowadays: https://keras.io/about/
I checked the tensorflow2 rpm. It is in there. Same with python-Keras-Applications and python-Keras-Preprocessing.
https://build.opensuse.org/request/show/883023 https://build.opensuse.org/request/show/883024 https://build.opensuse.org/request/show/883025
AFAICT the python modules of tensorflow2 are not checked for functionality during the build. I don't dare to touch the tensorflow2 specfile beyond
Nah, my naive approach doesn't work. keras and keras_applications is indeed packaged within tensorflow2. keras_preprocessing is not. And I didn't take tensorflow v1 into account.
So the current state is this: tensorflow2 brings tf.keras and tf.keras.applications, but needs keras_preprocessing. tensorflow 1, multi-backend Keras (python-Keras), and python-Keras-Applications don't work with numpy 1.20 and tensorflow 2.4 in Tumbleweed. So they need to be removed together. https://build.opensuse.org/request/show/884728 https://build.opensuse.org/request/show/884667 https://build.opensuse.org/request/show/884730 From there on, Tumbleweed has tensorflow 2 only. Cheers, Ben