Skip to content

[CI] Upgrade CI to Python 3.9#17425

Merged
tqchen merged 7 commits intoapache:mainfrom
mshr-h:upgrade-python-3.9
Oct 2, 2024
Merged

[CI] Upgrade CI to Python 3.9#17425
tqchen merged 7 commits intoapache:mainfrom
mshr-h:upgrade-python-3.9

Conversation

@mshr-h
Copy link
Copy Markdown
Contributor

@mshr-h mshr-h commented Sep 28, 2024

Python 3.8 is going to EoL in 2024-10, so it's a good time to move to 3.9. Also, upgrade other dependencies.

Component Current Version Upgraded Version
Python 3.8 3.9
CMake 3.24.0 3.30.4
Caffe 1.0 removed due to build error
Keras 2.9 3.5
TensorFlow 2.9.1 2.17.0
TensorFlow Aarch64 2.9.3 2.16.1
jaxlib 0.4.9 0.4.33
flax 0.6.9 0.8.5
poetry 1.2.0b1 1.8.1

cc @tqchen @yongwww @vinx13

@mshr-h mshr-h marked this pull request as draft September 28, 2024 09:00
@mshr-h mshr-h changed the title [WIP][CI] Upgrade Python to 3.9 [WIP][CI] Upgrade CI Sep 28, 2024
@mshr-h mshr-h force-pushed the upgrade-python-3.9 branch 6 times, most recently from 4c35928 to af6630c Compare September 30, 2024 11:41
@mshr-h mshr-h marked this pull request as ready for review October 1, 2024 08:46
@mshr-h mshr-h changed the title [WIP][CI] Upgrade CI [CI] Upgrade CI Oct 1, 2024
@github-actions github-actions Bot requested review from tqchen and yongwww October 1, 2024 08:48
@mshr-h mshr-h marked this pull request as draft October 1, 2024 11:11
@mshr-h mshr-h force-pushed the upgrade-python-3.9 branch from a6ea9af to 16f677e Compare October 1, 2024 11:39
@mshr-h mshr-h removed request for tqchen and yongwww October 1, 2024 11:39
@mshr-h mshr-h marked this pull request as ready for review October 2, 2024 01:45
@github-actions github-actions Bot requested review from tqchen, vinx13 and yongwww October 2, 2024 01:46
@tqchen tqchen merged commit 5298b12 into apache:main Oct 2, 2024
@tqchen tqchen changed the title [CI] Upgrade CI [CI] Upgrade CI to Python 3.9 Oct 2, 2024
@mshr-h mshr-h deleted the upgrade-python-3.9 branch October 4, 2024 02:18
mshr-h added a commit to mshr-h/tvm that referenced this pull request Oct 22, 2024
change the versions of jax, tensorflow, tflite back to what we've been using before
mshr-h added a commit to mshr-h/tvm that referenced this pull request Oct 22, 2024
change the versions of jax, tensorflow, tflite back to what we've been using before
mshr-h added a commit to mshr-h/tvm that referenced this pull request Oct 22, 2024
change the versions of jax, tensorflow, tflite back to what we've been using before
tqchen pushed a commit that referenced this pull request Oct 22, 2024
…7425  (#17485)

Revert part of  "[CI] Upgrade CI (#17425)"
change the versions of jax, tensorflow, tflite back to what we've been using before
mshr-h added a commit that referenced this pull request Feb 13, 2026
Part of #18682

Python 3.9 is EoL in 2025-10, so it's a good time to move to 3.10. Also,
upgrade other dependencies.

refs:
- #17425

## Personal notes for upgrade

### Docker Base Images and Ubuntu Versions

| Dockerfile | Base Image | Ubuntu Version |
|------------|------------|----------------|
| Dockerfile.ci_arm | `ubuntu:22.04` | **Ubuntu 22.04** |
| Dockerfile.ci_cpu | `ubuntu:22.04` | **Ubuntu 22.04** |
| Dockerfile.ci_gpu | `nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04` |
**Ubuntu 22.04** |
| Dockerfile.ci_lint | `ubuntu:22.04` | **Ubuntu 22.04** |
| Dockerfile.ci_wasm | `ubuntu:22.04` | **Ubuntu 22.04** |

Ubuntu 20.04 LTS is [EoL on
2025/5](https://ubuntu.com/about/release-cycle) so we'll deprecate
ubuntu 20.04 images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants