Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with NumPy 2 #762

Merged
merged 16 commits into from
Oct 17, 2024
4 changes: 0 additions & 4 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ stages:
repository: tiledb/tiledbvcf-py
context: .
test_cmd: -c "import tiledbvcf; print(tiledbvcf.version)"
# dask:
# dockerfile: docker/Dockerfile-dask-py
# repository: tiledb/tiledbvcf-dask
# context: .
steps:
- template: ci/build-images.yml

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ jobs:
with:
environment-name: ci
create-args: tiledb
- name: Install dependencies
run: python -m pip install --prefer-binary pyarrow==10.0.1
- name: Build tiledbvcf-py
env:
LIBTILEDBVCF_PATH: "${{ github.workspace }}/dist"
Expand Down Expand Up @@ -163,8 +161,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: python -m pip install --prefer-binary pyarrow==10.0.1
- name: Build tiledbvcf-py
run: cd apis/python && python -m pip install -v .[test]
- name: Confirm linking
Expand Down
17 changes: 0 additions & 17 deletions apis/python/conda-env.yml

This file was deleted.

6 changes: 3 additions & 3 deletions apis/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ dynamic = ["version"]
description = "TileDB-VCF Python client"
license = { text = "MIT" }
authors = []
requires-python = "~=3.8"
requires-python = "~=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

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

[project.optional-dependencies]
test = ["dask[distributed]", "pytest", "tiledb"]
Expand Down
1 change: 0 additions & 1 deletion apis/python/src/tiledbvcf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Initialize pyarrow first.
import pyarrow
import pyarrow_hotfix

import ctypes
import os
Expand Down
9 changes: 4 additions & 5 deletions ci/gha-win-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ dependencies:
- cmake
- git
- m2w64-htslib
- tiledb=2.15
- tiledb=2.25
- vs2019_win-64
gspowley marked this conversation as resolved.
Show resolved Hide resolved
# build tiledbvcf-py
- numpy<2
- pandas<2.0
- pyarrow=9.0
- pyarrow-hotfix
- numpy
- pandas
- pyarrow>=14.0.1
- pybind11
- python
- rpdb
Expand Down
2 changes: 1 addition & 1 deletion ci/nightly/build-tiledb-py.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi
export TILEDB_PATH=$GITHUB_WORKSPACE/install/

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

# Can't run the import inside of the Git repo because Python automatically looks
# for `./module/__init.py__`
Expand Down
2 changes: 1 addition & 1 deletion ci/nightly/build-tiledbvcf-py.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi
export LIBTILEDBVCF_PATH=$GITHUB_WORKSPACE/install/

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

pytest
25 changes: 0 additions & 25 deletions docker/Dockerfile-dask-py

This file was deleted.

Loading