-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
142 lines (125 loc) · 4.07 KB
/
pyproject.toml
File metadata and controls
142 lines (125 loc) · 4.07 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
# configuration approach followed:
# - whenever possible, prefer pyproject.toml
# - for configurations insufficiently supported by pyproject.toml, use setup.cfg instead
# - setup.py discouraged; minimal stub included only for compatibility with legacy tools
[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["terratorch_iterate*"]
[project]
name = "terratorch-iterate"
version = "0.3"
requires-python = ">= 3.11"
description = "A terratorch's plugin for benchmarking and hyperparameter optimization"
authors = [
{ name = "Carlos Gomes"},
{ name = "Daniela Szwarcman"},
{ name = "Francesc Marti Escofet"},
{ name = "Leonardo Pondian Tizzei", email = "ltizzei@br.ibm.com" },
{ name = "Naomi Simumba"},
{ name = "Paolo Fraccaro"},
{ name = "Romeo Kienzler"}
]
license = { "text" = "Apache License, Version 2.0" }
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
readme = "README.md"
dependencies = [
"terratorch>=1.1.0",
# requests>=2.32.0 because of this vulnerability https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56
"requests>=2.32.0",
# Jinja2 vulnerability issue https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj
"Jinja2>=3.1.5",
# urllib3 vulnerability issue https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf
"urllib3>=2.2.2",
# fix this sqlparse issue https://www.cve.org/CVERecord?id=CVE-2024-4340
"sqlparse>=0.5.0",
# fix this scikit-learn issue https://www.cve.org/CVERecord?id=CVE-2024-5206
"scikit-learn>=1.5.0",
# fix this pillow issue https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security
"pillow>=10.3.0",
# fix this aiohttp issue https://github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g
"aiohttp>=3.9.4",
# fix this tqdm issue https://github.com/tqdm/tqdm/security/advisories/GHSA-g7vv-2v7x-gj9p
"tqdm>=4.66.3",
# fix this werkzeug issue https://github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985
"werkzeug>=3.0.3",
# fix this pytorch-lightning issue https://nvd.nist.gov/vuln/detail/CVE-2024-5452
"pytorch-lightning>=2.3.3",
"more-itertools",
"importlib-metadata",
"numpy",
"mlflow",
"optuna",
"types-tabulate",
"gputil",
"asyncio",
"opencv-python-headless",
"configspace",
"optuna-integration",
"psutil",
"tabulate>=0.9.0",
"torch",
"seaborn"
]
[project.urls]
Homepage = "https://github.com/terrastackai/iterate"
Issues = "https://github.com/terrastackai/iterate/issues"
[project.optional-dependencies]
dev = [
"ruff",
"flake8",
"mkdocs-material",
"mkdocstrings[python]",
"mike", # for building docs with versions
"tox",
"pre-commit",
]
test = [
"coverage",
"pytest",
"pytest-cov",
"deepdiff"
]
utility = [
"geobench"
]
# If you want to catch Nvidia GPU metrics, you also need to install pynvml:
nvidia = ["pynvml"]
# PostgreSQL coordinator plugin — installs the psycopg2 driver.
# Use psycopg2-binary for a self-contained wheel (no libpq build dependency).
# For production deployments that compile against a system libpq, replace with
# psycopg2 (without -binary).
postgresql = ["psycopg2-binary>=2.9"]
# If you are using AMD/HIP GPUs, install pyrsmi
amd = ["pyrsmi"]
[tool.black]
target-version = ["py312"]
line-length = 88
skip-string-normalization = true
[project.scripts]
iterate-classic = "terratorch_iterate.main:main"
iterate = "terratorch_iterate.iterate2:main"
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
force_to_top = ["rdkit", "scikit-learn"]
[tool.mypy]
check_untyped_defs = true
disable_error_code = ["import-untyped"]
[[tool.mypy.overrides]]
module = "pytest.*"
ignore_missing_imports = true
# [tool.pytest.ini_options]
# addopts = "--cov=benchmark --cov-report html"