Skip to content

Commit ad91db5

Browse files
committed
fix: add problem xblock
1 parent 28c57cc commit ad91db5

240 files changed

Lines changed: 78226 additions & 161 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yml‎

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,21 @@ jobs:
1212
name: Run Tests and Coverage
1313
runs-on: ubuntu-latest
1414
strategy:
15-
fail-fast: true
15+
fail-fast: false
1616
matrix:
1717
python-version: ['3.11', '3.12']
1818
toxenv: [quality, docs, django42, django52]
19+
mongo-version: ['7']
20+
services:
21+
mongo:
22+
image: mongo:${{ matrix.mongo-version }}
23+
ports:
24+
- 27017:27017
25+
options: >-
26+
--health-cmd "mongosh --quiet --eval 'db.runCommand({ping:1})'"
27+
--health-interval 10s
28+
--health-timeout 5s
29+
--health-retries 3
1930
2031
steps:
2132
- name: Check out code
@@ -27,10 +38,7 @@ jobs:
2738
python-version: ${{ matrix.python-version }}
2839

2940
- name: Install dependencies
30-
run: pip install -r requirements/pip.txt
31-
32-
- name: Install tox
33-
run: pip install tox
41+
run: pip install -r requirements/pip.txt tox
3442

3543
- name: Run Tox
3644
env:

‎docs/conf.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ def get_version(*file_paths):
6060
# import sys
6161
# sys.path.insert(0, os.path.abspath('.'))
6262

63+
autodoc_mock_imports = [
64+
"openedx", # optional Open edX utilities
65+
"submissions.api", # functions not needed to build docs
66+
"xqueue_interface", # optional XQueue interfaces
67+
]
68+
69+
6370
# -- General configuration ------------------------------------------------
6471

6572
# If your documentation needs a minimal Sphinx version, state it here.

‎requirements/base.in‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
# Core requirements for using this application
22
-c constraints.txt
33

4+
beautifulsoup4
5+
chem
6+
ddt
7+
defusedxml
48
django-statici18n
9+
edx-codejail
510
edx-i18n-tools
611
edx-opaque-keys
12+
edx-submissions
13+
edx-toggles
14+
html5lib
715
nh3
16+
numpy
817
oauthlib
18+
openedx-calc
919
openedx-django-pyfs
20+
pillow
21+
random2
22+
shapely
1023
XBlock

‎requirements/base.txt‎

Lines changed: 120 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,94 +8,211 @@ appdirs==1.4.4
88
# via fs
99
asgiref==3.9.1
1010
# via django
11+
beautifulsoup4==4.13.5
12+
# via -r requirements/base.in
1113
boto3==1.40.21
1214
# via fs-s3fs
1315
botocore==1.40.21
1416
# via
1517
# boto3
1618
# s3transfer
19+
cffi==1.17.1
20+
# via pynacl
21+
chem==2.0.0
22+
# via -r requirements/base.in
23+
click==8.2.1
24+
# via
25+
# code-annotations
26+
# edx-django-utils
27+
# nltk
28+
code-annotations==2.3.0
29+
# via edx-toggles
30+
ddt==1.7.2
31+
# via -r requirements/base.in
32+
defusedxml==0.7.1
33+
# via -r requirements/base.in
1734
django==4.2.23
1835
# via
1936
# -c https:/raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
2037
# django-appconf
38+
# django-crum
39+
# django-model-utils
2140
# django-statici18n
41+
# django-waffle
42+
# djangorestframework
43+
# edx-django-release-util
44+
# edx-django-utils
2245
# edx-i18n-tools
46+
# edx-submissions
47+
# edx-toggles
48+
# jsonfield
2349
# openedx-django-pyfs
2450
django-appconf==1.1.0
2551
# via django-statici18n
52+
django-crum==0.7.9
53+
# via
54+
# edx-django-utils
55+
# edx-toggles
56+
django-model-utils==5.0.0
57+
# via edx-submissions
2658
django-statici18n==2.6.0
2759
# via -r requirements/base.in
60+
django-waffle==5.0.0
61+
# via
62+
# edx-django-utils
63+
# edx-toggles
64+
djangorestframework==3.16.1
65+
# via edx-submissions
2866
dnspython==2.7.0
2967
# via pymongo
68+
edx-codejail==4.0.0
69+
# via -r requirements/base.in
70+
edx-django-release-util==1.5.0
71+
# via edx-submissions
72+
edx-django-utils==8.0.0
73+
# via edx-toggles
3074
edx-i18n-tools==1.9.0
3175
# via -r requirements/base.in
3276
edx-opaque-keys==3.0.0
3377
# via -r requirements/base.in
78+
edx-submissions==3.11.1
79+
# via -r requirements/base.in
80+
edx-toggles==5.4.1
81+
# via -r requirements/base.in
3482
fs==2.4.16
3583
# via
3684
# fs-s3fs
3785
# openedx-django-pyfs
3886
# xblock
3987
fs-s3fs==1.1.1
4088
# via openedx-django-pyfs
89+
html5lib==1.1
90+
# via -r requirements/base.in
91+
jinja2==3.1.6
92+
# via code-annotations
4193
jmespath==1.0.1
4294
# via
4395
# boto3
4496
# botocore
97+
joblib==1.5.2
98+
# via nltk
99+
jsonfield==3.2.0
100+
# via edx-submissions
45101
lxml[html-clean]==6.0.1
46102
# via
47103
# edx-i18n-tools
48104
# lxml-html-clean
105+
# openedx-calc
49106
# xblock
50107
lxml-html-clean==0.4.2
51108
# via lxml
52109
mako==1.3.10
53110
# via xblock
54111
markupsafe==3.0.2
55112
# via
113+
# chem
114+
# jinja2
56115
# mako
116+
# openedx-calc
57117
# xblock
118+
mpmath==1.3.0
119+
# via sympy
58120
nh3==0.3.0
59121
# via -r requirements/base.in
122+
nltk==3.9.1
123+
# via chem
124+
numpy==2.3.2
125+
# via
126+
# -r requirements/base.in
127+
# chem
128+
# openedx-calc
129+
# scipy
130+
# shapely
60131
oauthlib==3.3.1
61132
# via -r requirements/base.in
133+
openedx-calc==4.0.2
134+
# via -r requirements/base.in
62135
openedx-django-pyfs==3.8.0
63136
# via -r requirements/base.in
64137
path==16.16.0
65138
# via edx-i18n-tools
139+
pillow==11.3.0
140+
# via -r requirements/base.in
66141
polib==1.2.0
67142
# via edx-i18n-tools
143+
psutil==7.0.0
144+
# via edx-django-utils
145+
pycparser==2.22
146+
# via cffi
68147
pymongo==4.14.1
69148
# via edx-opaque-keys
149+
pynacl==1.5.0
150+
# via edx-django-utils
151+
pyparsing==3.2.3
152+
# via
153+
# chem
154+
# openedx-calc
70155
python-dateutil==2.9.0.post0
71156
# via
72157
# botocore
73158
# xblock
159+
python-slugify==8.0.4
160+
# via code-annotations
74161
pytz==2025.2
75-
# via xblock
162+
# via
163+
# edx-submissions
164+
# xblock
76165
pyyaml==6.0.2
77166
# via
167+
# code-annotations
168+
# edx-django-release-util
78169
# edx-i18n-tools
79170
# xblock
171+
random2==1.0.2
172+
# via -r requirements/base.in
173+
regex==2025.9.1
174+
# via nltk
80175
s3transfer==0.13.1
81176
# via boto3
177+
scipy==1.16.1
178+
# via chem
179+
shapely==2.1.1
180+
# via -r requirements/base.in
82181
simplejson==3.20.1
83182
# via xblock
84183
six==1.17.0
85184
# via
185+
# edx-codejail
186+
# edx-django-release-util
86187
# fs
87188
# fs-s3fs
189+
# html5lib
88190
# python-dateutil
191+
soupsieve==2.8
192+
# via beautifulsoup4
89193
sqlparse==0.5.3
90194
# via django
91195
stevedore==5.5.0
92-
# via edx-opaque-keys
196+
# via
197+
# code-annotations
198+
# edx-django-utils
199+
# edx-opaque-keys
200+
sympy==1.14.0
201+
# via openedx-calc
202+
text-unidecode==1.3
203+
# via python-slugify
204+
tqdm==4.67.1
205+
# via nltk
93206
typing-extensions==4.15.0
94-
# via edx-opaque-keys
207+
# via
208+
# beautifulsoup4
209+
# edx-opaque-keys
95210
urllib3==2.5.0
96211
# via botocore
97212
web-fragments==3.1.0
98213
# via xblock
214+
webencodings==0.5.1
215+
# via html5lib
99216
webob==1.8.9
100217
# via xblock
101218
xblock==5.2.0

0 commit comments

Comments
 (0)