-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (42 loc) · 1000 Bytes
/
pyproject.toml
File metadata and controls
47 lines (42 loc) · 1000 Bytes
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
[project]
name = "normal-oj-web"
version = "0.1.0"
description = "Backend of Normal-OJ"
authors = []
readme = "README.md"
requires-python = "~=3.11"
license = "MPL-2.0"
dynamic = ["dependencies"]
[tool.poetry.dependencies]
python = "^3.11"
Flask = "^3.1.3"
gunicorn = "^23.0.0"
mongoengine = "^0.29.1"
blinker = "^1.5"
PyJWT = "^2.12"
requests = "^2.33"
mosspy = "^1.0"
redis = "^4.4"
# <4.9.0 to fix mongomock GridFS integration
# see: https://github.com/mongomock/mongomock/issues/903
pymongo = "^4.5.0,<4.9.0"
minio = "^7.2.15"
python-ulid = "^3.0.0"
pydantic = "^2.0"
[tool.poetry]
requires-poetry = ">=2.0"
package-mode = false
[tool.poetry.group.dev.dependencies]
pytest = "^7.1"
mongomock = "^4.2.0.post1"
pre-commit = "^4.2.0"
yapf = "^0.43"
fakeredis = "^1.9"
toml = "^0.10"
pytest-cov = "^3.0"
testcontainers = {extras = ["minio"], version = "^4.10.0"}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["tests"]