-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (74 loc) · 2.26 KB
/
pyproject.toml
File metadata and controls
82 lines (74 loc) · 2.26 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
[build-system]
# NOTE - versions of Hatchling more recent than 1.8.0 have a dependency on pathspec >= 0.10.1. However,
# Databricks Runtime versions only have pathspec==0.9.0 installed, and so attempting to `pip install ...`
# syncsparkpy will fail with an `AttributeError`. Pinning Hatching to this version, which is the most
# recent version to only require pathspec >= 0.9.0, resolves that issue without asking the user to
# install pathspec >= 0.10.1 on their Databricks clusters. We should only ever upgrade this version once
# most/all Databricks Runtime LTS releases support pathspec >= 0.10.1, which may be a while...
# See here for DBR release notes - https://docs.databricks.com/release-notes/runtime/releases.html
requires = ["hatchling==1.8.0"]
build-backend = "hatchling.build"
[project]
name = "syncsparkpy"
authors = [{"name" = "Sync Computing"}]
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"boto3~=1.26.0",
"pydantic~=1.10.0",
"httpx~=0.23.0",
"click~=8.1.0",
"tenacity==8.2.2",
"azure-identity==1.13.0",
"azure-mgmt-compute==30.1.0",
"azure-mgmt-resource==23.0.1",
"azure-cli-core==2.50.0"
]
dynamic = ["version", "description"]
[project.optional-dependencies]
dev = [
"black==22.10.0",
"flake8==5.0.4",
"isort==5.10.1",
"pytest==8.0.0",
"pytest-env==0.8.1",
"pytest-asyncio==0.21.0",
"Sphinx==4.3.0",
"respx==0.20.1",
"deepdiff==6.3.0",
]
[tool.hatch.version]
path = "sync/__init__.py"
[project.scripts]
sync-cli = "sync.__main__:main"
[project.urls]
Home = "https://github.com/synccomputingcode/syncsparkpy"
[tool.black]
line-length = 100
target-version = ['py37']
[tool.isort]
profile = "black"
line_length = 100
[tool.pytest.ini_options]
pythonpath = [
"."
]
filterwarnings = [
"ignore::UserWarning"
]
env = [
"AWS_DEFAULT_REGION=us-east-1",
"SYNC_API_KEY_ID=fake",
"SYNC_API_KEY_SECRET=fake",
]