-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (81 loc) · 2.21 KB
/
pyproject.toml
File metadata and controls
89 lines (81 loc) · 2.21 KB
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
[project]
name = "red-dwarf"
version = "0.4.0"
description = "A DIMensional REDuction library for reproducing and experimenting with Polis-like data pipelines."
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
# Core dependencies
"pandas>=1.5.0",
"scikit-learn>=1.1.0",
# Data loader
"pydantic>=1.10.0",
"requests>=2.28.0",
#"requests-cache>=1.2.1",
# Was getting warnings on stale cache (queued for next release after v1.2.1)
# See: https://github.com/requests-cache/requests-cache/pull/1068
"requests-cache",
"requests-ratelimiter>=0.4.0",
"fake-useragent>=1.4.0",
]
[tool.setuptools.packages.find]
include = ["reddwarf*"]
[tool.setuptools]
# Work-around for `uv`/`setuptools` bug.
# See: https://github.com/ToucanToco/peakina/pull/957/files
license-files = []
[tool.uv.sources]
requests-cache = { git = "https://github.com/requests-cache/requests-cache", rev = "12af54ded36" }
[project.optional-dependencies]
alt-algos = [
"pacmap>=0.9.1",
# Use older numba on macOS Intel (avoids build issues)
# See: https://github.com/numba/llvmlite/issues/1389#issuecomment-3763361889
# See: https://github.com/numba/llvmlite/issues/1357#issuecomment-3737290830
"numba<0.63.0; platform_machine == 'x86_64' and sys_platform == 'darwin' and python_version < '3.14'",
# Lowest we can be with sklearn 1.8
# See: https://github.com/scikit-learn-contrib/hdbscan/pull/673
"hdbscan>=0.8.41",
]
plots = [
"concave-hull>=0.0.9",
"seaborn>=0.11.0",
"matplotlib>=3.5.0",
]
all = [
"red-dwarf[alt-algos,plots]",
]
dev = [
"coverage>=6.0",
"cram>=0.7",
"ipywidgets>=8.0.0",
"mkdocs-same-dir>=0.1.3",
"mkdocstrings-python>=1.8.0",
"nbmake>=1.5.0",
"pytest-cov>=4.0.0",
"pytest>=7.0.0",
]
[dependency-groups]
alt-algos = [
"pacmap>=0.9.1",
"hdbscan>=0.8.40",
]
plots = [
"concave-hull>=0.0.9",
"seaborn>=0.11.0",
"matplotlib>=3.5.0",
]
all = [
{include-group = "alt-algos"},
{include-group = "plots"},
]
dev = [
"coverage>=6.0",
"cram>=0.7",
"ipywidgets>=8.0.0",
"mkdocs-same-dir>=0.1.3",
"mkdocstrings-python>=1.8.0",
"nbmake>=1.5.0",
"pytest-cov>=4.0.0",
"pytest>=6.0.0",
]