-
Notifications
You must be signed in to change notification settings - Fork 51
/
pyproject.toml
151 lines (143 loc) · 5.69 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
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
known_first_party = ["config", "grandchallenge", "tests"]
line_length = 79
[tool.black]
line-length = 79
target-version = ['py311']
[tool.curlylint.rules]
html_has_lang = 'en'
django_forms_rendering = true
image_alt = true
# TODO: Enable this, would otherwise be a big change
# indent = 4
meta_viewport = true
no_autofocus = true
tabindex_no_positive = true
[tool.poetry]
name = "grand-challenge.org"
version = "0.1.0"
description = "A platform for end-to-end development of machine learning solutions in biomedical imaging"
license = "Apache-2.0"
authors = ["James Meakin <[email protected]>"]
readme = "README.md"
homepage = "https://grand-challenge.org/"
repository = "https://github.com/comic/grand-challenge.org/"
documentation = "https://comic.github.io/grand-challenge.org/"
packages = [
{ include = "grandchallenge", from = "app" },
]
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
# Disallow 5.3.0 due to https://github.com/celery/kombu/issues/1744
celery = {version = "!=5.0.6,!=5.3.0", extras = ["redis", "sqs"]}
kombu = {version ="!=5.3.0"}
django = "<4.3"
django-countries = "*"
django-crispy-forms = "*"
crispy-bootstrap4 = "*"
djangorestframework = "*"
drf-spectacular = "*"
python-magic = "*"
gunicorn = "*"
uvicorn = {version = "*", extras = ["standard"]}
"django-select2" = "*"
django-celery-results = "!=2.4.0"
bleach = {version = "*", extras = ["css"]}
jsonschema = "*"
django-autocomplete-light = "*"
django-storages = {version = ">=1.14.2", extras = ["s3"]}
boto3 = ">1.18.8"
whitenoise = "*"
brotli = "*"
djangorestframework-guardian = "*"
django-extensions = "*"
django-simple-history = "*"
sentry-sdk = "*"
django-cors-headers = "*"
django-celery-beat = "!=1.6.0"
django-guardian = "!=2.2.0"
django-markdownx = "*"
django-filter = "*"
ua-parser = "*"
djangorestframework-csv = "*"
humanize = "*"
disposable-email-domains = "*"
django-machina = "*"
django-haystack = "*"
citeproc-py = "*"
pyswot = "*"
django-redis = "*"
django-allauth = {version = "*", extras = ["mfa", "socialaccount"]}
jinja2 = "*"
requests = "*"
# Pin for now following token breakage, see https://github.com/jazzband/django-rest-knox/pull/358#issuecomment-2264696484
django_rest_knox = "<5"
Pillow = "*"
panimg = ">=0.12.0"
django-activity-stream = "*"
django-stdimage = "*"
django-permissions-policy = "*"
aws-xray-sdk = "*"
django-deprecate-fields = "*"
django-add-default-value = "*"
Pygments = "*"
django-forms-dynamic = "*"
django-compressor = "*"
django-libsass = "*"
django-csp = "*"
psycopg = {version = ">3.1.8", extras = ["c"]}
pycurl = "!=7.45.3" # Import issue with 7.45.3 (https://github.com/comic/grand-challenge.org/issues/3252)
pyjwt = "*"
beautifulsoup4 = "*"
pymdown-extensions = "*"
grand-challenge-forge = "*"
[tool.poetry.group.dev.dependencies]
pytest-django = "*"
pytest-cov = "*"
pytest-mock = "*"
factory-boy = "*"
django-debug-toolbar = "*"
sphinx-autobuild = "*"
sphinx = "*"
pytest-xdist = "*"
sphinx-autodoc-typehints = "*"
werkzeug = "*"
sphinxcontrib-plantuml = "*"
pytest-randomly = "*"
sphinxcontrib-django = "*"
amass = "*"
aiohttp = "^3.8" # Fix for amass dependency
watchfiles = "*"
playwright = "*"
pytest-playwright = "*"
pytest-rerunfailures = "*"
sphinx-exec-code = "*"
[tool.amass]
output = "app/grandchallenge/core/static/vendored"
[tool.amass.dependencies]
htmx = { version = "==1.7.0", include = ["htmx(.min)?.js(.map)?"] }
"moment.js" = { version = "==2.24.0", include = ["moment(.min)?.js(.map)?"] }
vega = { version = "==5.20.2", include = ["vega(.min)?.js(.map)?"], maps = ["vega.min.js.map"] }
vega-lite = { version = "==5.1.0", include = ["vega-lite(.min)?.js(.map)?"] }
vega-embed = { version = "==6.17.0", include = ["vega-embed(.min)?.js(.map)?"] }
jsoneditor = { version = "==9.5.2", include = ["jsoneditor(.min)?.js(.map)?", "jsoneditor(.min)?.css(.map)?", "img/*"], maps = ["jsoneditor.map"] }
"sentry-browser" = { version = "==6.19.7", include = ["bundle(.min)?.js(.map)?"], maps = ["bundle.min.js.map", "bundle.js.map"] }
"hammer.js" = { version = "==2.0.8", include = ["hammer(.min)?.js(.map)?"] }
uppy = { version = "==2.2.0", include = ["uppy(.min)?.css(.map)?", "uppy(.min)?.js(.map)?"], maps = ["packages/uppy/dist/uppy.min.js.map"] }
jscolor = { version = "==2.5.1", include = ["jscolor(.min)?.js(.map)?"] }
jquery = { version = "==3.7.0", include = ["jquery(.min)?(.js|.map)?$"] }
font-awesome = { version = "==5.15.4", include = ["css/all(.min)?.css", "webfonts/*"] }
bootstrap = { version = "==4.6.2", include = ["js/bootstrap.bundle(.min)?.js(.map)?", "css/bootstrap(.min)?.css(.map)?", "scss/*"] }
bootswatch = { version = "==5.3.0", provider = "unpkg", include = ["dist/flatly/.*.scss"] }
"@github/markdown-toolbar-element" = { version = "==1.2.0", provider = "unpkg", include = ["dist/index.umd.js$"] }
# Use the builder at https://datatables.net/download/
"datatables.net" = { version = "==1.11.3", provider = "unpkg", include = ["js/jquery.dataTables(.min)?.js"]}
"datatables.net-bs4" = { version = "==1.11.3", provider = "unpkg", include = ["css/dataTables.bootstrap4(.min)?.css", "js/dataTables.bootstrap4(.min)?.js"]}
"datatables.net-buttons" = { version = "==2.0.1", provider = "unpkg", include = ["js/dataTables.buttons(.min)?.js", "js/buttons.colVis(.min)?.js"]}
"datatables.net-buttons-bs4" = { version = "==2.0.1", provider = "unpkg", include = ["css/buttons.bootstrap4(.min)?.css", "js/buttons.bootstrap4(.min)?.js"]}
"datatables.net-responsive" = { version = "==2.2.9", provider = "unpkg", include = ["js/dataTables.responsive(.min)?.js"]}
"datatables.net-responsive-bs4" = { version = "==2.2.9", provider = "unpkg", include = ["css/responsive.bootstrap4(.min)?.css", "js/responsive.bootstrap4(.min)?.js"]}