File tree Expand file tree Collapse file tree 3 files changed +18
-14
lines changed Expand file tree Collapse file tree 3 files changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -84,15 +84,11 @@ commands:
84
84
- $GITHUB_WORKSPACE
85
85
key : v1-verified-codemod-repos-{{ checksum "tests/integration/verified_codemods/codemod_data/repo_commits.json" }}-{{.Environment.CIRCLE_NODE_INDEX}}-{{.Environment.CIRCLE_NODE_TOTAL}}
86
86
build-wheels :
87
- parameters :
88
- base_packages :
89
- type : boolean
90
- default : false
91
87
steps :
92
88
- install-uv
93
89
- restore_cache :
94
90
keys :
95
- - cibuildwheel-cache-<<pipeline.parameters.python_version>>-{{ .Environment.CIRCLE_JOB }}-{{ checksum "uv.lock" }}--{{ checksum "pyproject.toml" }}
91
+ - cibuildwheel-cache-<<pipeline.parameters.python_version>>-{{ .Environment.CIRCLE_JOB }}-{{ checksum "uv.lock" }}--{{ checksum "pyproject.toml" }}-{{ arch }}
96
92
- run :
97
93
command : |
98
94
uv run --frozen cibuildwheel --output-dir dist
@@ -102,7 +98,7 @@ commands:
102
98
- save_cache :
103
99
paths :
104
100
- /home/circleci/.cache/cibuildwheel
105
- key : cibuildwheel-cache-<<pipeline.parameters.python_version>>-{{ .Environment.CIRCLE_JOB }}-{{ checksum "uv.lock" }}--{{ checksum "pyproject.toml" }}
101
+ key : cibuildwheel-cache-<<pipeline.parameters.python_version>>-{{ .Environment.CIRCLE_JOB }}-{{ checksum "uv.lock" }}--{{ checksum "pyproject.toml" }}-{{ arch }}
106
102
setup-uv :
107
103
steps :
108
104
- install-lfs
@@ -339,18 +335,14 @@ jobs:
339
335
resource_class :
340
336
type : string
341
337
default : " large"
342
- base_packages :
343
- type : boolean
344
- default : false
345
338
working_directory : ~/linux-wheels
346
339
machine :
347
340
image : ubuntu-2404:2024.05.1
348
341
docker_layer_caching : true
349
342
resource_class : <<parameters.resource_class>>
350
343
steps :
351
344
- checkout
352
- - build-wheels :
353
- base_packages : << parameters.base_packages >>
345
+ - build-wheels
354
346
- persist_to_workspace :
355
347
root : .
356
348
paths :
@@ -503,7 +495,10 @@ workflows:
503
495
filters :
504
496
tags :
505
497
only : /^v.*/
506
- base_packages : true
498
+ matrix :
499
+ parameters :
500
+ resource_class : [large, arm.large]
501
+
507
502
- osx-wheels :
508
503
filters :
509
504
tags :
Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ We support
46
46
47
47
- Running Codegen in Python 3.12 – 3.13
48
48
- macOS and Linux
49
- - We develop on macOS but our testing and production environments are Linux
49
+ - macOS is supported on Apple Silicon
50
+ - Linux is supported on x86_64 and aarch64 with glibc 2.34+
50
51
- Windows is not supported
51
52
- Python, Typescript, Javascript and React codebases
52
53
Original file line number Diff line number Diff line change @@ -226,7 +226,15 @@ python-levenshtein = ["Levenshtein"]
226
226
PyGithub = [" github" ]
227
227
[tool .cibuildwheel ]
228
228
build-frontend = " build[uv]"
229
- skip = [" *-musllinux_i686" , " *-manylinux_i686" , " *-musllinux_x86_64" ]
229
+ skip = [
230
+ " *-musllinux_i686" ,
231
+ " *-manylinux_i686" ,
232
+ " *-musllinux_x86_64" ,
233
+ " *-musllinux_aarch64" ,
234
+ ]
230
235
environment = { "HATCH_BUILD_HOOKS_ENABLE" = " true" }
231
236
manylinux-x86_64-image = " quay.io/pypa/manylinux_2_34_x86_64"
232
237
manylinux-aarch64-image = " quay.io/pypa/manylinux_2_34_aarch64"
238
+ [tool .cibuildwheel .linux ]
239
+ before-all = " curl -sSf https://sh.rustup.rs | sh -s -- -y"
240
+ environment = { "PATH" = " $HOME/.cargo/bin:$PATH" }
You can’t perform that action at this time.
0 commit comments