Skip to content

Commit 05ada48

Browse files
authored
Merge pull request #41 from overhangio/teak
2 parents da8aa31 + fdd8651 commit 05ada48

File tree

5 files changed

+20
-15
lines changed

5 files changed

+20
-15
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ instructions, because git commits are used to generate release notes:
1919

2020
<!-- scriv-insert-here -->
2121

22+
<a id='changelog-20.0.0'></a>
23+
## v20.0.0 (2025-06-05)
24+
25+
- 💥[Feature] Upgrade to Teak. (by @jfavellar90)
26+
2227
<a id='changelog-19.0.2'></a>
2328
## v19.0.2 (2025-03-12)
2429

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You should then run the initialisation scripts. The easiest way to do this is to
1919
Usage
2020
-----
2121

22-
In the Open edX studio, edit a course and add a new "Advanced blank problem" ("Problem" → "Advanced" → "Blank Advanced Problem"). Then, click "Edit" and copy-paste the following in the editor::
22+
In the Open edX studio, edit a course and add a new "Advanced blank problem" ("Problem" → "Advanced problem types" → "Blank problem"). Then, copy-paste the following in the Blank problem editor::
2323

2424

2525
<problem>

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ classifiers = [
2727
"Programming Language :: Python :: 3.12",
2828
]
2929
dependencies = [
30-
"tutor>=19.0.0,<20.0.0",
30+
"tutor>=20.0.0,<21.0.0",
3131
]
3232

3333
# These fields will be set by hatch_build.py
3434
dynamic = ["version"]
3535

3636
[project.optional-dependencies]
3737
dev = [
38-
"tutor[dev]>=19.0.0,<20.0.0",
38+
"tutor[dev]>=20.0.0,<21.0.0",
3939
"black",
4040
"pylint"
4141
]

tutorxqueue/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "19.0.2"
1+
__version__ = "20.0.0"

tutorxqueue/templates/xqueue/build/xqueue/Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# syntax=docker/dockerfile:1.4
1+
# syntax=docker/dockerfile:1
22
FROM docker.io/ubuntu:24.04
33

44
ARG DEBIAN_FRONTEND=noninteractive
@@ -34,18 +34,18 @@ ENV PATH=/openedx/venv/bin:${PATH}
3434
# https://pypi.org/project/setuptools/
3535
# https://pypi.org/project/pip/
3636
# https://pypi.org/project/wheel/
37-
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install setuptools==75.2.0 pip==24.2 wheel==0.44.0
37+
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install setuptools==78.1.0 pip==25.0.1 wheel==0.46.0
3838
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install -r requirements.txt
39-
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install uwsgi==2.0.25.1
39+
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install uwsgi==2.0.28
4040

4141
RUN mkdir /openedx/data /openedx/data/media
4242

4343
EXPOSE 8000
44-
CMD uwsgi \
45-
--static-map /media=/openedx/data/media/ \
46-
--http 0.0.0.0:8000 \
47-
--thunder-lock \
48-
--single-interpreter \
49-
--enable-threads \
50-
--processes=2 \
51-
--wsgi-file xqueue/wsgi.py
44+
CMD ["uwsgi", \
45+
"--static-map", "/media=/openedx/data/media/", \
46+
"--http", "0.0.0.0:8000", \
47+
"--thunder-lock", \
48+
"--single-interpreter", \
49+
"--enable-threads", \
50+
"--processes=2", \
51+
"--wsgi-file", "xqueue/wsgi.py"]

0 commit comments

Comments
 (0)