forked from online-ml/river
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
146 lines (130 loc) Β· 2.91 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[build-system]
requires = ["poetry-core>=1.0.0", "cython", "numpy", "setuptools", "wheel", "setuptools-rust"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "river"
version = "0.21.2"
description = "Online machine learning in Python"
readme = "README.md"
homepage = "https://riverml.xyz/"
repository = "https://github.com/online-ml/river/"
authors = ["Max Halford <[email protected]>"]
include = [
"**/*.cpp",
"**/*.pyx",
"**/*.pxd",
"river/datasets/*.csv",
"river/datasets/*.gz",
"river/datasets/*.zip",
"river/stream/*.zip",
"Cargo.toml",
"rust_src/**/*"
]
[tool.poetry.build]
generate-setup-file = true
script = "build.py"
[tool.poetry.dependencies]
python = "^3.9"
numpy = "^1.23.0"
scipy = "^1.12.1"
pandas = "^2.1"
[tool.poetry.group.dev.dependencies]
graphviz = "^0.20.1"
gym = "^0.26.2"
matplotlib = "^3.0.2"
mypy = "^1.6.1"
pre-commit = "^3.5.0"
pytest = "^7.4.2"
ruff = "^0.1.1"
scikit-learn = "^1.3.1"
sqlalchemy = "^2.0.22"
sympy = "^1.10.1"
pytest-xdist = {extras = ["psutil"], version = "^3.3.1"}
ipykernel = "^6.26.0"
ipython = "^8.17.2"
rich = "^13.6.0"
jupyter = "^1.0.0"
mike = "^2.0.0"
polars = "^0.20.8"
[tool.poetry.group.compat]
optional = true
[tool.poetry.group.compat.dependencies]
scikit-learn = "^1.0.1"
sqlalchemy = "^2.0.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
"dominate" = "*"
"flask" = "*"
"ipykernel" = "*"
"jupyter-client" = "*"
"mike" = "*"
"mkdocs" = "*"
"mkdocs-awesome-pages-plugin" = "*"
"mkdocs-charts-plugin" = "*"
"mkdocs-material" = "*"
"nbconvert" = "*"
"numpydoc" = "*"
"python-slugify" = "*"
"spacy" = "*"
"tabulate" = "*"
"watermark" = "*"
[tool.poetry.group.benchmark]
optional = true
[tool.poetry.group.benchmark.dependencies]
"dominate" = "2.8.0"
"scikit-learn" = "1.3.1"
"tabulate" = "0.9.0"
"vowpalwabbit" = "9.9.0"
"watermark" = "2.4.3"
[tool.pytest.ini_options]
addopts = [
"--doctest-modules",
"--doctest-glob=README.md",
"--ignore=build.py",
"--ignore=benchmarks",
"--ignore=docs/scripts",
"--verbose",
"-ra",
"-m not datasets and not slow",
"--color=yes",
]
doctest_optionflags = "NORMALIZE_WHITESPACE NUMBER ELLIPSIS"
norecursedirs = [
"build",
"docs",
"node_modules",
".eggs",
"scikit-multiflow",
"site",
"benchmarks",
]
markers = [
"datasets: tests that pertain to the datasets module",
"slow: tests that take a long time to run",
]
[tool.ruff]
select = ["E", "F", "I", "UP"] # https://beta.ruff.rs/docs/rules/
line-length = 100
target-version = 'py310'
ignore = ["E501"]
[tool.ruff.isort]
required-imports = ["from __future__ import annotations"]
[tool.mypy]
files = "river"
[[tool.mypy.overrides]]
module = [
"river.*",
"mmh3.*",
"numpy.*",
"sklearn.*",
"pytest.*",
"pandas.*",
"scipy.*",
"graphviz.*",
"vaex.*",
"torch.*",
"sqlalchemy.*",
"requests.*"
]
ignore_missing_imports = true