Skip to content

Commit

Permalink
higher req for mac-arm
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathf committed Jun 26, 2024
1 parent 4c30ca5 commit 532240c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
python-version: '3.x'

- name: Install Conan
if: matrix.image == 'windows-latest' && steps.cache-conan.outputs.cache-hit != 'true'
if: matrix.platform == 'windows' && steps.cache-conan.outputs.cache-hit != 'true'
run: |
pip install pip --upgrade
pip install conan<2.0.0
Expand All @@ -78,10 +78,18 @@ jobs:
with:
platforms: all

- uses: pypa/[email protected]
- name: Build wheels
if: matrix.platform != 'macos-arm'
uses: pypa/[email protected]
env:
MACOSX_DEPLOYMENT_TARGET: 13.0

- name: Build wheels
if: matrix.platform == 'macos-arm'
uses: pypa/[email protected]
env:
MACOSX_DEPLOYMENT_TARGET: 14.0

- name: Verify clean directory
run: git diff --exit-code
shell: bash
Expand Down
16 changes: 14 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,20 @@ Building the source distributions requires:
pip install -r pyvroom/build-requirements.txt
* Install ``asio`` headers, and ``openssl`` and ``crypto`` libraries and headers.
On Linux and macOS this involve using package managers like ``apt``, ``yum``
or ``brew``. The exact package name may vary a bit between systems.
For mac, this would be::

brew install [email protected]
brew install asio

For RHEL::

yum module enable mariadb-devel:10.3
yum install -y openssl-devel asio

For Musllinux::

apk add asio-dev
apk add openssl-dev

* The installation can then be done with:

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package_dir =
install_requires =
numpy
pandas
python_requires = >=3.7
python_requires = >=3.9
zip_safe = False
include_package_data = True

Expand Down

0 comments on commit 532240c

Please sign in to comment.