File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 57
57
with :
58
58
repo-token : ${{ secrets.GITHUB_TOKEN }}
59
59
version : 23.x
60
+ - name : Install Python headers
61
+ run : yum install -y python3.11-devel
60
62
- env : {}
61
63
name : Build wheels
62
64
run : ./pants run src/python/pants_release/release.py -- build-wheels
Original file line number Diff line number Diff line change @@ -376,6 +376,8 @@ jobs:
376
376
with :
377
377
repo-token : ${{ secrets.GITHUB_TOKEN }}
378
378
version : 23.x
379
+ - name : Install Python headers
380
+ run : yum install -y python3.11-devel
379
381
- env : {}
380
382
name : Build wheels
381
383
run : ./pants run src/python/pants_release/release.py -- build-wheels
Original file line number Diff line number Diff line change @@ -366,6 +366,13 @@ def install_go() -> Step:
366
366
}
367
367
368
368
369
+ def install_python_headers_in_manylinux_container () -> Step :
370
+ return {
371
+ "name" : "Install Python headers" ,
372
+ "run" : "yum install -y python3.11-devel" ,
373
+ }
374
+
375
+
369
376
# NOTE: Any updates to the version of arduino/setup-protoc will require an audit of the updated source code to verify
370
377
# nothing "bad" has been added to the action. (We pass the user's GitHub secret to the action in order to avoid the
371
378
# default GitHub rate limits when downloading protoc._
@@ -879,7 +886,11 @@ def build_wheels_job(
879
886
"steps" : [
880
887
* initial_steps ,
881
888
install_protoc (), # for prost crate
882
- * ([] if platform == Platform .LINUX_ARM64 else [install_go ()]),
889
+ * (
890
+ [install_python_headers_in_manylinux_container ()]
891
+ if platform == Platform .LINUX_ARM64
892
+ else [install_go ()]
893
+ ),
883
894
{
884
895
"name" : "Build wheels" ,
885
896
"run" : "./pants run src/python/pants_release/release.py -- build-wheels" ,
You can’t perform that action at this time.
0 commit comments