forked from lancedb/lance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (85 loc) · 2.62 KB
/
pyproject.toml
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
[project]
name = "pylance"
dependencies = ["pyarrow>=12,<15.0.1", "numpy>=1.22"]
description = "python wrapper for Lance columnar format"
authors = [{ name = "Lance Devs", email = "dev@lancedb.com" }]
license = { file = "LICENSE" }
repository = "https://github.com/eto-ai/lance"
readme = "README.md"
requires-python = ">=3.8"
keywords = [
"data-format",
"data-science",
"machine-learning",
"arrow",
"data-analytics"
]
categories = [
"database-implementations",
"data-structures",
"development-tools",
"science"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Rust",
"Topic :: Scientific/Engineering",
]
[tool.maturin]
python-source = "python"
[build-system]
requires = ["maturin>=1.4"]
build-backend = "maturin"
[project.optional-dependencies]
tests = [
"datasets",
"duckdb; python_version<'3.12'", # TODO: remove when duckdb supports 3.12
"ml_dtypes",
"pillow",
"pandas",
"polars[pyarrow,pandas]",
"pytest",
"tensorflow; python_version<'3.12'", # TODO: remove when tensorflow supports 3.12
"tqdm",
]
dev = ["ruff==0.2.2"]
benchmarks = ["pytest-benchmark"]
torch = ["torch"]
[tool.ruff]
lint.select = ["F", "E", "W", "I", "G", "TCH", "PERF", "CPY001", "B019"]
[tool.ruff.lint.per-file-ignores]
"*.pyi" = ["E302"]
[tool.mypy]
python_version = "3.11"
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
[tool.pytest.ini_options]
markers = [
"cuda: tests which rely on having a CUDA-capable GPU",
"integration: mark test to run only on named environment",
"gpu: tests which rely on pytorch and some kind of gpu",
"slow",
"torch: tests which rely on pytorch being installed",
]
filterwarnings = [
'error::FutureWarning',
'error::DeprecationWarning',
# Pandas 2.2 on Python 2.12
'ignore:.*datetime\.datetime\.utcfromtimestamp\(\) is deprecated.*:DeprecationWarning',
# Pytorch 2.2 on Python 2.12
'ignore:.*is deprecated and will be removed in Python 3\.14.*:DeprecationWarning',
'ignore:.*The distutils package is deprecated.*:DeprecationWarning',
]