-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathpyproject.toml
More file actions
174 lines (161 loc) · 6.87 KB
/
Copy pathpyproject.toml
File metadata and controls
174 lines (161 loc) · 6.87 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
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[tool.uv.workspace]
members = ["packages/*", "examples/*"]
[tool.uv.sources]
jumpstarter = { workspace = true }
jumpstarter-cli = { workspace = true }
jumpstarter-cli-admin = { workspace = true }
jumpstarter-cli-common = { workspace = true }
jumpstarter-cli-driver = { workspace = true }
jumpstarter-driver-adb = { workspace = true }
jumpstarter-driver-androidemulator = { workspace = true }
jumpstarter-driver-ble = { workspace = true }
jumpstarter-driver-bt-peer = { workspace = true }
jumpstarter-driver-can = { workspace = true }
jumpstarter-driver-composite = { workspace = true }
jumpstarter-driver-corellium = { workspace = true }
jumpstarter-driver-cuttlefish = { workspace = true }
jumpstarter-driver-doip = { workspace = true }
jumpstarter-driver-dut-network = { workspace = true }
jumpstarter-driver-dutlink = { workspace = true }
jumpstarter-driver-energenie = { workspace = true }
jumpstarter-driver-esp32 = { workspace = true }
jumpstarter-driver-flashers = { workspace = true }
jumpstarter-driver-http = { workspace = true }
jumpstarter-driver-http-power = { workspace = true }
jumpstarter-driver-gpiod = { workspace = true }
jumpstarter-driver-ridesx = { workspace = true }
jumpstarter-driver-nanokvm-usb = { workspace = true }
jumpstarter-driver-netsim = { workspace = true }
jumpstarter-driver-network = { workspace = true }
jumpstarter-driver-noyito-relay = { workspace = true }
jumpstarter-driver-obd = { workspace = true }
jumpstarter-driver-opendal = { workspace = true }
jumpstarter-driver-power = { workspace = true }
jumpstarter-driver-pi-pico = { workspace = true }
jumpstarter-driver-probe-rs = { workspace = true }
jumpstarter-driver-pyserial = { workspace = true }
jumpstarter-driver-qemu = { workspace = true }
jumpstarter-driver-renode = { workspace = true }
jumpstarter-driver-sdwire = { workspace = true }
jumpstarter-driver-tasmota = { workspace = true }
jumpstarter-driver-tmt = { workspace = true }
jumpstarter-driver-tftp = { workspace = true }
jumpstarter-driver-snmp = { workspace = true }
jumpstarter-driver-shell = { workspace = true }
jumpstarter-driver-sigrok = { workspace = true }
jumpstarter-driver-someip = { workspace = true }
jumpstarter-driver-ssh = { workspace = true }
jumpstarter-driver-ssh-mitm = { workspace = true }
jumpstarter-driver-ssh-mount = { workspace = true }
jumpstarter-driver-stlink-msd = { workspace = true }
jumpstarter-driver-uboot = { workspace = true }
jumpstarter-driver-uds = { workspace = true }
jumpstarter-driver-uds-can = { workspace = true }
jumpstarter-driver-uds-doip = { workspace = true }
jumpstarter-driver-iscsi = { workspace = true }
jumpstarter-driver-mitmproxy = { workspace = true }
jumpstarter-driver-ustreamer = { workspace = true }
jumpstarter-driver-video = { workspace = true }
jumpstarter-driver-yepkit = { workspace = true }
jumpstarter-driver-vnc = { workspace = true }
jumpstarter-driver-xcp = { workspace = true }
jumpstarter-imagehash = { workspace = true }
jumpstarter-kubernetes = { workspace = true }
jumpstarter-mcp = { workspace = true }
jumpstarter-protocol = { workspace = true }
jumpstarter-testing = { workspace = true }
hatch-pin-jumpstarter = { workspace = true }
[tool.uv]
# Ensure uv resolves versions that ship pre-built cp314 wheels on Python 3.14.
# Without these constraints the resolver can pick older releases that only
# provide cp312/cp313 wheels, forcing slow (or failing) source builds in CI.
constraint-dependencies = [
# pydantic >=2.12 requires typing-extensions >=4.14.1, but mitmproxy caps
# typing-extensions <=4.14 on Python <3.13. On Python >=3.14 we need
# pydantic >=2.12 so that pydantic-core ships pre-built cp314 wheels.
"pydantic>=2.12 ; python_version >= '3.14'",
# Pillow 11.3.0 is the first release that ships cp314 wheels;
# without this constraint uv can pick an older sdist-only version
# that fails to build on Python 3.14.
"pillow>=11.3.0 ; python_version >= '3.14'",
# SciPy 1.16.1 is the first release that ships cp314 wheels;
# 1.16.0 falls back to an sdist build that requires OpenBLAS,
# which is not available in the CI environment.
"scipy>=1.16.1 ; python_version >= '3.14'",
# NumPy 2.3.2 and PyWavelets 1.9.0 are the first releases that
# ship cp314 wheels; without these constraints uv falls back to
# slow sdist builds on Python 3.14.
"numpy>=2.3.2 ; python_version >= '3.14'",
"pywavelets>=1.9.0 ; python_version >= '3.14'",
# aiohttp 3.13.0 is the first release that ships cp314 wheels.
"aiohttp>=3.13.0 ; python_version >= '3.14'",
# cffi 2.0.0 is the first release that ships cp314 wheels;
# consumers (cryptography, pynacl, …) accept cffi >=1.14.
"cffi>=2.0.0 ; python_version >= '3.14'",
# grpcio 1.75.1 is the first release that ships cp314 wheels;
# building from source takes 10+ minutes.
"grpcio>=1.75.1 ; python_version >= '3.14'",
# MarkupSafe 3.0.3 is the first release that ships cp314 wheels.
"markupsafe>=3.0.3 ; python_version >= '3.14'",
# msgpack 1.1.2 is the first release that ships cp314 wheels.
"msgpack>=1.1.2 ; python_version >= '3.14'",
# PyYAML 6.0.3 is the first release that ships cp314 wheels.
"pyyaml>=6.0.3 ; python_version >= '3.14'",
# rpds-py 0.26.0 is the first release that ships cp314 wheels.
"rpds-py>=0.26.0 ; python_version >= '3.14'",
# gpiod 2.4.0 is the first release that ships cp314 wheels.
"gpiod>=2.4.0 ; python_version >= '3.14'",
]
override-dependencies = [
# mitmproxy 12.x caps typing-extensions<=4.14 on Python <3.13, but
# mcp>=2.0 requires pydantic>=2.12.0 which requires typing-extensions>=4.14.1.
# typing-extensions is backward-compatible; this override is safe.
"typing-extensions>=4.14.1",
]
[dependency-groups]
docs = [
"sphinx<9.1.1",
"myst-parser>=5.0.0",
"sphinxcontrib-mermaid>=2.0.1",
"furo>=2024.8.6",
"esbonio>=0.16.4",
"sphinx-autobuild>=2024.4.16",
"sphinx-click>=6.0.0",
"sphinx-substitution-extensions>=2026.6.17",
"requests>=2.33.1",
"sphinxcontrib-programoutput>=0.19",
"sphinx-copybutton>=0.5.2",
"sphinx-inline-tabs>=2023.4.21",
"pyyaml>=6.0",
]
dev = [
"ruff==0.16.9",
"typos>=1.23.6",
"pre-commit>=3.8.0",
"esbonio>=0.16.5",
"ty>=0.0.1a8",
"diff-cover>=10.2.0",
]
[tool.ruff]
target-version = "py312"
exclude = ["packages/jumpstarter-protocol"]
line-length = 120
[tool.ruff.lint]
exclude = ["packages/jumpstarter-protocol"]
extend-select = ["I", "C", "E", "F", "W", "B", "ERA"]
[tool.ruff.lint.isort]
known-local-folder = ["packages", "examples", "jumpstarter"]
[tool.typos.default]
locale = "en-us"
[tool.typos.default.extend-words]
ser = "ser"
Pn = "Pn"
mosquitto = "mosquitto"
[tool.coverage.run]
branch = true
omit = ["conftest.py", "test_*.py", "*_test.py", "*_pb2.py", "*_pb2_grpc.py"]
skip_empty = true
[tool.pytest.ini_options]
addopts = "--capture=no --doctest-modules --cov=. --cov-report=html --cov-report=xml"
[tool.hatch.version]
source = "vcs"