-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
103 lines (91 loc) · 2.66 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
[tool.poetry]
name = "lours"
version = "1.0.0"
description = ""
authors = ["Lilian Glaudin <lilian.glaudin@xxii.fr>",
"Clément Pinard <mail@clementpinard.fr>",
"Quoc Cuong LE <quoccuong.le@xxii.fr>",
"Nacer Kaci <nacer.kaci@xxii.fr>",
"Bastien Botrel <bastien.botrel@xxii.fr>"]
packages = [
{include = "lours"}
]
license = "MIT"
readme = "README.md"
[tool.poetry.scripts]
caipy_to_fiftyone = "lours.cli.caipy_to_fiftyone:run"
c2f = "lours.cli.caipy_to_fiftyone:run"
[tool.poetry.plugins."pytest11"]
dataset_regressions = "lours.utils.regression_testing"
[tool.poetry.dependencies]
python = ">=3.10, <3.13"
pandas = "^2.2.3"
pyarrow = "^17.0.0"
tqdm = "^4.64"
PyYAML = "^6.0.1"
imageio = "^2.31.3"
imagesize = "^1.4.1"
POT = "^0.9.1"
jsonschema-rs = "^0.20.0"
scikit-learn = "^1.3.0"
typing-extensions = "^4.7.1"
watchdog = "^5.0.0"
toml = "^0.10.2"
shortuuid = "^1.0.11"
faker = "^29.0.0"
requests= "^2"
fiftyone = "^1.0.0"
# Pinning boto3 is needed because of fiftyone's dependencies
# because Boto3/botocore has way too much different versions.
# Since fiftyone declared its dependence on but with any version ("*"), the dependency
# resolving takes forever because it tries every single boto3 version.
# See similar problem with awscli : https://github.com/python-poetry/poetry/issues/1173
# See related issue on fiftyone :
# https://github.com/voxel51/fiftyone/issues/3145
boto3 = "1.26.83"
xmltodict = "^0.13.0"
pytest-regressions = "^2.5.0"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.3"
pycocotools = "^2.0.8"
pre-commit = "^4.0.0"
coverage = "^7.6.1"
pandas-stubs = "^2.2.2.240909"
pytest-sugar = "^1.0.0"
ipykernel = "^6.29.0"
ipywidgets = "^8.0.3"
pytest-xdist = "^3.6.1"
[tool.poetry.group.docs.dependencies]
Sphinx = "^8.0.0"
pydata-sphinx-theme = "^0.15.2"
myst-parser = "^4.0.0"
jupyter = "^1.0.0"
seaborn = "^0.13.0"
nbsphinx = "^0.9.3"
sphinx-copybutton = "^0.5.2"
sphinx-autobuild = "^2024.0.0"
ipython = "^8.15.0"
sphinx-favicon = "^1.0.1"
sphinx-argparse = "^0.5.0"
mercury = "^2.3.10"
[tool.poetry.extras]
fiftyone = ["fiftyone", "boto3"]
plot-utils = ["matplotlib"]
regression = ["pytest-regressions"]
[tool.pydoclint]
style = 'google'
arg-type-hints-in-docstring = false
skip-checking-raises = true
allow-init-docstring = true
check-return-types = false
check-yield-types = false
[tool.pytest.ini_options]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "ELLIPSIS"]
addopts = "--import-mode=importlib --doctest-modules"
testpaths = ["test_lours", "lours"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# Only measure coverage for the lours package
[tool.coverage.run]
source = ["lours"]