-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
86 lines (73 loc) · 2.64 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[tool.poetry]
name = "sql-mock"
version = "0.6.2"
description = "Simplify the testing of SQL data models and queries by allowing users to mock input data and create tests for various scenarios. It provides a consistent and convenient way to test the execution of your query without the need to process a massive amount of data."
repository = "https://github.com/DeepLcom/sql-mock"
readme = "README.md"
authors = ["DeepL SE", "Thomas Schmidt <[email protected]>"]
license = "MIT"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Database",
"Topic :: Scientific/Engineering",
"Topic :: Utilities",
]
packages = [
{ include = "sql_mock", from = "src" },
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/DeepLcom/sql-mock/issues"
"Changelog" = "https://github.com/DeepLcom/sql-mock/blob/main/CHANGELOG.md"
[tool.poetry.dependencies]
python = "^3.9"
jinja2 = "^3.1.2"
pydantic-settings = "^2.0.3"
sqlglot = "^20.5.0"
pyyaml = "^6.0.1"
# Clickhouse specific
clickhouse-connect = {version = "^0.7.0", optional = true}
# Google Bigquery specific
google-cloud-bigquery = {version ="^3.11.4", optional = true}
# Redshift specific
boto3 = "1.34.14" # Pin version to resolve dependencies faster
redshift-connector = "^2.0.918"
# Snowflake specific
snowflake-connector-python = "^3.6.0"
[tool.poetry.extras]
bigquery = ["google-cloud-bigquery"]
clickhouse = ["clickhouse-connect"]
redshift = ["redshift-connector", "boto3"]
snowflake = ["snowflake-connector-python"]
[tool.poetry.dev-dependencies]
pytest = "^7.2"
pytest-mock = "^3.11.1"
pytest-icdiff = "^0.8"
pre-commit = "^3.5.0"
black = "^23.9.1"
isort = "^5.12.0"
flake8 = "^6.1.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
# Ignore Google Bigquery namespace deprecation warnings
filterwarnings = [
"ignore:Deprecated call to `pkg_resources\\.declare_namespace\\('.*'\\):DeprecationWarning",
"ignore::DeprecationWarning:google.rpc",
]
markers = [
"integration: Integration tests requiring running database instances"
]