try to fix mac build mysql lib install issue with poetry (#987)

* try to fix mac build mysql lib install issue with poetry

* put 8.0 in normal location

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
This commit is contained in:
Kevin Burnett 2024-02-07 09:52:02 -08:00 committed by GitHub
parent cdfda1989b
commit cf03d6e8a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -175,8 +175,10 @@ jobs:
- name: Install mysqlclient lib dependencies - name: Install mysqlclient lib dependencies
if: matrix.os == 'macos-latest' if: matrix.os == 'macos-latest'
# mysql 8.3 causes failure in poetry install so pin to 8.0. https://github.com/feast-dev/feast/issues/3916
# 8.0 is keg-only, so we have to force link it in order for pkg-config and everything to find it.
run: | run: |
brew install mysql pkg-config brew install mysql@8.0 pkg-config && brew link mysql@8.0
- name: Run Session - name: Run Session
run: | run: |