Skip to content

Commit 4efc8f9

Browse files
committed
Add UV_NO_DEV
1 parent 42cbe6e commit 4efc8f9

File tree

4 files changed

+50
-50
lines changed

4 files changed

+50
-50
lines changed

.github/workflows/pull_request.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ jobs:
2020
CI: true # Enable pytest CI mode
2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2424

2525
- name: Install uv
26-
uses: astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1
26+
uses: astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a # v7.1.5
2727
with:
2828
version-file: pyproject.toml
2929
resolution-strategy: lowest
3030

3131
- name: Install Python
32-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
32+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.0.1
3333
with:
3434
python-version-file: .python-version
3535

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
requires-python = ">=3.14"
55
dependencies = [
66
"aiohttp>=3.13.2",
7-
"azure-cosmos>=4.14.2",
7+
"azure-cosmos>=4.14.3",
88
"azure-monitor-opentelemetry>=1.8.3",
99
"fastapi[standard-no-fastapi-cloud-cli]>=0.124.0",
1010
"pydantic>=2.12.5",
@@ -27,7 +27,7 @@ requires = ["uv_build"]
2727
build-backend = "uv_build"
2828

2929
[tool.uv]
30-
required-version = ">=0.9.4,<0.10.0"
30+
required-version = ">=0.9.16,<0.10.0"
3131

3232
[tool.ruff.lint]
3333
select = ["ALL"]

src/python_template/api/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# 0.9.4-python3.14-bookworm-slim
2-
FROM astral/uv@sha256:a9cceaa484b002f06f730b886f61172622589ccdf3ccfa801346aa0fb222fb39 AS builder
1+
# 0.9.16-python3.14-bookworm-slim
2+
FROM astral/uv@sha256:95b472508fed5e3c78db1d6b69022a4fb5c4c443c0478943dc78946ae200990a AS builder
33

4-
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy UV_PYTHON_DOWNLOADS=0
4+
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy UV_PYTHON_DOWNLOADS=0 UV_NO_DEV=1
55

66
WORKDIR /app
77
RUN --mount=type=cache,target=/root/.cache/uv \
88
--mount=type=bind,source=uv.lock,target=uv.lock \
99
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
10-
uv sync --locked --no-install-workspace --no-dev
10+
uv sync --locked --no-install-workspace
1111
COPY pyproject.toml uv.lock ./
1212
COPY src src
1313
RUN --mount=type=cache,target=/root/.cache/uv \
14-
uv sync --locked --no-dev
14+
uv sync --locked
1515

16-
# 3.14.0-slim-bookworm
17-
FROM python@sha256:7ef4d5ec10b07d87c54d10941a3460c53b21c567b093e4f0bee56031f6e864f2 AS final
16+
# 3.14.2-slim-bookworm
17+
FROM python@sha256:1f3bc1dcbdc23f54cf2e9a5a8428db4a5f28c53636dec4964c7ae35eb1ebd192 AS final
1818

1919
ENV PYTHON_APP_ENVIRONMENT=""
2020

0 commit comments

Comments
 (0)