-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
121 lines (109 loc) · 2.95 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
[tool.black]
line-length = 119
skip-string-normalization = true
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| plana\/settings
| plana\/apps\/associations\/migrations
| plana\/apps\/commissions\/migrations
| plana\/apps\/contents\/migrations
| plana\/apps\/documents\/migrations
| plana\/apps\/groups\/migrations
| plana\/apps\/institutions\/migrations
| plana\/apps\/projects\/migrations
| plana\/apps\/users\/migrations
| fabfile
| _build
| buck-out
| build
| dist
)/
| manage.py
| tox.ini
| .coveragerc
# the root of the project
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.poetry]
name = "plana"
version = "1.2.4"
description = ""
authors = ["DIP - Université de Strasbourg <[email protected]>"]
license = "GPL-3.0-or-later"
[[tool.poetry.source]]
name = "GitLab django-allauth-cas"
url = "https://git.unistra.fr/api/v4/projects/43157/packages/pypi/simple"
priority = "supplemental"
[[tool.poetry.source]]
name = "GitLab britney"
url = "https://git.unistra.fr/api/v4/projects/43267/packages/pypi/simple"
priority = "supplemental"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
django = "<5.0"
allauth_cas = "^1.0.3"
cryptography = "^43.0.3"
django-allauth = "^65.2.0"
django-cleanup = "^9.0.0"
django-cors-headers = "^4.6.0"
django-extensions = "^3.2.3"
django-health-check = "^3.18.3"
django-storages = {extras = ["boto3"], version = "1.14.3"} # 1.14.4 triggers an error on django-health-check
django-summernote = "<0.9"
django-thumbnails = "^0.8.0"
djangorestframework = "^3.15.2"
djangorestframework-camel-case = "^1.4.2"
djangorestframework-simplejwt = "^5.3.1"
dj-rest-auth = "^7.0.0"
drf-spectacular = "^0.27.2"
britney = "^0.5.4"
jsonschema = "^4.23.0"
openpyxl = "^3.1.5"
psycopg = {extras = ["binary"], version = "^3.2.3"}
pyrage = "^1.2.2"
referencing = "^0.35.1"
setuptools = ">=65.5.1"
urllib3 = "<2.0" # needed to avoid dependency problems when updating boto3 and botocore
weasyprint = "^63.0"
zxcvbn = "^4.4.28"
[tool.poetry.group.dev.dependencies]
black = "^24.10.0"
coverage = "^7.6.8"
django-debug-toolbar = "^4.4.6"
pre-commit = "^4.0.1"
pylint = "^3.3.1"
pylint-django = "^2.6.1"
safety = "^3.2.11"
sentry-sdk = "^2.19.0"
tox = "<4.12" # needed to avoid dependency problems with safety
[tool.poetry.group.saas.dependencies]
chaussette-backport = "^1.3.1"
sentry-sdk = "^2.19.0"
waitress = "^2.1.2"
[tool.poetry.group.preprod.dependencies]
chaussette-backport = "^1.3.1"
sentry-sdk = "^2.19.0"
waitress = "^2.1.2"
[tool.poetry.group.prod.dependencies]
chaussette-backport = "1.3.1"
sentry-sdk = "^2.19.0"
waitress = "^2.1.2"
[tool.poetry.group.test.dependencies]
chaussette-backport = "^1.3.1"
sentry-sdk = "^2.19.0"
waitress = "^2.1.2"