Skip to content

Commit 57be5e4

Browse files
authored
Build with NumPy 2 (#762)
1 parent 2271db0 commit 57be5e4

File tree

9 files changed

+9
-61
lines changed

9 files changed

+9
-61
lines changed

.azure-pipelines.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ stages:
5353
repository: tiledb/tiledbvcf-py
5454
context: .
5555
test_cmd: -c "import tiledbvcf; print(tiledbvcf.version)"
56-
# dask:
57-
# dockerfile: docker/Dockerfile-dask-py
58-
# repository: tiledb/tiledbvcf-dask
59-
# context: .
6056
steps:
6157
- template: ci/build-images.yml
6258

.github/workflows/macos.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ jobs:
8686
with:
8787
environment-name: ci
8888
create-args: tiledb
89-
- name: Install dependencies
90-
run: python -m pip install --prefer-binary pyarrow==10.0.1
9189
- name: Build tiledbvcf-py
9290
env:
9391
LIBTILEDBVCF_PATH: "${{ github.workspace }}/dist"
@@ -163,8 +161,6 @@ jobs:
163161
uses: actions/setup-python@v5
164162
with:
165163
python-version: "3.11"
166-
- name: Install dependencies
167-
run: python -m pip install --prefer-binary pyarrow==10.0.1
168164
- name: Build tiledbvcf-py
169165
run: cd apis/python && python -m pip install -v .[test]
170166
- name: Confirm linking

apis/python/conda-env.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

apis/python/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ dynamic = ["version"]
2929
description = "TileDB-VCF Python client"
3030
license = { text = "MIT" }
3131
authors = []
32-
requires-python = "~=3.8"
32+
requires-python = "~=3.9"
3333
classifiers = [
3434
"Development Status :: 4 - Beta",
3535
"License :: OSI Approved :: MIT License",
3636
"Programming Language :: Python :: 3 :: Only",
37-
"Programming Language :: Python :: 3.8",
3837
"Programming Language :: Python :: 3.9",
3938
"Programming Language :: Python :: 3.10",
4039
"Programming Language :: Python :: 3.11",
40+
"Programming Language :: Python :: 3.12",
4141
]
4242

43-
dependencies = ["pandas", "pyarrow", "pyarrow-hotfix", "numpy<2"]
43+
dependencies = ["pandas", "pyarrow>=14.0.1", "numpy"]
4444

4545
[project.optional-dependencies]
4646
test = ["dask[distributed]", "pytest", "tiledb"]

apis/python/src/tiledbvcf/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Initialize pyarrow first.
22
import pyarrow
3-
import pyarrow_hotfix
43

54
import ctypes
65
import os

ci/gha-win-env.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ dependencies:
88
- cmake
99
- git
1010
- m2w64-htslib
11-
- tiledb=2.15
11+
- tiledb=2.25
1212
- vs2019_win-64
1313
# build tiledbvcf-py
14-
- numpy<2
15-
- pandas<2.0
16-
- pyarrow=9.0
17-
- pyarrow-hotfix
14+
- numpy
15+
- pandas
16+
- pyarrow>=14.0.1
1817
- pybind11
1918
- python
2019
- rpdb

ci/nightly/build-tiledb-py.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919
export TILEDB_PATH=$GITHUB_WORKSPACE/install/
2020

2121
cd TileDB-Py/
22-
python -m pip install -Cskbuild.cmake.define.TILEDB_REMOVE_DEPRECATIONS=OFF -v . pyarrow==12
22+
python -m pip install -Cskbuild.cmake.define.TILEDB_REMOVE_DEPRECATIONS=OFF -v .
2323

2424
# Can't run the import inside of the Git repo because Python automatically looks
2525
# for `./module/__init.py__`

ci/nightly/build-tiledbvcf-py.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fi
2020
export LIBTILEDBVCF_PATH=$GITHUB_WORKSPACE/install/
2121

2222
cd TileDB-VCF/apis/python
23-
python -m pip install .[test] pyarrow==12
23+
python -m pip install .[test]
2424
python -c "import tiledbvcf; print(tiledbvcf.version)"
2525

2626
pytest

docker/Dockerfile-dask-py

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)