Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci-build-release-wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
/pulsar-client-python/pkg/test-wheel.sh

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheel-${{matrix.image.name}}-py${{matrix.python.version}}-${{matrix.cpu.platform}}
path: wheelhouse/*.whl
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
run: pkg/mac/build-mac-wheels.sh ${{matrix.py.version}} ${{matrix.py.version_long}}

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheel-mac-py${{matrix.py.version}}
path: dist/*.whl
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
python -c 'import pulsar; c = pulsar.Client("pulsar://localhost:6650"); c.close()'

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheel-windows-py${{matrix.python.version}}
path: dist/*.whl
4 changes: 3 additions & 1 deletion pkg/mac/build-mac-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ fi
PYTHON_VERSION=$1
PYTHON_VERSION_LONG=$2

MACOSX_DEPLOYMENT_TARGET=13
# When building Python from source, it will read this environment variable to determine the minimum supported macOS version
export MACOSX_DEPLOYMENT_TARGET=13
pushd $CACHE_DIR

# We need to build OpenSSL from source to have universal2 binaries
Expand Down Expand Up @@ -99,6 +100,7 @@ if [ ! -f Python-${PYTHON_VERSION_LONG}/.done ]; then
tar xfz Python-${PYTHON_VERSION_LONG}.tgz

pushd Python-${PYTHON_VERSION_LONG}
export CFLAGS="-fPIC -O3"
./configure --prefix=$PREFIX --enable-shared --enable-universalsdk --with-universal-archs=universal2 --with-openssl=$PREFIX
make -j16
make install
Expand Down
Loading