Skip to content

Commit fbcb9d2

Browse files
authored
fix: fix build wheel error (#717)
Fixes #718
1 parent 3bfd9c8 commit fbcb9d2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/wheels-common.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
}}
123123
env:
124124
CIBW_BUILD: ${{ needs.determine_python_versions.outputs.cibw_build }}
125-
CIBW_ENVIRONMENT: "NEUG_COMMIT_SHA=${{ github.sha }}"
125+
NEUG_COMMIT_SHA: ${{ github.sha }}
126126
steps:
127127
- name: checkout
128128
id: checkout
@@ -239,7 +239,7 @@ jobs:
239239
}}
240240
env:
241241
CIBW_BUILD: ${{ needs.determine_python_versions.outputs.cibw_build }}
242-
CIBW_ENVIRONMENT: "NEUG_COMMIT_SHA=${{ github.sha }}"
242+
NEUG_COMMIT_SHA: ${{ github.sha }}
243243
steps:
244244
- name: checkout
245245
id: checkout
@@ -343,7 +343,7 @@ jobs:
343343
if: inputs.enable_macos_x86
344344
env:
345345
CIBW_BUILD: ${{ needs.determine_python_versions.outputs.cibw_build }}
346-
CIBW_ENVIRONMENT: "NEUG_COMMIT_SHA=${{ github.sha }}"
346+
NEUG_COMMIT_SHA: ${{ github.sha }}
347347
steps:
348348
- name: checkout
349349
id: checkout
@@ -477,7 +477,7 @@ jobs:
477477
}}
478478
env:
479479
CIBW_BUILD: ${{ needs.determine_python_versions.outputs.cibw_build }}
480-
CIBW_ENVIRONMENT: "NEUG_COMMIT_SHA=${{ github.sha }}"
480+
NEUG_COMMIT_SHA: ${{ github.sha }}
481481
steps:
482482
- name: checkout
483483
id: checkout

tools/python_bind/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ test = [
6565
build = "cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
6666
enable = ["cpython-prerelease"]
6767
skip = ["*-musllinux_*", "*i686*"]
68-
environment-pass = ["BUILD_TYPE", "CMAKE_BUILD_PARALLEL_LEVEL", "CMAKE_PREFIX_PATH", "MACOSX_DEPLOYMENT_TARGET", "PYBIND11_FINDPYTHON", "CI_INSTALL_EXTENSIONS"]
68+
environment-pass = ["BUILD_TYPE", "CMAKE_BUILD_PARALLEL_LEVEL", "CMAKE_PREFIX_PATH", "MACOSX_DEPLOYMENT_TARGET", "PYBIND11_FINDPYTHON", "CI_INSTALL_EXTENSIONS", "NEUG_COMMIT_SHA"]
6969
manylinux-x86_64-image = "neug-registry.cn-hongkong.cr.aliyuncs.com/neug/neug-manylinux:v0.1.3-x86_64"
7070
manylinux-aarch64-image = "neug-registry.cn-hongkong.cr.aliyuncs.com/neug/neug-manylinux:v0.1.3-arm64"
7171

0 commit comments

Comments
 (0)