-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
62 lines (55 loc) · 1.59 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
[project]
name = "pgstacrs"
description = "Python async API for pgstac, backed by Rust"
readme = "README.md"
requires-python = ">=3.9"
authors = [{ name = "Pete Gadomski", email = "[email protected]" }]
keywords = ["stac", "geospatial", "postgres", "pgstac"]
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]
[project.urls]
Github = "https://github.com/stac-utils/pgstacrs"
Docs = "https://stac-utils.github.io/pgstacrs/"
Issues = "https://github.com/stac-utils/pgstacrs/issues"
[dependency-groups]
dev = [
"pytest-asyncio>=0.24.0",
"pytest>=8.3.3",
"pytest-postgresql>=6.1.1",
"pypgstac>=0.9.1",
"psycopg[pool]>=3.2.3",
"mkdocs-material[imaging]>=9.5.46",
"mkdocstrings[python]>=0.26.1",
"ruff>=0.8.0",
"maturin>=1.7.4",
"mkdocs-jupyter>=0.24.8",
"mypy>=1.13.0",
"mike>=2.1.3",
]
[tool.mypy]
strict = true
files = "tests/**/*.py"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
filterwarnings = [
"error",
"ignore:the default for the ConnectionPool:DeprecationWarning",
]
markers = ["external: requires an external database via docker compose"]
[tool.uv]
# https://github.com/PyO3/maturin/issues/2314#issuecomment-2488542771
cache-keys = [
{ file = "pyproject.toml" },
{ file = "Cargo.toml" },
{ file = "src/*.rs" },
]
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[tool.maturin]
features = ["pyo3/extension-module"]