Skip to content

Commit 5ea8e01

Browse files
authored
Windows Python 3.11 Support in CircleCI (#7199)
1 parent 378a327 commit 5ea8e01

File tree

2 files changed

+132
-2
lines changed

2 files changed

+132
-2
lines changed

.circleci/config.yml

Lines changed: 123 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/regenerate.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from jinja2 import select_autoescape
2222

2323

24-
PYTHON_VERSIONS = ["3.8", "3.9", "3.10"]
24+
PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11"]
2525

2626
RC_PATTERN = r"/v[0-9]+(\.[0-9]+)*-rc[0-9]+/"
2727

@@ -62,7 +62,7 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
6262

6363
# Disable all Linux Wheels Workflows from CircleCI
6464
# since those will now be done through Nova. We'll keep
65-
# around the py3.8 cpu Linux Wheels build since the docs
65+
# around the py3.8 CPU Linux Wheels build since the docs
6666
# job depends on it.
6767
if os_type == "linux" and btype == "wheel":
6868
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,
7676
if os_type != "win" and btype == "conda":
7777
continue
7878

79+
# Not supporting Python 3.11 conda packages at the
80+
# moment since the necessary dependencies are not
81+
# available. Windows 3.11 Wheels will be built from
82+
# CircleCI here, however.
83+
if python_version == "3.11" and btype == "conda":
84+
continue
85+
7986
w += workflow_pair(
8087
btype, os_type, python_version, cu_version, unicode, prefix, upload, filter_branch=fb
8188
)

0 commit comments

Comments
 (0)