-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
executable file
·123 lines (105 loc) · 3.62 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
[tool.poetry]
name = "fractal-tasks-core"
version = "1.4.2"
description = "Core bioimage-analysis library and tasks of the Fractal analytics platform"
authors = [
"Joel Lüthi <[email protected]>",
"Tommaso Comparin <[email protected]>",
"Marco Franzon <[email protected]>",
"Jacopo Nespolo <[email protected]>",
]
readme = "README.md"
packages = [{ include = "fractal_tasks_core" }]
license = "BSD-3-Clause"
homepage = "https://github.com/fractal-analytics-platform/fractal-tasks-core"
repository = "https://github.com/fractal-analytics-platform/fractal-tasks-core"
documentation = "https://fractal-analytics-platform.github.io/fractal-tasks-core"
[tool.poetry.urls]
"Changelog" = "https://github.com/fractal-analytics-platform/fractal-tasks-core/blob/main/CHANGELOG.md"
[tool.poetry.dependencies]
# Required dependencies
python = ">=3.10,<3.13"
dask = ">=2023.1.0"
fsspec = "!=2023.9.0"
zarr = ">=2.13.6,<3"
numpy = "<=2.1.0"
pandas = ">=1.2.0"
lxml = "^4.9.1"
pydantic = ">2,<=2.8.2"
docstring-parser = "^0.15"
anndata = ">=0.8.0,<0.11.0"
filelock = "3.13.*"
ngio = ">=0.1.5,<0.2.0"
# Optional dependencies (used in extras)
Pillow = { version = ">=9.1.1", optional = true }
imageio-ffmpeg = { version = "^0.4.7", optional = true }
scikit-image = { version = ">=0.19", optional = true }
napari-segment-blobs-and-things-with-membranes = { version = "^0.3.3", optional = true }
napari-workflows = { version = "^0.2.8", optional = true }
stackview = { version = "<0.9.0", optional = true }
napari-skimage-regionprops = { version = "^0.8.1", optional = true }
napari-tools-menu = { version = "^0.1.19", optional = true }
cellpose = { version = "~2.2", optional = true }
torch = { version = "<=3.0.0", optional = true }
image_registration = { version = ">=0.2.9", optional = true }
[tool.poetry.extras]
fractal-tasks = [
"Pillow",
"imageio-ffmpeg",
"scikit-image",
"llvmlite",
"napari-segment-blobs-and-things-with-membranes",
"napari-workflows",
"stackview",
"napari-skimage-regionprops",
"napari-tools-menu",
"cellpose",
"torch",
"image_registration",
]
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
devtools = "^0.9.0"
pre-commit = "^2.19.0"
pytest = "^7.1.2"
bumpver = "^2022.1118"
coverage = { extras = ["toml"], version = ">=7.6,<7.7" }
jsonschema = "^4.16.0"
mypy = "^1.3.0"
requests = ">=2.28.0"
napari-skimage-regionprops-mock = { file = "tests/data/napari_workflows/mock_package/dist/napari_skimage_regionprops_mock-9.9.9-py3-none-any.whl" }
pooch = "1.8.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "1.5.2"
mkdocs-material = "9.1.21"
mkdocs-literate-nav = "0.5.0"
mkdocs-gen-files = "0.4.0"
mkdocs-section-index = "0.3.5"
mkdocstrings = { extras = ["python"], version = "0.25.2" }
mkdocs-include-markdown-plugin = { version = "4.0.4", python = "^3.8,<3.12" }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
branch = true
parallel = true
relative_files = true
source = ["fractal_tasks_core"]
omit = ["tests/*", "examples/*", "fractal_tasks_core/dev/*", "*/.venv/*"]
[tool.coverage.report]
omit = ["tests/*", "examples/*", "fractal_tasks_core/dev/*", "*/.venv/*"]
[tool.bumpver]
current_version = "1.4.2"
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = ['version = "{version}"$']
"fractal_tasks_core/__init__.py" = ['__VERSION__ = "{version}"$']
[tool.deptry]
exclude = ['tests', 'examples', 'docs']