Skip to content

Commit

Permalink
ci: wheel build for mac os x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
pacman82 committed Dec 9, 2024
1 parent 397c8d4 commit f6dfc9e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
Binary file removed .github/workflows/os-x-wheels.yml
Binary file not shown.
11 changes: 7 additions & 4 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,21 @@ jobs:
twine upload --skip-existing -u __token__ -p "${{ secrets.PYPI_API_TOKEN }}" dist/*
macos-x86-wheel:
runs-on: macos-12
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
# In order to build for x86_64 we lean into the cross build support of maturin
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: x86_64
args: --release --out dist --find-interpreter
- name: Publish package
run: |
python -m pip install --upgrade pip
python -m pip install build
python -m build
pip install twine
twine upload --skip-existing -u __token__ -p "${{ secrets.PYPI_API_TOKEN }}" dist/*
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 8.0.7

- Fix: build wheel for Mac OS on x86-64 architecture

## 8.0.6

- Due to a typo `8.0.3` had been released as `8.0.5`. `8.0.6` releases without any changes, and realigns version number of Changelog, wheel and git tag.
Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = "Markus Klein"

# The full version, including alpha/beta/rc tags
release = "8.0.6"
release = "8.0.7"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "arrow-odbc"
authors = [{name = "Markus Klein"}]
description="Read the data of an ODBC data source as sequence of Apache Arrow record batches."
readme = "README.md"
version = "8.0.6"
version = "8.0.7"
# cffi: for communicating with Rust
# pyarrow: to create pyarrow arrays out of the c representation
dependencies = ["cffi", "pyarrow >= 8.0.0"]
Expand Down

0 comments on commit f6dfc9e

Please sign in to comment.