Skip to content

Commit d3d1d5a

Browse files
committed
fixes
1 parent 2e06157 commit d3d1d5a

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/wheels.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
CIBW_BUILD: cp39-* cp310-* cp311-* cp312-* cp313-*
4444
CIBW_SKIP: "*-win32 *-manylinux_i686 pp*"
4545
CIBW_ARCHS_MACOS: "x86_64 arm64"
46+
# Set minimum macOS version to match OpenMP requirements
47+
CIBW_ENVIRONMENT_MACOS: >
48+
CMAKE_BUILD_PARALLEL_LEVEL=2
49+
OMP_NUM_THREADS=1
50+
MACOSX_DEPLOYMENT_TARGET=14.0
51+
CMAKE_OSX_DEPLOYMENT_TARGET=14.0
4652
CIBW_ARCHS_LINUX: "x86_64 aarch64"
4753
CIBW_ARCHS_WINDOWS: "AMD64"
4854

python/kalign/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ def write_alignment(
412412

413413
# Use appropriate writer from io module (lazy import to avoid circular imports)
414414
from . import io
415+
415416
if mapped_format == "fasta":
416417
io.write_fasta(sequences, output_file, ids=ids)
417418
elif mapped_format == "clustal":

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ cmake.args = [
111111
"-DBUILD_PYTHON_MODULE=ON",
112112
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
113113
]
114-
cmake.targets = ["_core"]
114+
build.targets = ["_core"]
115115

116116
# Install settings
117117
install.components = ["python"]

0 commit comments

Comments
 (0)