File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 8787 /pulsar-client-python/pkg/test-wheel.sh
8888
8989 - name : Upload artifacts
90- uses : actions/upload-artifact@v3
90+ uses : actions/upload-artifact@v4
9191 with :
9292 name : wheel-${{matrix.image.name}}-py${{matrix.python.version}}-${{matrix.cpu.platform}}
9393 path : wheelhouse/*.whl
@@ -115,7 +115,7 @@ jobs:
115115 run : pkg/mac/build-mac-wheels.sh ${{matrix.py.version}} ${{matrix.py.version_long}}
116116
117117 - name : Upload artifacts
118- uses : actions/upload-artifact@v3
118+ uses : actions/upload-artifact@v4
119119 with :
120120 name : wheel-mac-py${{matrix.py.version}}
121121 path : dist/*.whl
@@ -179,7 +179,7 @@ jobs:
179179 python -c 'import pulsar; c = pulsar.Client("pulsar://localhost:6650"); c.close()'
180180
181181 - name : Upload artifacts
182- uses : actions/upload-artifact@v3
182+ uses : actions/upload-artifact@v4
183183 with :
184184 name : wheel-windows-py${{matrix.python.version}}
185185 path : dist/*.whl
Original file line number Diff line number Diff line change 5252PYTHON_VERSION=$1
5353PYTHON_VERSION_LONG=$2
5454
55- MACOSX_DEPLOYMENT_TARGET=13
55+ # When building Python from source, it will read this environment variable to determine the minimum supported macOS version
56+ export MACOSX_DEPLOYMENT_TARGET=13
5657pushd $CACHE_DIR
5758
5859# We need to build OpenSSL from source to have universal2 binaries
@@ -99,6 +100,7 @@ if [ ! -f Python-${PYTHON_VERSION_LONG}/.done ]; then
99100 tar xfz Python-${PYTHON_VERSION_LONG} .tgz
100101
101102 pushd Python-${PYTHON_VERSION_LONG}
103+ export CFLAGS=" -fPIC -O3"
102104 ./configure --prefix=$PREFIX --enable-shared --enable-universalsdk --with-universal-archs=universal2 --with-openssl=$PREFIX
103105 make -j16
104106 make install
You can’t perform that action at this time.
0 commit comments