-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
183 lines (153 loc) · 3.54 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
[tool.poetry]
name = "abilian-core"
version = "0.11.24"
description = "A framework for enterprise applications (CRM, ERP, collaboration...)."
authors = ["Abilian SAS"]
license = "LGPL-2.0-or-later"
readme = "README.rst"
repository = "https://github.com/abilian/abilian-core"
packages = [{ include = "abilian", from = "src" }]
include = ["src/**/*"]
[tool.poetry.dependencies]
python = "^3.9,<3.10"
# Flask and friends
Flask = "~1.1.4"
Flask-Assets = ">=0.12"
Flask-Mail = ">=0.9.1"
Flask-Migrate = ">=2.0"
Flask-Login = ">=0.4"
Flask-Talisman = ">=0.6"
# Pinned dependencies
werkzeug = "<1"
Flask-Babel = ">=0.11,<2"
jinja2 = "~2"
markupsafe = "~2.0"
itsdangerous = "~1"
# Databases / persistence
alembic = ">=0.9"
# We're not ready for SQLAlchemy 1.4 yet (due to sqlalchemy_utils).
sqlalchemy = "~1.3"
# flask-sqlachemy 2.2 breaks our apps.
flask-sqlalchemy = "<=2.1"
# Currently broken w/ 0.13
Flask-WTF = ">=0.12,<0.13"
# Currently broken w/ 2.0
webassets = "< 2"
# Forms add-ons
WTForms-Alchemy = ">=0.12"
wtforms = "~2.3"
wtforms-sqlalchemy = "*"
# can parse isoformat / used in a jinja filter
python-dateutil = "^2.4.0"
# requirement of jinja2; > 0.21 has an important fix for string format. See
# https://github.com/mitsuhiko/markupsafe/issues/28
#MarkupSafe = ">=0.21"
# Indexing
Whoosh = "^2.5"
# Task queue
celery = "~4"
redis = "~3"
# Security
bleach = ">=2"
bcrypt = "*"
# low-level tools
deprecated = "*"
hyperlink = "*"
# Used by DeferredJS (TODO: remove)
lxml = "*"
# Used by the logging config loader (TODO: remove)
PyYAML = "*"
# Used by the connection audit
pygeoip = "*"
# Progres bar, used by some scripts
tqdm = "*"
# Used by the Sentry extension
sentry-sdk = { version = "*", extras = ["flask"] }
# for debug toolbar
sqlparse = "*"
# antivirus interface
clamd = "*"
# Content detection / transformation
python-magic = "*"
pillow = "*"
# Reporting
pandas = ">=0.17"
#
# Assets management (might not be necessary if distributing compiled assets)
#
jsmin = "~3.0"
cssmin = "*"
closure = "*"
devtools = "*"
[tool.poetry.group.dev.dependencies]
#abilian-devtools = "*"
Flask-DebugToolbar = ">=0.10"
ruff = "*"
# For running tests (pytest and friends)
pytest = "*"
pytest-flask = "*"
pytest-xdist = "*"
pytest-randomly = "*"
pytest-repeat = "*"
pytest-cov = "*"
typeguard = "*"
nox = "*"
tox = "*"
# Static code analysis: flake* and friends
flake8 = "*"
flake8-assertive = "*"
flake8-blind-except = "*"
flake8-bugbear = "*"
flake8-comprehensions = "*"
flake8-isort = "*"
flake8-logging-format = "*"
flake8-mutable = "*"
flake8-pytest = "*"
flake8-super-call = "*"
flake8-tidy-imports = "*"
# mastool = "*"
mccabe = "*"
mypy = "*"
# Later
# flake8-pep3101
# this one tries too hard
# pep8-naming
# Development tools
pre-commit = "*"
# Formatting
isort = "*"
docformatter = "*"
black = "*"
## To build docs
## (Doesn't work w/ sphinx 1.4.5)
#Sphinx = ">=1.5.5"
## Standard theme for readthedocs.com
#sphinx-rtd-theme = "*"
# Used to generate changelogs
gitchangelog = "*"
# Used by functional tests
requests = "*"
# Used by some tests
html5lib = "*"
# Check README
restructuredtext_lint = "*"
# Temp (workaround poetry issue)
docutils = "*"
# Doc (to try later)
# portray = "^1.3"
# Check deps
safety = "*"
# Types libraries
types-bleach = "^3.3.3"
types-deprecated = "^0.1.3"
types-python-dateutil = "^0.1.4"
types-pytz = "^2021.1.0"
types-pyyaml = "^5.4.3"
types-redis = "^3.5.4"
types-requests = "^2.25.1"
types-setuptools = "^57.0.0"
watchgod = "^0.7"
portray = "^1.7.0"
[build-system]
requires = ["poetry-core>=1.0.0", "setuptools"]
build-backend = "poetry.core.masonry.api"