-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
36 lines (31 loc) · 1010 Bytes
/
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
[tool.poetry]
name = "pyspark-prometheus"
version = "0.1.3"
description = "Prometheus instrumentation for Spark Streaming metrics."
authors = ["Zachary King <zach@makewithdata.tech>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/zcking/pyspark_prometheus"
keywords = ["prometheus", "spark", "streaming", "metrics"]
[tool.poetry.dependencies]
python = "^3.9"
pyspark = ">=3.5.0"
prometheus-client = ">=0.21.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
responses = "^0.25.3"
pytest-mock = "^3.14.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = [
"tests"
]
addopts = "--strict-markers --cov=pyspark_prometheus --cov-report=html:coverage -m 'not integration'"
# To run integration tests, `poetry run pytest -m 'integration'`
# To prevent output from being swalled during tests, `poetry run pytest --capture=no
markers = [
"integration: marks integration tests",
]