-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
151 lines (138 loc) · 2.86 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
147
148
149
150
151
[project]
name = "dagster-ray"
urls = { repository = "https://github.com/danielgafni/dagster-ray" }
description = "Dagster integration library for Ray"
authors = [
{name = "Daniel Gafni", email = "danielgafni16@gmail.com"},
]
license = {text = "Apache-2.0"}
requires-python = ">=3.8.1"
readme = "README.md"
keywords = [
"dagster",
"ray",
"ETL",
"distributed",
]
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"dagster>=1.8.0",
"tenacity>=8.0.0",
]
dynamic = ["version"]
[project.optional-dependencies]
run_launcher = [
"ray[client]"
]
executor = [
"ray[client]"
]
pipes = [
"ray[client]"
]
kuberay = [
"pyyaml",
"kubernetes>=20.0.0",
"dagster-k8s>=0.19.0",
"pyyaml>=4.0.0",
]
[tool.uv]
dev-dependencies = [
"hypothesis<7.0.0,>=6.77.0",
"pytest<8.0.0,>=7.3.1",
"ruff<1.0.0,>=0.3.0",
"pyright<2.0.0,>=1.1.313",
"pre-commit>=3.3.2,<4.0.0",
"dagit<2.0.0,>=1.3.9",
"pytest-cases<4.0.0,>=3.6.14",
"pytest-kubernetes<1.0.0,>=0.3.1",
"blacken-docs<2.0.0,>=1.16.0",
"ray[default,data]>=2.7.0",
"hatch>=1.12.0",
"dunamai>=1.22.0",
"pip>=24.2",
"ipython>=8.12.3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "dagster_ray/_version.py"
[tool.pytest.ini_options]
addopts = "-vvv --capture=no --log-disable=faker"
log_cli = true
log_level = "INFO"
[tool.ruff]
line-length = 120
src = [
"dagster_ray",
"tests"
]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
[tool.ruff.lint]
extend-select = ["I", "TID252", "TID253"]
[tool.ruff.lint.isort]
known-first-party = ["dagster_ray", "tests"]
[tool.ruff.lint.flake8-tidy-imports]
# Disallow all relative imports.
ban-relative-imports = "all"
banned-module-level-imports = ["ray", "kubernetes", "torch"]
[tool.pyright]
reportPropertyTypeMismatch = true
reportImportCycles = true
reportWildcardImportFromLibrary = true
reportUntypedFunctionDecorator = true
reportUntypedClassDecorator = true
include = [
"dagster_ray",
"tests"
]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]