"test/vscode:/vscode.git/clone" did not exist on "946b180af66971b3252bf0de1d117d72c68ee201"
Unverified Commit 5ea8e013 authored by Omkar Salpekar's avatar Omkar Salpekar Committed by GitHub
Browse files

Windows Python 3.11 Support in CircleCI (#7199)

parent 378a3274
......@@ -1159,6 +1159,11 @@ workflows:
python_version: '3.9'
- binary_win_wheel:
cu_version: cpu
filters:
branches:
only: main
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.10_cpu
python_version: '3.10'
- binary_win_wheel:
......@@ -1172,8 +1177,30 @@ workflows:
python_version: '3.10'
- binary_win_wheel:
cu_version: cu118
filters:
branches:
only: main
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.10_cu118
python_version: '3.10'
- binary_win_wheel:
cu_version: cpu
name: binary_win_wheel_py3.11_cpu
python_version: '3.11'
- binary_win_wheel:
cu_version: cu117
filters:
branches:
only: main
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.11_cu117
python_version: '3.11'
- binary_win_wheel:
cu_version: cu118
name: binary_win_wheel_py3.11_cu118
python_version: '3.11'
- binary_win_conda:
cu_version: cpu
filters:
......@@ -1230,6 +1257,11 @@ workflows:
python_version: '3.9'
- binary_win_conda:
cu_version: cpu
filters:
branches:
only: main
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.10_cpu
python_version: '3.10'
- binary_win_conda:
......@@ -1243,6 +1275,11 @@ workflows:
python_version: '3.10'
- binary_win_conda:
cu_version: cu118
filters:
branches:
only: main
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.10_cu118
python_version: '3.10'
- build_docs:
......@@ -1309,6 +1346,15 @@ workflows:
- nightly
name: unittest_linux_gpu_py3.10
python_version: '3.10'
- unittest_linux_gpu:
cu_version: cu117
filters:
branches:
only:
- main
- nightly
name: unittest_linux_gpu_py3.11
python_version: '3.11'
- unittest_windows_cpu:
cu_version: cpu
name: unittest_windows_cpu_py3.8
......@@ -1321,6 +1367,10 @@ workflows:
cu_version: cpu
name: unittest_windows_cpu_py3.10
python_version: '3.10'
- unittest_windows_cpu:
cu_version: cpu
name: unittest_windows_cpu_py3.11
python_version: '3.11'
- unittest_windows_gpu:
cu_version: cu117
name: unittest_windows_gpu_py3.8
......@@ -1343,6 +1393,15 @@ workflows:
- nightly
name: unittest_windows_gpu_py3.10
python_version: '3.10'
- unittest_windows_gpu:
cu_version: cu117
filters:
branches:
only:
- main
- nightly
name: unittest_windows_gpu_py3.11
python_version: '3.11'
- unittest_macos_cpu:
cu_version: cpu
name: unittest_macos_cpu_py3.8
......@@ -1355,6 +1414,10 @@ workflows:
cu_version: cpu
name: unittest_macos_cpu_py3.10
python_version: '3.10'
- unittest_macos_cpu:
cu_version: cpu
name: unittest_macos_cpu_py3.11
python_version: '3.11'
cmake:
jobs:
......@@ -1609,6 +1672,66 @@ workflows:
requires:
- nightly_binary_win_wheel_py3.10_cu118
subfolder: cu118/
- binary_win_wheel:
cu_version: cpu
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.11_cpu
python_version: '3.11'
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.11_cpu_upload
requires:
- nightly_binary_win_wheel_py3.11_cpu
subfolder: cpu/
- binary_win_wheel:
cu_version: cu117
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.11_cu117
python_version: '3.11'
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.11_cu117_upload
requires:
- nightly_binary_win_wheel_py3.11_cu117
subfolder: cu117/
- binary_win_wheel:
cu_version: cu118
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.11_cu118
python_version: '3.11'
- binary_wheel_upload:
context: org-member
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.11_cu118_upload
requires:
- nightly_binary_win_wheel_py3.11_cu118
subfolder: cu118/
- binary_win_conda:
cu_version: cpu
filters:
......
......@@ -21,7 +21,7 @@ import yaml
from jinja2 import select_autoescape
PYTHON_VERSIONS = ["3.8", "3.9", "3.10"]
PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11"]
RC_PATTERN = r"/v[0-9]+(\.[0-9]+)*-rc[0-9]+/"
......@@ -62,7 +62,7 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
# Disable all Linux Wheels Workflows from CircleCI
# since those will now be done through Nova. We'll keep
# around the py3.8 cpu Linux Wheels build since the docs
# around the py3.8 CPU Linux Wheels build since the docs
# job depends on it.
if os_type == "linux" and btype == "wheel":
if not (python_version == "3.8" and cu_version == "cpu"):
......@@ -76,6 +76,13 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
if os_type != "win" and btype == "conda":
continue
# Not supporting Python 3.11 conda packages at the
# moment since the necessary dependencies are not
# available. Windows 3.11 Wheels will be built from
# CircleCI here, however.
if python_version == "3.11" and btype == "conda":
continue
w += workflow_pair(
btype, os_type, python_version, cu_version, unicode, prefix, upload, filter_branch=fb
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment