Skip to content

Commit e81cffa

Browse files
committed
ci: fix tests on macOS 14 + Python 3.9
Avoid compiling pyobjc-core and requiring a compiler for this specific combination. We now use the precompiled pyobjc wheel (<=11.0) to avoid the issue.
1 parent 681291d commit e81cffa

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/pytest.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ jobs:
3434
echo "DYLD_LIBRARY_PATH=$(brew --prefix libsodium)/lib" >> $GITHUB_ENV
3535
if: runner.os == 'macOS'
3636
37+
# Workaround to avoid building pyobjc-core on macOS14 + Python 3.9. Support for Python 3.9 will be dropped
38+
# once we support a more recent version of Python on functions.
39+
- name: Avoid building pyobjc-core on macOS+Py3.9
40+
if: runner.os == 'macOS' && matrix.python-version == '3.9'
41+
run: |
42+
echo "pyobjc-core<12" > /tmp/constraints.txt
43+
echo "PIP_CONSTRAINT=/tmp/constraints.txt" >> $GITHUB_ENV
44+
3745
- name: "Install Hatch"
3846
run: |
3947
python3 -m venv /tmp/venv

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# aleph-sdk-python
2+
# aleph-sdk-python
33
Python SDK for the Aleph.im network, next generation network of decentralized big data applications.
44

55
Development follows the [Aleph Whitepaper](https://github.com/aleph-im/aleph-whitepaper).

0 commit comments

Comments
 (0)