forked from meta-introspector/streamlit-server-state
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (56 loc) · 1.73 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
[tool.poetry]
name = "streamlit-server-state"
version = "0.17.1"
description = ""
authors = ["Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/whitphx/streamlit-server-state"
[tool.poetry.dependencies]
python = ">=3.8,<4,!=3.9.7" # 3.9.7 is excluded due to https://github.com/streamlit/streamlit/pull/5168
streamlit = ">=0.65.0"
packaging = ">=20.0"
[tool.poetry.dev-dependencies]
# [tool.poetry.group.dev.dependencies] # Poetry 1.2.0 is not supported on Streamlit Cloud, see https://github.com/whitphx/streamlit-server-state/issues/143
black = "^20.8b1"
click = ">=7.0,<8.0" # We must specify the click version because we install older versions of Streamlit in the CI process and their depending click version is different from the newer releases.
isort = "^5.12.0"
flake8 = "^4.0.1"
mypy = "^1.5"
pytest = "^7.4.0"
# It is necessary to specify numpy and pandas versions for Poetry to resolve the package versions correctly and avoid errors.
numpy = [
{version = "^1.21.0", python = ">=3.7,<3.11"},
{version = "^1.22.0", python = ">=3.11"},
]
pandas = [
{version = "1.1.5", python = ">=3.7,<3.8"},
{version = "^1.4.0", python = ">=3.8"},
]
streamlit = "^1.12.2"
[tool.black]
line-length = 88
target-version = ['py38']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
# https://pycqa.github.io/isort/docs/configuration/black_compatibility/
profile = "black"
multi_line_output = 3
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"