File size: 3,032 Bytes
2c3c408
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = [
    "scikit-build-core",
    "pybind11",
    "Cython>=3",
    "numpy>=2.0.1"
]
build-backend = "scikit_build_core.build"

[project]
requires-python = ">=3.9"
name = "tiledb"
description = "Pythonic interface to the TileDB array storage manager"
readme = "README.md"
license = {text = "MIT"}
authors = [
  {name = "TileDB, Inc.", email = "help@tiledb.io"}
]
maintainers = [
  {name = "TileDB, Inc.", email = "help@tiledb.io"}
]
classifiers=[
    "Development Status :: 4 - Beta",
    "Intended Audience :: Developers",
    "Intended Audience :: Information Technology",
    "Intended Audience :: Science/Research",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python",
    "Topic :: Software Development :: Libraries :: Python Modules",
    "Operating System :: Unix",
    "Operating System :: POSIX :: Linux",
    "Operating System :: MacOS :: MacOS X",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
]
dependencies = [
  "numpy>=1.25",
  "packaging",
]
dynamic = ["version"]

[project.optional-dependencies]
doc = [
    "jinja2==3.0.0",
    "sphinx-rtd-theme==2.0.0",
    "Sphinx",
    "breathe",
]
test = [
    "pytest",
    "hypothesis",
    "psutil",
    "pyarrow",
    "pandas",
    "dask[distributed]",
]

[project.urls]
homepage = "https://github.com/TileDB-Inc/TileDB-Py"

[tool.setuptools_scm]
version_file = "tiledb/_generated_version.py"

[tool.scikit-build]
wheel.expand-macos-universal-tags = true
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
wheel.packages = ["tiledb", "examples", "external"]
wheel.license-files = ["LICENSE", "external/LICENSE-*.txt"]
sdist.include = ["tiledb/_generated_version.py"]

[tool.scikit-build.cmake.define]
TILEDB_PATH = {env="TILEDB_PATH"}
TILEDB_VERSION = {env="TILEDB_VERSION"}
TILEDB_HASH = {env="TILEDB_HASH"}
TILEDB_REMOVE_DEPRECATIONS = "ON"
TILEDB_SERIALIZATION = "OFF"

[tool.pytest.ini_options]
python_classes = "*Test*"
python_files = "test_*.py"
testpaths = ["tiledb/tests"]
addopts = [
    "--import-mode=importlib",
    "--ignore=tiledb/tests/perf",
    "--ignore=tiledb/tests/__pycache__",
]
filterwarnings = [
    "error",
    "default::pytest.PytestWarning",
    "default::DeprecationWarning:distributed",
    # Pyarrow emits a warning regarding use of deprecated Pandas function
    # Remove this once we bump Pyarrow version
    "ignore:Passing a BlockManager to DataFrame is deprecated:DeprecationWarning"
]

[tool.ruff]
ignore = ["E501", "E722"]
extend-select = ["I001"]
extend-exclude = ["doc"]
fix = true

[tool.ruff.lint]
select = ["NPY201"]

[tool.ruff.per-file-ignores]
"tiledb/__init__.py" = ["F401"]

[tool.cibuildwheel]
test-requires = [
    "pytest",
    "hypothesis",
    "psutil",
    "pyarrow",
    "pandas",
]
test-command = "pytest {project}"