-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (73 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (73 loc) · 2.21 KB
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
[tool.poetry]
name = "openbook"
version = "0.0.1-pre1"
description = "OpenBook: Interactive Online Textbooks"
authors = ["Dennis Schulmeister-Zimolong <dennis@wpvs.de>"]
homepage = "https://openbook.studio"
repository = "https://github.com/openbook-education/openbook"
license = "AGPL-3.0"
readme = "README.md"
# Use poetry for dependency management but not for packaging, since at least
# for now we are not publishing a python package on PyPI. Maybe we want to do
# in future, in which case we need to reconsider some of the project structure.
package-mode = false
[build-system]
requires = ["poetry-core>=1.9.1"]
build-backend = "poetry.core.masonry.api"
# Runtime dependencies
[tool.poetry.dependencies]
channels = {extras = ["daphne"], version = "^4.3.2"}
channels-redis = "^4.3.0"
chanx = {extras = ["channels"], version = "^2.7.1"}
daphne = "^4.2.2"
Django = "^6.0.6"
django-allauth = {extras = ["headless-spec", "saml", "socialaccount"], version = "^65.16.1"}
django-cleanup = "^9.0.0"
django-crispy-forms = "^2.6"
django-dbbackup = "^5.3.0"
django-extensions = "^4.1"
django-filter = "^25.2"
django-import-export = {extras = ["all"], version = "^4.4.1"}
django-unfold = "^0.85.0"
djangoql = "^0.19.1"
djangorestframework = "^3.17.1"
drf-flex-fields2 = "^2.0.2"
drf-spectacular = {extras = ["sidecar"], version = "^0.29.0"}
markdown = "^3.10.2"
pillow = "^12.2.0"
pygments = "^2.20.0"
python = "^3.12"
pyyaml = "^6.0.3"
semver = "^3.0.4"
twisted = {extras = ["http2", "tls"], version = "^25.5.0"}
django-colorfield = "^0.14.0"
# Documentation dependencies
[tool.poetry.group.docs.dependencies]
sphinx = "^9.1.0"
sphinx-rtd-theme = "^3.1.0"
sphinx-autoapi = "^3.8.0"
sphinx-autobuild = "^2025.08.25"
sphinx-llm = "^0.4.1"
sphinx-tabs = "^3.5.0"
# Development dependencies
[tool.poetry.group.dev.dependencies]
coverage = "^7.14.1"
pip-audit = "^2.10.0"
tblib = "^3.2.2"
# Dependencies to for the fontutil script
[tool.poetry.group.fontutil.dependencies]
fonttools = "^4.63.0"
brotli = "^1.2.0"
# Test coverage reporting
[tool.coverage.run]
parallel = true
patch = ["execv", "_exit", "subprocess"]
omit = [
"*/__pycache__/*",
"manage.py",
"openbook/*.py",
]
[tool.coverage.report]
fail_under = 75
show_missing = true
skip_covered = true