-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
158 lines (143 loc) Β· 5.38 KB
/
Copy pathpyproject.toml
File metadata and controls
158 lines (143 loc) Β· 5.38 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyatlan"
dynamic = ["version"]
description = "Atlan Python Client"
readme = "README.md"
license = {text = "Apache LICENSE 2.0"}
authors = [
{name = "Atlan Technologies Pvt Ltd", email = "engineering@atlan.com"}
]
maintainers = [
{name = "Atlan Technologies Pvt Ltd", email = "engineering@atlan.com"}
]
keywords = ["atlan", "client"]
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
]
requires-python = ">=3.9.1"
dependencies = [
"pydantic~=2.13.4",
"jinja2~=3.1.6",
# tenacity 9.1.3+ requires py3.10; keep the last 3.9-compatible on 3.9 (BLDX-1571)
"tenacity~=9.1.2; python_version < '3.10'",
"tenacity~=9.1.4; python_version >= '3.10'",
"lazy-loader~=0.5",
"nanoid~=2.0.0",
"pytz~=2026.2",
"python-dateutil~=2.9.0.post0",
"PyYAML~=6.0.3",
# httpx 0.28.1 is the latest stable (1.0 is still dev-only and drops py3.9);
# when 1.0 GA lands, adopt via the same marker-split pattern (BLDX-1571).
"httpx~=0.28.1",
"httpx-retries~=0.4.6; python_version < '3.10'",
"httpx-retries~=0.6.0; python_version >= '3.10'",
"authlib~=1.6.9; python_version < '3.10'",
"authlib~=1.7.2; python_version >= '3.10'",
"msgspec~=0.20.0; python_version < '3.10'",
"msgspec~=0.21.1; python_version >= '3.10'",
]
[project.urls]
Homepage = "https://github.com/atlanhq/atlan-python"
Repository = "https://github.com/atlanhq/atlan-python"
Documentation = "https://github.com/atlanhq/atlan-python"
Issues = "https://github.com/atlanhq/atlan-python/issues"
[project.scripts]
# Regenerate the native (v3) app builders + their tests from the tenant's UI
# configmaps. Needs ATLAN_BASE_URL + ATLAN_API_KEY in the environment.
generate-apps = "pyatlan.generator.generate_apps:main"
[dependency-groups]
dev = [
# Newer versions of the marker-split packages below require py3.10+ (or 3.11+
# for networkx); the < pin keeps the last 3.9-compatible release (BLDX-1571).
"mypy~=1.19.0; python_version < '3.10'",
"mypy~=2.3.0; python_version >= '3.10'",
"ruff~=0.15.22",
"types-setuptools~=81.0.0.20260209; python_version < '3.10'",
"types-setuptools~=83.0.0.20260716; python_version >= '3.10'",
"types-Authlib~=1.6.7.20260208; python_version < '3.10'",
"types-Authlib~=1.6.11.20260518; python_version >= '3.10'",
"jaraco-context~=6.1.0",
"filelock~=3.32.0; python_version >= '3.10'",
"virtualenv~=21.7.0",
"urllib3~=2.7.0; python_version >= '3.10'",
"pytest~=8.4.2; python_version < '3.10'",
"pytest~=9.1.1; python_version >= '3.10'",
"pytest-vcr~=1.0.2",
"vcrpy~=7.0.0; python_version < '3.10'",
"vcrpy~=8.3.0; python_version >= '3.10'",
"pytest-order~=1.5.0",
"pytest-timer[termcolor]~=1.0.0",
"pytest-sugar~=1.1.1",
"pre-commit~=4.3.0; python_version < '3.10'",
"pre-commit~=4.6.0; python_version >= '3.10'",
"deepdiff~=8.6.1; python_version < '3.10'",
"deepdiff~=9.1.0; python_version >= '3.10'",
"pytest-cov~=7.1.0",
"twine~=6.2.0",
"types-retry~=0.9.9.20250322",
"networkx~=3.2.1; python_version < '3.11'",
"networkx~=3.6.1; python_version >= '3.11'",
"networkx-stubs~=0.0.1",
"pytest-asyncio~=1.2.0; python_version < '3.10'",
"pytest-asyncio~=1.4.0; python_version >= '3.10'",
]
docs = [
"mkdocs~=1.6.1",
"mkdocs-material~=9.7.7",
# mkdocstrings 1.x is a major (config-format changes) and the docs build is
# not exercised by unit tests β bump separately with a verified docs build.
"mkdocstrings[python]~=0.29.1",
"pydantic~=2.13.4",
"jinja2~=3.1.6",
"networkx~=3.2.1; python_version < '3.11'",
"networkx~=3.6.1; python_version >= '3.11'",
"tenacity~=9.1.2; python_version < '3.10'",
"tenacity~=9.1.4; python_version >= '3.10'",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["pyatlan*"]
[tool.setuptools.package-data]
pyatlan = ["py.typed", "logging.conf"]
"*" = ["*.jinja2"]
[tool.setuptools.dynamic]
version = {file = "pyatlan/version.txt"}
[tool.mypy]
plugins = ["pydantic.mypy"]
[tool.ruff]
fix = true
line-length = 88
exclude = ["env", "venv", "__pycache__", "pyatlan_v9/model/assets/_overlays"]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
"pyatlan/model/assets.py" = ["S307"]
"pyatlan/model/assets/**.py" = ["E402", "F811"]
"pyatlan/model/assets/core/**.py" = ["E402", "F811"]
"pyatlan_v9/model/assets/**.py" = ["E402", "F821"]
"pyatlan_v9/model/transform.py" = ["E402"]
[tool.pytest.ini_options]
addopts = "-p no:name_of_plugin"
asyncio_mode = "auto"
asyncio_default_test_loop_scope = "module"
asyncio_default_fixture_loop_scope = "module"
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.uv]
environments = ["python_version >= '3.9' and python_version < '3.15' and platform_python_implementation == 'CPython'"]
constraint-dependencies = ["cryptography>=48.0.1"]
[tool.poe.tasks]
snyk-requirements = "uv export --all-extras --no-hashes > snyk-requirements.txt"