-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (116 loc) · 3.76 KB
/
Copy pathpyproject.toml
File metadata and controls
125 lines (116 loc) · 3.76 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
[project]
name = "macro_agents"
requires-python = ">=3.11,<3.12"
version = "0.1.0"
dependencies = [
"dagster>=1.12.18,<2.0.0",
"dagster-cloud",
"psycopg2-binary>=2.9.0,<3.0.0",
"dagster-postgres>=0.28.18,<1.0.0",
"dagster-docker>=0.28.18,<1.0.0",
"db-dtypes>=1.0.0,<2.0.0",
"polars>=1.0.0,<2.0.0",
"dagster-dbt>=0.28.18,<1.0.0",
"requests>=2.31.0,<3.0.0",
"dbt-core>=1.11.10,<2.0.0",
"google-api-core>=2.0.0,<3.0.0",
"google-auth>=2.0.0,<3.0.0",
"google-cloud-bigquery>=3.0.0,<4.0.0",
"dbt-bigquery>=1.11.0,<2.0.0",
"dagster-shared>=1.12.18,<2.0.0",
"dagster-pipes>=1.12.18,<2.0.0",
"dagster-dg-cli>=1.12.18,<2.0.0",
"dagster-webserver>=1.12.18,<2.0.0",
"pyarrow>=21.0.0,<24.0.0",
"beautifulsoup4>=4.12.0,<5.0.0",
"lxml>=5.0.0,<7.0.0",
"tenacity>=9.1.2,<10.0.0",
"dspy>=3.0.0,<4.0.0",
"dagster-sling>=0.28.18,<1.0.0",
"google-cloud-storage>=2.10.0,<4.0.0",
"altair>=5.3.0,<6.0.0",
"vl-convert-python>=1.6.0,<2.0.0",
"openai>=1.0.0,<3.0.0",
"anthropic>=0.18.0,<1.0.0",
"google-genai>=1.0.0,<2.0.0",
"google-api-python-client>=2.0.0,<3.0.0",
"google-auth-httplib2>=0.1.0,<1.0.0",
"google-auth-oauthlib>=1.2.0,<2.0.0",
"PyGithub>=2.1.1,<3.0.0",
"gspread>=6.0.0,<7.0.0",
"ruff>=0.12.10",
"pyyaml>=6.0.0,<7.0.0",
"scikit-learn>=1.4.0,<2.0.0",
"scipy>=1.12.0,<2.0.0",
"networkx>=3.2.0,<4.0.0",
"pdfplumber>=0.11.0,<1.0.0",
"vadersentiment>=3.3.2",
"sqlglot>=28.1.0,<29.0.0",
"metaxy[dagster]>=0.1.10,<0.2.0",
"aiohttp>=3.14.1",
"cryptography>=48.0.1",
"msgpack>=1.2.1",
"pydantic-settings>=2.14.2",
"pyjwt>=2.13.0",
"starlette>=1.3.1",
]
[project.optional-dependencies]
dev = [
"dagster-webserver",
"pytest>=9.0.3,<9.1.0",
"pytest-cov",
"pytest-xdist",
"mypy",
"ty",
"duckdb>=1.0.0,<2.0.0",
"ruff>=0.12.7,<1.0.0", # Move ruff here
"sqlfluff>=4.2.0,<5.0.0", # Move sqlfluff here
"sqlfluff-templater-dbt>=4.2.0,<5.0.0", # Move here
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
# metaxy 0.1.10 requires sqlglot>=28.1 while dagster-dbt 0.29.x pins
# sqlglot<28.1. Both pins look conservative; override to a version both
# accept at runtime. sqlglot 28.10 ships with sqlglotrs 0.12.0, so we
# override sqlglotrs too — otherwise dagster-dbt's transitive sqlglot[rs]
# constraint resolves the rust extension to 0.6.1 which is ABI-incompatible
# with the upgraded sqlglot. Revisit when either package relaxes.
override-dependencies = [
"sqlglot>=28.1.0,<29.0.0",
"sqlglotrs>=0.12.0,<0.13.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/macro_agents"]
include = [
"dbt_project/**/*",
]
[tool.dg]
directory_type = "project"
[tool.dg.project]
root_module = "macro_agents"
[tool.pytest.ini_options]
markers = [
"essential: Essential tests that must pass in CI",
"network: Tests that require external network access and are opt-in",
"skip_ci: Tests to skip in CI (brittle or non-essential)",
]
filterwarnings = [
"ignore::pydantic.warnings.PydanticDeprecatedSince20:",
"ignore::DeprecationWarning:pydantic._internal._config",
"ignore::DeprecationWarning:dagster._core.definitions.run_request:",
"ignore::DeprecationWarning:dagster._core.definitions.sensor_definition:",
"ignore:Non-compliant tag keys like .*:DeprecationWarning:dagster._core.definitions.schedule_definition",
]
[tool.coverage.run]
source = ["macro_agents"]
[tool.coverage.report]
fail_under = 50
include = [
"src/macro_agents/defs/asset_failure_sensor.py",
"src/macro_agents/defs/domains/sec/search.py",
"src/macro_agents/defs/resources/bigquery_query.py",
"src/macro_agents/defs/resources/bigquery_warehouse.py",
]
show_missing = true