[ci] Pin release-2.1 Python compatibility runner to Ubuntu 24.04
diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml
index 84f41a0..2a15465 100644
--- a/.github/workflows/ci-python.yml
+++ b/.github/workflows/ci-python.yml
@@ -241,7 +241,8 @@
   compatibility:
     name: Package and Ray compatibility
     timeout-minutes: 60
-    runs-on: ubuntu-latest
+    # setup-python provides Python 3.9 builds for Ubuntu 24.04, not 26.04.
+    runs-on: ubuntu-24.04
     steps:
       - name: Checkout code
         uses: actions/checkout@v6