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
8 changes: 0 additions & 8 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ blocks:
- name: Build
commands:
- sem-version python 3.11
- PYTHON_VERSION=$(pyenv versions --bare | grep '^3.11' | head -n1)
- export PATH="$(pyenv root)/versions/$PYTHON_VERSION/bin:$PATH"
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse 2.16.2
- tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
- artifact push workflow wheelhouse-macOS-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/
Expand All @@ -57,8 +55,6 @@ blocks:
- name: Build
commands:
- sem-version python 3.11
- PYTHON_VERSION=$(pyenv versions --bare | grep '^3.11' | head -n1)
- export PATH="$(pyenv root)/versions/$PYTHON_VERSION/bin:$PATH"
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse
- tar -czf wheelhouse-macOS-${ARCH}-py313.tgz wheelhouse
- artifact push workflow wheelhouse-macOS-${ARCH}-py313.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}-py313.tgz/
Expand All @@ -81,8 +77,6 @@ blocks:
- name: Build
commands:
- sem-version python 3.11
- PYTHON_VERSION=$(pyenv versions --bare | grep '^3.11' | head -n1)
- export PATH="$(pyenv root)/versions/$PYTHON_VERSION/bin:$PATH"
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse 2.16.2
- tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
- artifact push workflow wheelhouse-macOS-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/
Expand All @@ -109,8 +103,6 @@ blocks:
- name: Build
commands:
- sem-version python 3.11
- PYTHON_VERSION=$(pyenv versions --bare | grep '^3.11' | head -n1)
- export PATH="$(pyenv root)/versions/$PYTHON_VERSION/bin:$PATH"
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse
- tar -czf wheelhouse-macOS-${ARCH}-py313.tgz wheelhouse
- artifact push workflow wheelhouse-macOS-${ARCH}-py313.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}-py313.tgz/
Expand Down
3 changes: 3 additions & 0 deletions tools/wheels/build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ $this_dir/install-librdkafka.sh $librdkafka_version dest

install_pkgs=cibuildwheel==$cibuildwheel_version

# Ensure we have pip installed if using uv
uv pip install pip || true

python3 -m pip install ${PIP_INSTALL_OPTS} $install_pkgs ||
pip3 install ${PIP_INSTALL_OPTS} $install_pkgs

Expand Down