Skip to content

Commit 7585bf8

Browse files
authored
Update ubuntu CI image to 24.04 (#2571)
* Update ubuntu CI image to 24.04 * Unpin python version in pre-commit config to use default available in system
1 parent 022768d commit 7585bf8

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

.ci/pipeline/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ variables:
4646
jobs:
4747
- job: Lint
4848
pool:
49-
vmImage: 'ubuntu-22.04'
49+
vmImage: 'ubuntu-24.04'
5050
steps:
5151
- template: linting.yml
5252
- job: LinuxCondaRecipe
@@ -58,7 +58,7 @@ jobs:
5858
PYTHON_VERSION: '3.12'
5959
NUMPY_VERSION: '2.1'
6060
pool:
61-
vmImage: 'ubuntu-22.04'
61+
vmImage: 'ubuntu-24.04'
6262
steps:
6363
- template: conda-recipe-lnx.yml
6464
- job: WindowsCondaRecipe
@@ -96,7 +96,7 @@ jobs:
9696
PYTHON_VERSION: '3.13'
9797
SKLEARN_VERSION: '1.6'
9898
pool:
99-
vmImage: 'ubuntu-22.04'
99+
vmImage: 'ubuntu-24.04'
100100
steps:
101101
- template: build-and-test-lnx.yml
102102
- template: codecov-lnx.yml

.ci/pipeline/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ variables:
5353
jobs:
5454
- job: Docs
5555
pool:
56-
vmImage: 'ubuntu-22.04'
56+
vmImage: 'ubuntu-24.04'
5757
steps:
5858
- script: |
5959
bash .ci/scripts/describe_system.sh

.ci/pipeline/nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ variables:
3434
jobs:
3535
- job: Coverity
3636
pool:
37-
vmImage: 'ubuntu-22.04'
37+
vmImage: 'ubuntu-24.04'
3838
steps:
3939
- script: |
4040
cd $(Agent.BuildDirectory)
@@ -58,7 +58,7 @@ jobs:
5858
- job: Jupyter
5959
timeoutInMinutes: 0
6060
pool:
61-
vmImage: 'ubuntu-22.04'
61+
vmImage: 'ubuntu-24.04'
6262
steps:
6363
- script: |
6464
conda config --show channels
@@ -100,7 +100,7 @@ jobs:
100100
PYTHON_VERSION: '3.11'
101101
SKLEARN_VERSION: 'main'
102102
pool:
103-
vmImage: 'ubuntu-22.04'
103+
vmImage: 'ubuntu-24.04'
104104
steps:
105105
- template: build-and-test-lnx.yml
106106
- job: WindowsNightly

.ci/scripts/gen_release_jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def collect_azp_CI_OS_images(file=f".ci{os.sep}pipeline{os.sep}ci.yml"):
5656
"""Attempt to centralize the supported version from the azp CI pipeline, which
5757
represents the currently tested versions in Azure Pipelines."""
5858
regex = r"(?<=vmImage: ').*(?=')"
59-
sysdefaults = ["ubuntu-22.04", "windows-2022"]
59+
sysdefaults = ["ubuntu-24.04", "windows-2022"]
6060
if os.path.isfile(file):
6161
with open(file, "r") as f:
6262
# find unique values with set

.pre-commit-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@ repos:
1919
rev: 24.10.0
2020
hooks:
2121
- id: black
22-
language_version: python3.10
2322
- repo: https://github.com/PyCQA/isort
2423
rev: 5.13.2
2524
hooks:
2625
- id: isort
27-
language_version: python3.10
2826
- repo: https://github.com/pre-commit/mirrors-clang-format
2927
rev: v14.0.6
3028
hooks:

0 commit comments

Comments
 (0)