-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nightly build by updating source build of TileDB-Py (#756)
* Migrate TileDB-Py to scikit-build-core and don't check for deprecations * Run TileDB-Py import test outside of Git repo jdblischak/centralized-tiledb-nightlies@81849b9 * Bump nightly build release branch to 2.25 * Pin pyarrow==12
- Loading branch information
1 parent
bbe02af
commit 6282fc3
Showing
4 changed files
with
32 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
# Build tiledb-py assuming source code directory is ./TileDB-Py/ and libtiledb | ||
# shared library installed in $GITHUB_WORKSPACE/install/ | ||
|
||
OS=$(uname) | ||
echo "OS: $OS" | ||
if [[ $OS == Linux ]] | ||
then | ||
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/install/lib:${LD_LIBRARY_PATH-} | ||
echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH" | ||
elif [[ $OS == Darwin ]] | ||
then | ||
export DYLD_LIBRARY_PATH=$GITHUB_WORKSPACE/install/lib:${DYLD_LIBRARY_PATH-} | ||
echo "DYLD_LIBRARY_PATH: $DYLD_LIBRARY_PATH" | ||
fi | ||
|
||
export TILEDB_PATH=$GITHUB_WORKSPACE/install/ | ||
|
||
cd TileDB-Py/ | ||
python -m pip install -Cskbuild.cmake.define.TILEDB_REMOVE_DEPRECATIONS=OFF -v . pyarrow==12 | ||
|
||
# Can't run the import inside of the Git repo because Python automatically looks | ||
# for `./module/__init.py__` | ||
cd .. | ||
python -c "import tiledb; print('successful import')" | ||
python -c "import tiledb; print(tiledb.libtiledb.version())" | ||
python -c "import tiledb; print(tiledb.version())" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.