Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
5ea8e013
Unverified
Commit
5ea8e013
authored
Feb 08, 2023
by
Omkar Salpekar
Committed by
GitHub
Feb 08, 2023
Browse files
Windows Python 3.11 Support in CircleCI (#7199)
parent
378a3274
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
132 additions
and
2 deletions
+132
-2
.circleci/config.yml
.circleci/config.yml
+123
-0
.circleci/regenerate.py
.circleci/regenerate.py
+9
-2
No files found.
.circleci/config.yml
View file @
5ea8e013
...
@@ -1159,6 +1159,11 @@ workflows:
...
@@ -1159,6 +1159,11 @@ workflows:
python_version
:
'
3.9'
python_version
:
'
3.9'
-
binary_win_wheel
:
-
binary_win_wheel
:
cu_version
:
cpu
cu_version
:
cpu
filters
:
branches
:
only
:
main
tags
:
only
:
/v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name
:
binary_win_wheel_py3.10_cpu
name
:
binary_win_wheel_py3.10_cpu
python_version
:
'
3.10'
python_version
:
'
3.10'
-
binary_win_wheel
:
-
binary_win_wheel
:
...
@@ -1172,8 +1177,30 @@ workflows:
...
@@ -1172,8 +1177,30 @@ workflows:
python_version
:
'
3.10'
python_version
:
'
3.10'
-
binary_win_wheel
:
-
binary_win_wheel
:
cu_version
:
cu118
cu_version
:
cu118
filters
:
branches
:
only
:
main
tags
:
only
:
/v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name
:
binary_win_wheel_py3.10_cu118
name
:
binary_win_wheel_py3.10_cu118
python_version
:
'
3.10'
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
:
-
binary_win_conda
:
cu_version
:
cpu
cu_version
:
cpu
filters
:
filters
:
...
@@ -1230,6 +1257,11 @@ workflows:
...
@@ -1230,6 +1257,11 @@ workflows:
python_version
:
'
3.9'
python_version
:
'
3.9'
-
binary_win_conda
:
-
binary_win_conda
:
cu_version
:
cpu
cu_version
:
cpu
filters
:
branches
:
only
:
main
tags
:
only
:
/v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name
:
binary_win_conda_py3.10_cpu
name
:
binary_win_conda_py3.10_cpu
python_version
:
'
3.10'
python_version
:
'
3.10'
-
binary_win_conda
:
-
binary_win_conda
:
...
@@ -1243,6 +1275,11 @@ workflows:
...
@@ -1243,6 +1275,11 @@ workflows:
python_version
:
'
3.10'
python_version
:
'
3.10'
-
binary_win_conda
:
-
binary_win_conda
:
cu_version
:
cu118
cu_version
:
cu118
filters
:
branches
:
only
:
main
tags
:
only
:
/v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name
:
binary_win_conda_py3.10_cu118
name
:
binary_win_conda_py3.10_cu118
python_version
:
'
3.10'
python_version
:
'
3.10'
-
build_docs
:
-
build_docs
:
...
@@ -1309,6 +1346,15 @@ workflows:
...
@@ -1309,6 +1346,15 @@ workflows:
-
nightly
-
nightly
name
:
unittest_linux_gpu_py3.10
name
:
unittest_linux_gpu_py3.10
python_version
:
'
3.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
:
-
unittest_windows_cpu
:
cu_version
:
cpu
cu_version
:
cpu
name
:
unittest_windows_cpu_py3.8
name
:
unittest_windows_cpu_py3.8
...
@@ -1321,6 +1367,10 @@ workflows:
...
@@ -1321,6 +1367,10 @@ workflows:
cu_version
:
cpu
cu_version
:
cpu
name
:
unittest_windows_cpu_py3.10
name
:
unittest_windows_cpu_py3.10
python_version
:
'
3.10'
python_version
:
'
3.10'
-
unittest_windows_cpu
:
cu_version
:
cpu
name
:
unittest_windows_cpu_py3.11
python_version
:
'
3.11'
-
unittest_windows_gpu
:
-
unittest_windows_gpu
:
cu_version
:
cu117
cu_version
:
cu117
name
:
unittest_windows_gpu_py3.8
name
:
unittest_windows_gpu_py3.8
...
@@ -1343,6 +1393,15 @@ workflows:
...
@@ -1343,6 +1393,15 @@ workflows:
-
nightly
-
nightly
name
:
unittest_windows_gpu_py3.10
name
:
unittest_windows_gpu_py3.10
python_version
:
'
3.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
:
-
unittest_macos_cpu
:
cu_version
:
cpu
cu_version
:
cpu
name
:
unittest_macos_cpu_py3.8
name
:
unittest_macos_cpu_py3.8
...
@@ -1355,6 +1414,10 @@ workflows:
...
@@ -1355,6 +1414,10 @@ workflows:
cu_version
:
cpu
cu_version
:
cpu
name
:
unittest_macos_cpu_py3.10
name
:
unittest_macos_cpu_py3.10
python_version
:
'
3.10'
python_version
:
'
3.10'
-
unittest_macos_cpu
:
cu_version
:
cpu
name
:
unittest_macos_cpu_py3.11
python_version
:
'
3.11'
cmake
:
cmake
:
jobs
:
jobs
:
...
@@ -1609,6 +1672,66 @@ workflows:
...
@@ -1609,6 +1672,66 @@ workflows:
requires
:
requires
:
-
nightly_binary_win_wheel_py3.10_cu118
-
nightly_binary_win_wheel_py3.10_cu118
subfolder
:
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
:
-
binary_win_conda
:
cu_version
:
cpu
cu_version
:
cpu
filters
:
filters
:
...
...
.circleci/regenerate.py
View file @
5ea8e013
...
@@ -21,7 +21,7 @@ import yaml
...
@@ -21,7 +21,7 @@ import yaml
from
jinja2
import
select_autoescape
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]+/"
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,
...
@@ -62,7 +62,7 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
# Disable all Linux Wheels Workflows from CircleCI
# Disable all Linux Wheels Workflows from CircleCI
# since those will now be done through Nova. We'll keep
# 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.
# job depends on it.
if
os_type
==
"linux"
and
btype
==
"wheel"
:
if
os_type
==
"linux"
and
btype
==
"wheel"
:
if
not
(
python_version
==
"3.8"
and
cu_version
==
"cpu"
):
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,
...
@@ -76,6 +76,13 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
if
os_type
!=
"win"
and
btype
==
"conda"
:
if
os_type
!=
"win"
and
btype
==
"conda"
:
continue
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
(
w
+=
workflow_pair
(
btype
,
os_type
,
python_version
,
cu_version
,
unicode
,
prefix
,
upload
,
filter_branch
=
fb
btype
,
os_type
,
python_version
,
cu_version
,
unicode
,
prefix
,
upload
,
filter_branch
=
fb
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment