@@ -45,11 +45,11 @@ jobs:
4545 strategy :
4646 fail-fast : false
4747 matrix :
48- python-version : ["3.7", "3. 8", "3.9", "3.10", "3.11", "3.12"]
48+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
4949 os : [macos-latest, windows-latest, ubuntu-latest]
5050 steps :
5151 - uses : actions/checkout@v2
52- - uses : actions/setup-python@v2
52+ - uses : actions/setup-python@v5
5353 with :
5454 python-version : ${{ matrix.python-version }}
5555 - name : Run image
@@ -70,14 +70,19 @@ jobs:
7070 if : matrix.os == 'macos-latest'
7171 run : rustup target add aarch64-apple-darwin
7272
73+ - name : Install Rust x86_64-apple-darwin
74+ if : matrix.os == 'macos-latest'
75+ run : rustup target add x86_64-apple-darwin
76+
7377 - name : Build on macOS universal2
7478 if : matrix.os == 'macos-latest'
7579 shell : bash
7680 env :
7781 DEVELOPER_DIR : /Applications/Xcode.app/Contents/Developer
78- MACOSX_DEPLOYMENT_TARGET : " 10.9 "
82+ MACOSX_DEPLOYMENT_TARGET : " 10.15 "
7983 ARCHFLAGS : -arch x86_64 -arch arm64
80- PYO3_CROSS_LIB_DIR : /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib
84+ # PYO3_CROSS_LIB_DIR: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/${{ matrix.python-version }}/lib
85+ PYO3_CROSS_PYTHON_VERSION : ${{ matrix.python-version }}
8186 run : poetry run python setup.py bdist_wheel && poetry install
8287
8388 - name : Build Python package
0 commit comments