-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (77 loc) · 2.13 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
[tool.poetry]
name = "marketing-data-engine"
version = "0.1.0"
description = "Marketing Data Engine"
authors = ["Marketing Analytics Solutions Architects <ma-se@google.com>"]
license = "Apache 2.0"
readme = "README.md"
packages = [{include = "python"}]
[tool.poetry.dependencies]
python = ">=3.7.1,<3.11"
google-cloud-aiplatform = "1.22.0"
google-cloud = "^0.34.0"
jinja2 = ">=3.0.1,<4.0.0"
pip = "22.3.1"
invoke = "1.7.3"
pre-commit = ">=2.14.1,<3.0.0"
pandas = "1.3.5"
google-cloud-bigquery = "2.30.0"
google-cloud-pipeline-components = "1.0.33"
google-auth = "^2.14.1"
google-cloud-storage = "^2.6.0"
## Fixing this error: https://stackoverflow.com/questions/76175487/sudden-importerror-cannot-import-name-appengine-from-requests-packages-urlli
kfp = {version = "2.0.0-b12", allow-prereleases = true}
#kfp = {version = "2.0.0-b16", allow-prereleases = true}
kfp-server-api = "2.0.0.a6"
#kfp-server-api = "2.0.0b1"
urllib3 = "1.26.15"
toml = "0.10.2"
docker = "^6.0.1"
ma-components = {path = "python/base_component_image/", develop = true}
google-cloud-pubsub = "2.15.0"
[tool.poetry.group.component_vertex.dependencies]
google-cloud-aiplatform = "1.22.0"
toml = "0.10.2"
[tool.poetry.group.test.dependencies]
pytest = "7.0.0"
pytest-env = "0.6.2"
pytest-mock = "3.7.0"
pytest-variables = {extras = ["yaml"], version = "^2.0.0"}
coverage = {extras = ["toml"], version = "^6.5.0"}
pytest-cov = "^4.0.0"
pytest-xdist = "^3.0.2"
[tool.poetry.group.dev.dependencies]
pip = "22.3.1"
invoke = "1.7.3"
pre-commit = ">=2.14.1,<3.0.0"
black = "22.10.0"
flake8 = "5.0.4"
flake8-annotations = "2.9.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "-vv -s --variables config/config.yaml"
variables = "config/config.yaml"
testpaths = ["python/pipelines"]
markers = [
"unit",
"inte",
"pipeline_run",
"feature_eng_pl",
"training_pl",
"customer_seg_pl",
"current",
"curl",
"schedule"
]
log_cli=true
log_level="INFO"
[tool.coverage.run]
include = ["*/python/*"]
omit = ["*/tests/*"]
parallel = true
[tool.coverage.report]
fail_under = 70
show_missing = true
skip_empty= true