5 Commits

Author SHA1 Message Date
Masahiro Hiramori 021547febf [CI] Upgrade Python to 3.10 in CI (#18647)
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
2026-02-13 18:58:07 +09:00
Tianqi Chen 1a22b62a59 [CI] Further cleanup CI after merging unity to main test (#18757)
This PR cleans up legacy components in CI that are no longer used. Also
contains minor fix to docker bash
2026-02-11 16:56:59 -05:00
Masahiro Hiramori 5298b1298a [CI] Upgrade CI (#17425)
* upgrade ci
2024-10-02 09:29:48 -04:00
Liam Sturge e6f0a15712 [Bugfix][CI] Fix CacheControl version constraint violation (#15056)
Fix CacheControl version constraint violation

A change introduced in the dependencies of Poetry have introduced a bug
when building Docker containers and running `ubuntu_install_python.sh`.

The problem links back to CacheControl where one of the linked
dependencies is not pinned to a version.

A fix was released for this bug, documented here:
  https://github.com/psf/cachecontrol/issues/311

The suggested solution to the problem is to upgrade to v0.12.14, so this
patch sets the version constraints accordingly.
2023-06-08 09:06:55 +01:00
Andrew Reusch a047e0228a [CI] Always install into a python venv in ci containers (#12663)
This PR changes all ci_ to install TVM Python dependencies in a
virtualenv separate from the system Python dependencies.

 Sets the stage for adding the poetry-based dependency
generator to the CI container build process.

* Always install into a python venv in ci containers.
* Respect Dockerfile ENV PATH modifications in
docker/bash.sh lookups.
2022-09-12 17:23:44 +01:00