-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (55 loc) · 1.73 KB
/
pyproject.toml
File metadata and controls
69 lines (55 loc) · 1.73 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
[tool.poetry]
name = "mandible"
version = "0.10.5"
description = "A generic framework for writing satellite data ingest systems"
authors = ["Rohan Weeden <reweeden@alaska.edu>", "Matt Perry <mperry37@alaska.edu>"]
license = "APACHE-2"
readme = "README.md"
[build-system]
requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = ">=3.10"
# Required
typing-extensions = "^4.12.2"
# Optional
h5py = { version = "^3.6.0", optional = true }
jsonpath-ng = { version = "^1.4.0", optional = true }
lxml = { version = ">=4.9.2,<7.0.0", optional = true }
# Numpy is pinned to a minimum version by h5py. Unpinning here means our
# requirements will always match those of h5py.
numpy = { version = "*", optional = true }
requests = { version = "^2.32.3", optional = true }
s3fs = { version = ">=0.4.2", optional = true }
[tool.poetry.extras]
all = ["h5py", "numpy", "requests", "jsonpath-ng", "s3fs", "lxml"]
h5 = ["h5py", "numpy"]
http = ["requests"]
jsonpath = ["jsonpath-ng"]
s3 = ["s3fs"]
xml = ["lxml"]
[tool.poetry.group.dev.dependencies]
boto3 = "^1.18"
moto = "^5.0.0"
pytest = "^8.0.2"
pytest-cov = "^4.0.0"
pytest-mock = "^3.8.2"
[tool.poetry.group.mypy.dependencies]
lxml-stubs = "^0.5.1"
mypy = "^1.14.1"
types-requests = "<2.31.0.7"
[tool.pytest.ini_options]
markers = [
"h5: requires the 'h5' extra to be installed",
"http: requires the 'http' extra to be installed",
"jsonpath: requires the 'jsonpath' extra to be installed",
"s3: requires the 's3' extra to be installed",
"xml: requires the 'xml' extra to be installed",
]
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
# Add the `line-too-long` rule to the enforced rule set.
extend-select = ["E501"]