Skip to content

Commit 27cdfad

Browse files
committed
Py 3.13, bump deps
1 parent 6210b65 commit 27cdfad

3 files changed

Lines changed: 145 additions & 148 deletions

File tree

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10 AS builder
1+
FROM python:3.13 AS builder
22

33
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
44
COPY pyproject.toml .
@@ -16,15 +16,17 @@ ENV NODE_ENV=production
1616

1717
RUN npm ci --also=dev && npx tailwindcss -i src/tailwind.css -c tailwind.config.js -o dist/main.css --minify
1818

19-
FROM python:3.10 AS docs
19+
FROM python:3.13-slim AS docs
20+
21+
RUN apt-get update -y && apt-get install -y git
2022

2123
COPY build wrk/build
2224
WORKDIR /wrk/build
2325

2426
RUN pip install pyyaml
2527
RUN python docs.py
2628

27-
FROM python:3.10-slim
29+
FROM python:3.13-slim
2830

2931
COPY --from=builder /.venv /.venv
3032
ENV PATH=/.venv/bin:$PATH

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@ name = "emmett-website"
33
version = "0.1.0"
44
description = ""
55
readme = "README.md"
6-
requires-python = "~=3.10.0"
6+
requires-python = "~=3.13.0"
77

88
dependencies = [
9-
"emmett[uvloop]~=2.7.0",
9+
"emmett[rloop]~=2.7.0",
1010
"emmett-haml~=1.0",
1111
"emmett-sentry~=0.8.2",
1212
"markdown2~=2.3.8",
1313
"pygments~=2.6.1",
1414
]
15-
16-
[tool.uv]
17-
prerelease = "allow"

0 commit comments

Comments
 (0)