From 412052b2c7cf09d095528f0f3ea610fe4d75629e Mon Sep 17 00:00:00 2001 From: "Billy K. Poon" Date: Wed, 11 Sep 2024 15:55:48 -0400 Subject: [PATCH] CI: start Python 3.13 syntax check [skip ci] --- .azure-pipelines/syntax.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.azure-pipelines/syntax.yml b/.azure-pipelines/syntax.yml index a0596e20b2..9f1299611b 100644 --- a/.azure-pipelines/syntax.yml +++ b/.azure-pipelines/syntax.yml @@ -22,6 +22,8 @@ jobs: PYTHON_VERSION: 3.11 python3.12: PYTHON_VERSION: 3.12 + python3.13: + PYTHON_VERSION: 3.13 steps: @@ -34,6 +36,15 @@ jobs: - script: | conda create -y -c conda-forge -n py$(PYTHON_VERSION) python=$(PYTHON_VERSION) six future scons displayName: Create conda environment + condition: ne(variables['PYTHON_VERSION'], '3.13') + + - script: | + conda create -y -c conda-forge -c conda-forge/label/python_rc -n py$(PYTHON_VERSION) python=$(PYTHON_VERSION) six future setuptools + conda activate py$(PYTHON_VERSION) + cd $(Pipeline.Workspace)/modules + git clone -b 4.8.1 https://github.com/SCons/scons.git + displayName: Create conda environment + condition: eq(variables['PYTHON_VERSION'], '3.13') - script: | set -xe