Skip to content

Commit bdf170f

Browse files
authored
fix: Fix macos wheel version for 310 and also checkout edited go files (feast-dev#2890)
* Fix Signed-off-by: Kevin Zhang <[email protected]> * Fix Signed-off-by: Kevin Zhang <[email protected]> * Test Signed-off-by: Kevin Zhang <[email protected]> * fix Signed-off-by: Kevin Zhang <[email protected]> * Fix Signed-off-by: Kevin Zhang <[email protected]>
1 parent 521488d commit bdf170f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build_wheels.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,13 @@ jobs:
8686
env:
8787
CIBW_BUILD: "cp310-macosx_x86_64"
8888
CIBW_ARCHS: "native"
89+
# Need this environment variable because of this issue: https://github.com/pypa/cibuildwheel/issues/952.
90+
CIBW_ENVIRONMENT: >
91+
_PYTHON_HOST_PLATFORM=macosx-10.15-x86_64
92+
# There's a `git restore` in here because remnant go.mod, go.sum changes from the build mess up the wheel naming.
93+
CIBW_BEFORE_BUILD: |
94+
git status
95+
git restore go.mod go.sum
8996
- uses: actions/upload-artifact@v2
9097
with:
9198
name: wheels

0 commit comments

Comments
 (0)