alidist icon indicating copy to clipboard operation
alidist copied to clipboard

ARM: Bump hdf5, numpy, scipy, Keras/tf and pandas

Open singiamtel opened this issue 1 year ago • 2 comments

The CI for ARM is complaining about tensorflow, had to bump some versions. Tested on pip 21.2.3 and Python 3.9.18

@mfasDa do you agree with the changes? (follow-up to #5539)

Closes #5524 and #5525 too

The error:

2024-07-09@12:48:57:DEBUG:Python-modules:Python-modules:slc9_aarch64: Collecting Keras==2.7.0
2024-07-09@12:48:57:DEBUG:Python-modules:Python-modules:slc9_aarch64:   Downloading keras-2.7.0-py2.py3-none-any.whl (1.3 MB)
2024-07-09@12:48:57:DEBUG:Python-modules:Python-modules:slc9_aarch64:      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 22.1 MB/s eta 0:00:00
2024-07-09@12:48:57:DEBUG:Python-modules:Python-modules:slc9_aarch64: ERROR: Could not find a version that satisfies the requirement tensorflow==2.7.1 (from versions: 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0, 2.11.1, 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0, 2.15.1, 2.16.0rc0, 2.16.1, 2.16.2, 2.17.0rc0, 2.17.0rc1)
2024-07-09@12:48:57:DEBUG:Python-modules:Python-modules:slc9_aarch64: ERROR: No matching distribution found for tensorflow==2.7.1

singiamtel avatar Jul 09 '24 12:07 singiamtel

@singiamtel As discussed in the other PR I am also in favour of bumping to newer versions of sklearn, numpy, pandas, tensorflow and Keras, I just did the minimal changes to get tensorflow back in for older python versions, and leave the aligned version bump to you.

mfasDa avatar Jul 09 '24 13:07 mfasDa

For what it's worth, this PR bypasses the same problem https://github.com/alisw/alidist/pull/5459

singiamtel avatar Jul 09 '24 14:07 singiamtel

@singiamtel Looks like we are missing a -DHDF5_DIR=... or something like that. Could you take a look?

ktf avatar Jul 24 '24 07:07 ktf

@singiamtel it looks like it's still broken.

ktf avatar Jul 24 '24 15:07 ktf

Ok, fixed now.

ktf avatar Jul 25 '24 14:07 ktf

Errors on ARM are the next issue to support the platform. Merging this.

ktf avatar Jul 25 '24 20:07 ktf