@@ -9,14 +9,14 @@ authors = [
9
9
{name = " scverse" },
10
10
]
11
11
maintainers = [
12
- {
name =
" scverse " ,
email =
" [email protected] " },
12
+ {
name =
" Tim Treis " ,
email =
" [email protected] " },
13
13
]
14
14
urls.Documentation = " https://spatialdata.scverse.org/projects/plot/en/latest/index.html"
15
15
urls.Source = " https://github.com/scverse/spatialdata-plot.git"
16
16
urls.Home-page = " https://github.com/scverse/spatialdata-plot.git"
17
- requires-python = " >=3.10 "
17
+ requires-python = " >=3.11 "
18
18
dynamic = [
19
- " version" # allow version to be set by git tags
19
+ " version" # allow version to be set by git tags
20
20
]
21
21
license = {file = " LICENSE" }
22
22
readme = " README.md"
@@ -30,7 +30,16 @@ dependencies = [
30
30
31
31
[project .optional-dependencies ]
32
32
dev = [
33
- " bump2version" ,
33
+ " jupyterlab" ,
34
+ " notebook" ,
35
+ " ipykernel" ,
36
+ " ipywidgets" ,
37
+ " jupytext" ,
38
+ " pytest" ,
39
+ " pytest-cov" ,
40
+ " pooch" ,
41
+ " ruff" ,
42
+ " pre-commit" ,
34
43
]
35
44
docs = [
36
45
" sphinx>=4.5" ,
@@ -47,12 +56,9 @@ docs = [
47
56
test = [
48
57
" pytest" ,
49
58
" pytest-cov" ,
59
+ " pytest-xdist" ,
50
60
" pooch" , # for scipy.datasets module
51
61
]
52
- # this will be used by readthedocs and will make pip also look for pre-releases, generally installing the latest available version
53
- pre = [
54
- " spatialdata>=0.1.0-pre0"
55
- ]
56
62
57
63
[tool .coverage .run ]
58
64
source = [" spatialdata_plot" ]
@@ -143,30 +149,45 @@ unfixable = ["B", "UP", "C4", "BLE", "T20", "RET"]
143
149
"tests/*" = [" D" , " PT" , " B024" ]
144
150
"*/__init__.py" = [" F401" , " D104" , " D107" , " E402" ]
145
151
"docs/*" = [" D" ," B" ," E" ," A" ]
146
- # "src/spatialdata/transformations/transformations.py" = ["D101","D102", "D106", "B024", "T201", "RET504"]
147
152
"tests/conftest.py" = [" E402" , " RET504" ]
148
153
"src/spatialdata_plot/pl/utils.py" = [" PGH003" ]
149
154
150
155
[tool .ruff .lint .pydocstyle ]
151
156
convention = " numpy"
152
157
153
- [tool .bumpver ]
154
- current_version = " 0.0.2"
155
- version_pattern = " MAJOR.MINOR.PATCH"
156
- commit_message = " bump version {old_version} -> {new_version}"
157
- tag_message = " {new_version}"
158
- tag_scope = " default"
159
- pre_commit_hook = " "
160
- post_commit_hook = " "
161
- commit = true
162
- tag = true
163
- push = false
164
-
165
- [tool .bumpver .file_patterns ]
166
- "pyproject.toml" = [
167
- ' current_version = "{version}"' ,
168
- ]
169
- "README.md" = [
170
- " {version}" ,
171
- " {pep440_version}" ,
172
- ]
158
+ [tool .pixi .workspace ]
159
+ channels = [" conda-forge" ]
160
+ platforms = [" osx-arm64" , " linux-64" ]
161
+
162
+ [tool .pixi .dependencies ]
163
+ python = " >=3.11"
164
+
165
+ [tool .pixi .pypi-dependencies ]
166
+ spatialdata-plot = { path = " ." , editable = true }
167
+
168
+ # for gh-actions
169
+ [tool .pixi .feature .py311 .dependencies ]
170
+ python = " 3.11.*"
171
+
172
+ [tool .pixi .feature .py313 .dependencies ]
173
+ python = " 3.13.*"
174
+
175
+ [tool .pixi .environments ]
176
+ # 3.11 lane (for gh-actions)
177
+ dev-py311 = { features = [" dev" , " test" , " py311" ], solve-group = " py311" }
178
+ docs-py311 = { features = [" docs" , " py311" ], solve-group = " py311" }
179
+
180
+ # 3.13 lane
181
+ default = { features = [" py313" ], solve-group = " py313" }
182
+ dev-py313 = { features = [" dev" , " test" , " py313" ], solve-group = " py313" }
183
+ docs-py313 = { features = [" docs" , " py313" ], solve-group = " py313" }
184
+ test-py313 = { features = [" test" , " py313" ], solve-group = " py313" }
185
+
186
+ [tool .pixi .tasks ]
187
+ lab = " jupyter lab"
188
+ kernel-install = " python -m ipykernel install --user --name pixi-dev --display-name \" sdata-plot (dev)\" "
189
+ test = " pytest -v --color=yes --tb=short --durations=10"
190
+ lint = " ruff check ."
191
+ format = " ruff format ."
192
+ pre-commit-install = " pre-commit install"
193
+ pre-commit-run = " pre-commit run --all-files"
0 commit comments