Skip to content

Commit 881f51f

Browse files
committed
Add uv backend
1 parent e6ea627 commit 881f51f

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

api/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name = "api"
33
version = "0.1.0"
44

55
[build-system]
6-
requires = ["hatchling"]
7-
build-backend = "hatchling.build"
6+
requires = ["uv_build>=0.7.19,<0.8.0"]
7+
build-backend = "uv_build"

api/src/api/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# 0.7.14-python3.12-bookworm-slim
2-
FROM astral/uv@sha256:78b1f2ba5fbc12c2bb0b2dac35d0aedeabe432af559fb4b9d88a102df13b9703 AS builder
1+
# 0.7.19-python3.12-bookworm-slim
2+
FROM astral/uv@sha256:235c2e8419851c1d539e2b19033d56aaf82670bfaaa155e20ac6b21260dc0be9 AS builder
33

44
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy UV_PYTHON_DOWNLOADS=0
55

@@ -10,8 +10,8 @@ COPY domain domain
1010
RUN --mount=type=cache,target=/root/.cache/uv \
1111
uv sync --frozen --no-dev
1212

13-
# 3.12.10-slim-bookworm
14-
FROM python@sha256:fd95fa221297a88e1cf49c55ec1828edd7c5a428187e67b5d1805692d11588db AS final
13+
# 3.12.11-slim-bookworm
14+
FROM python@sha256:4600f71648e110b005bf7bca92dbb335e549e6b27f2e83fceee5e11b3e1a4d01 AS final
1515

1616
ENV COMMON__ENVIRONMENT=""
1717

common/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name = "common"
33
version = "0.1.0"
44

55
[build-system]
6-
requires = ["hatchling"]
7-
build-backend = "hatchling.build"
6+
requires = ["uv_build>=0.7.19,<0.8.0"]
7+
build-backend = "uv_build"

domain/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name = "domain"
33
version = "0.1.0"
44

55
[build-system]
6-
requires = ["hatchling"]
7-
build-backend = "hatchling.build"
6+
requires = ["uv_build>=0.7.19,<0.8.0"]
7+
build-backend = "uv_build"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dev = [
2929
]
3030

3131
[tool.uv]
32-
required-version = ">=0.7.14"
32+
required-version = ">=0.7.19,<0.8.0"
3333

3434
[tool.uv.workspace]
3535
members = ["api", "domain", "transcriber", "test_utils", "common", "scripts"]

test_utils/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name = "test-utils"
33
version = "0.1.0"
44

55
[build-system]
6-
requires = ["hatchling"]
7-
build-backend = "hatchling.build"
6+
requires = ["uv_build>=0.7.19,<0.8.0"]
7+
build-backend = "uv_build"

transcriber/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name = "transcriber"
33
version = "0.1.0"
44

55
[build-system]
6-
requires = ["hatchling"]
7-
build-backend = "hatchling.build"
6+
requires = ["uv_build>=0.7.19,<0.8.0"]
7+
build-backend = "uv_build"

0 commit comments

Comments
 (0)