File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 87
87
/pulsar-client-python/pkg/test-wheel.sh
88
88
89
89
- name : Upload artifacts
90
- uses : actions/upload-artifact@v3
90
+ uses : actions/upload-artifact@v4
91
91
with :
92
92
name : wheel-${{matrix.image.name}}-py${{matrix.python.version}}-${{matrix.cpu.platform}}
93
93
path : wheelhouse/*.whl
@@ -115,7 +115,7 @@ jobs:
115
115
run : pkg/mac/build-mac-wheels.sh ${{matrix.py.version}} ${{matrix.py.version_long}}
116
116
117
117
- name : Upload artifacts
118
- uses : actions/upload-artifact@v3
118
+ uses : actions/upload-artifact@v4
119
119
with :
120
120
name : wheel-mac-py${{matrix.py.version}}
121
121
path : dist/*.whl
@@ -179,7 +179,7 @@ jobs:
179
179
python -c 'import pulsar; c = pulsar.Client("pulsar://localhost:6650"); c.close()'
180
180
181
181
- name : Upload artifacts
182
- uses : actions/upload-artifact@v3
182
+ uses : actions/upload-artifact@v4
183
183
with :
184
184
name : wheel-windows-py${{matrix.python.version}}
185
185
path : dist/*.whl
Original file line number Diff line number Diff line change 52
52
PYTHON_VERSION=$1
53
53
PYTHON_VERSION_LONG=$2
54
54
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
56
57
pushd $CACHE_DIR
57
58
58
59
# We need to build OpenSSL from source to have universal2 binaries
@@ -99,6 +100,7 @@ if [ ! -f Python-${PYTHON_VERSION_LONG}/.done ]; then
99
100
tar xfz Python-${PYTHON_VERSION_LONG} .tgz
100
101
101
102
pushd Python-${PYTHON_VERSION_LONG}
103
+ export CFLAGS=" -fPIC -O3"
102
104
./configure --prefix=$PREFIX --enable-shared --enable-universalsdk --with-universal-archs=universal2 --with-openssl=$PREFIX
103
105
make -j16
104
106
make install
You can’t perform that action at this time.
0 commit comments