Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 2.87 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (66 loc) · 2.87 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
[tool.poetry]
# Distribution name is `gregale-sdk`; the import package stays `faas_sdk`
# (like `pip install pillow` -> `import PIL`). Do NOT name or publish it
# `faas_sdk`/`faas-sdk`: that PyPI project belongs to an unrelated company
# (Sonra Intelligence Ltd), so the name would point customers at someone
# else's code. tests/test_packaging.py pins this.
name = "gregale-sdk"
version = "0.1.0"
description = "Python SDK for Gregale applications"
license = "Apache-2.0"
authors = []
readme = "README.md"
packages = [
{ include = "faas_sdk" },
]
include = [
"faas_sdk/py.typed",
{ path = "faas_sdk/preview/event_consumer_schema.sql", format = ["sdist", "wheel"] },
{ path = "faas_sdk/preview/event_consumer_processing_schema.sql", format = ["sdist", "wheel"] },
{ path = "faas_sdk/preview/event_acknowledgment_intent_schema.sql", format = ["sdist", "wheel"] },
{ path = "faas_sdk/preview/event_acknowledgment_intent_stored_retry_policy_schema.sql", format = ["sdist", "wheel"] },
{ path = "faas_sdk/preview/event_acknowledgment_intent_policy_adoption_schema.sql", format = ["sdist", "wheel"] },
{ path = "faas_sdk/preview/event_acknowledgment_intent_retry_budget_schema.sql", format = ["sdist", "wheel"] },
{ path = "faas_sdk/preview/event_acknowledgment_intent_retry_resume_schema.sql", format = ["sdist", "wheel"] },
{ path = "faas_sdk/preview/event_acknowledgment_intent_budget_adoption_schema.sql", format = ["sdist", "wheel"] },
{ path = "faas_sdk/preview/operation_schema.sql", format = ["sdist", "wheel"] },
{ path = "faas_sdk/preview/customer_operation_schema.sql", format = ["sdist", "wheel"] },
{ path = "faas_sdk/preview/data_repair_readiness_probe.json", format = ["sdist", "wheel"] },
]
[tool.poetry.urls]
Homepage = "https://gregale.dev"
Documentation = "https://gregale.dev/docs/sdks#python"
Repository = "https://github.com/gregale-dev/gregale-python"
Issues = "https://github.com/gregale-dev/gregale-python/issues"
[tool.poetry.dependencies]
python = "^3.11"
httpx = ">=0.23.1,<0.29.0"
attrs = ">=22.2.0"
"ruamel.yaml" = "==0.19.1"
websockets = { version = ">=15.0.1,<16", optional = true }
cryptography = { version = ">=42", optional = true }
[tool.poetry.extras]
realtime = ["websockets"]
auth = ["cryptography"]
[tool.poetry.group.dev.dependencies]
build = "==1.6.1"
mypy = "==2.4.1"
poetry-core = ">=2,<3"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["F", "I", "UP"]
[tool.pytest.ini_options]
markers = [
"regen: deterministic-regen tripwire (heavy; opt in with -m regen).",
]
# Default selection excludes the heavy regen tripwire; run it via
# `pytest -m regen tests/test_post_process.py` to opt in.
addopts = ["-m", "not regen"]
asyncio_mode = "auto"
[tool.ruff.lint.per-file-ignores]
"faas_sdk/api/**" = ["UP"]
"faas_sdk/models/**" = ["UP"]