Skip to content

Commit 06397d0

Browse files
committed
Set up dependencies more correctly
1 parent a59788b commit 06397d0

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

poetry.lock

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ authors = ["Thread Engineering <[email protected]>"]
66
license = "BSD-3-Clause"
77

88
[tool.poetry.dependencies]
9-
python = "^3.5"
9+
python = ">=3.5"
1010
django = ">=1.11.27,<3.0"
11-
daemonize = "^2.5.0"
12-
redis = "^3.3.11"
13-
prometheus-client = "^0.7.1"
11+
daemonize = "~=2.5.0"
12+
prometheus-client = "~=0.7"
13+
redis = {version = "~=3.*", optional = true}
14+
15+
[tool.poetry.extras]
16+
redis = ["redis"]
1417

1518
[tool.poetry.dev-dependencies]
1619
fakeredis = "^1.1.0"

0 commit comments

Comments
 (0)