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
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ jobs:
python-version: "3.10"
- name: Build tiledb-py from source
run: bash TileDB-VCF/ci/nightly/build-tiledb-py.sh
env:
PYBIND11_MAX_VERSION: ${{ matrix.branches.tiledb-py != 'main' && '<3' || '' }}
- name: Build (and test) tiledbvcf-py
run: bash TileDB-VCF/ci/nightly/build-tiledbvcf-py.sh
issue:
Expand Down
6 changes: 6 additions & 0 deletions ci/nightly/build-tiledb-py.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ fi

export TILEDB_PATH=$GITHUB_WORKSPACE/install/

# Pin pybind11 version if PYBIND11_MAX_VERSION is set (e.g. "<3")
if [ -n "${PYBIND11_MAX_VERSION:-}" ]; then
echo "pybind11${PYBIND11_MAX_VERSION}" > /tmp/pybind11-constraint.txt
export PIP_CONSTRAINT=/tmp/pybind11-constraint.txt
fi

cd TileDB-Py/
python -m pip install -Cskbuild.cmake.define.TILEDB_REMOVE_DEPRECATIONS=OFF -v .

Expand Down
Loading