Skip to content

Commit 4fde7e3

Browse files
authored
Merge pull request #49 from overhangio/teak
2 parents cde10c2 + 1ff9c0b commit 4fde7e3

File tree

4 files changed

+27
-17
lines changed

4 files changed

+27
-17
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

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
]

tutornotes/__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"
Lines changed: 19 additions & 14 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
ENV DEBIAN_FRONTEND=noninteractive
@@ -7,17 +7,17 @@ ENV DEBIAN_FRONTEND=noninteractive
77
RUN userdel -r ubuntu
88

99
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
10-
--mount=type=cache,target=/var/lib/apt,sharing=locked \
11-
apt update && \
12-
apt upgrade -y && \
13-
apt install -y \
14-
language-pack-en \
15-
git \
16-
python3 \
17-
python3-pip \
18-
python3-venv \
19-
libmysqlclient-dev \
20-
pkg-config
10+
--mount=type=cache,target=/var/lib/apt,sharing=locked \
11+
apt update && \
12+
apt upgrade -y && \
13+
apt install -y \
14+
language-pack-en \
15+
git \
16+
python3 \
17+
python3-pip \
18+
python3-venv \
19+
libmysqlclient-dev \
20+
pkg-config
2121
RUN ln -s /usr/bin/python3 /usr/bin/python
2222

2323
###### Git-clone Notes repo ######
@@ -34,8 +34,13 @@ ENV PATH=/app/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=/app/.cache/pip,sharing=shared pip install setuptools==75.2.0 pip==24.2 wheel==0.44.0
37+
RUN --mount=type=cache,target=/app/.cache/pip,sharing=shared pip install setuptools==78.1.0 pip==25.0.1 wheel==0.46.0
3838
RUN --mount=type=cache,target=/app/.cache/pip,sharing=shared pip install -r requirements/base.txt
3939

4040
EXPOSE 8000
41-
CMD gunicorn --workers=2 --name notes --bind=0.0.0.0:8000 --max-requests=1000 notesserver.wsgi:application
41+
CMD ["gunicorn", \
42+
"--workers=2", \
43+
"--name", "notes", \
44+
"--bind=0.0.0.0:8000", \
45+
"--max-requests=1000", \
46+
"notesserver.wsgi:application"]

0 commit comments

Comments
 (0)