File tree Expand file tree Collapse file tree 6 files changed +367
-703
lines changed
Expand file tree Collapse file tree 6 files changed +367
-703
lines changed Original file line number Diff line number Diff line change 1212
1313jobs :
1414 deploy :
15- runs-on : ubuntu-22 .04
15+ runs-on : ubuntu-24 .04
1616 environment : ${{ inputs.environment }}
1717 steps :
1818 - name : Print docker tag
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ concurrency:
1212jobs :
1313 continuous-integration :
1414 if : github.actor != 'dependabot[bot]'
15- runs-on : ubuntu-latest
15+ runs-on : ubuntu-24.04
1616 outputs :
1717 docker-tag : ${{ steps.docker-tag.outputs.docker-tag }}
1818 env :
2222 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323
2424 - name : Install uv
25- uses : astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0
25+ uses : astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1
2626 with :
2727 version-file : pyproject.toml
2828 resolution-strategy : lowest
6464 push : false
6565
6666 deploy-dev :
67+ name : Deploy to development
6768 needs : continuous-integration
6869 uses : ./.github/workflows/_deploy.yaml
6970 with :
@@ -72,17 +73,19 @@ jobs:
7273 secrets : inherit
7374
7475 deploy-stg :
76+ name : Deploy to staging
7577 needs : [continuous-integration, deploy-dev]
7678 uses : ./.github/workflows/_deploy.yaml
7779 with :
7880 environment : stg
7981 docker_tag : ${{ needs.continuous-integration.outputs.docker-tag }}
8082 secrets : inherit
8183
82- deploy-pro :
84+ deploy-prd :
85+ name : Deploy to production
8386 needs : [continuous-integration, deploy-stg]
8487 uses : ./.github/workflows/_deploy.yaml
8588 with :
86- environment : pro
89+ environment : prd
8790 docker_tag : ${{ needs.continuous-integration.outputs.docker-tag }}
8891 secrets : inherit
Original file line number Diff line number Diff line change 1- 3.13
1+ 3.14
Original file line number Diff line number Diff line change 11[project ]
22name = " python-template"
33version = " 0.1.0"
4- requires-python = " >=3.13 "
4+ requires-python = " >=3.14 "
55dependencies = [
6- " aiohttp==3.13.0 " ,
7- " azure-cosmos==4.9 .0" ,
6+ " aiohttp==3.13.1 " ,
7+ " azure-cosmos==4.14 .0" ,
88 " azure-monitor-opentelemetry==1.8.1" ,
9- " fastapi[standard-no-fastapi-cloud-cli]==0.118.2 " ,
10- " pydantic==2.12.0 " ,
9+ " fastapi[standard-no-fastapi-cloud-cli]==0.119.1 " ,
10+ " pydantic==2.12.3 " ,
1111 " pydantic-settings[azure-key-vault]==2.11.0" ,
1212]
1313
@@ -20,15 +20,15 @@ dev = [
2020 " pytest-asyncio==1.2.0" ,
2121 " pytest-cov==7.0.0" ,
2222 " pytest-mock==3.15.1" ,
23- " ruff==0.14.0 " ,
23+ " ruff==0.14.1 " ,
2424]
2525
2626[build-system ]
2727requires = [" uv_build" ]
2828build-backend = " uv_build"
2929
3030[tool .uv ]
31- required-version = " >=0.9.2 ,<0.10.0"
31+ required-version = " >=0.9.4 ,<0.10.0"
3232
3333[tool .pyright ]
3434typeCheckingMode = " strict"
@@ -49,9 +49,9 @@ ignore = [
4949 " ICN" , # flake8-import-conventions
5050 " S101" , # assert
5151 " TRY003" , # raise-vanilla-args
52+ " TC" , # flake8-type-checking
5253]
5354
54-
5555[tool .pytest .ini_options ]
5656pythonpath = [" tests" ]
5757asyncio_mode = " auto"
Original file line number Diff line number Diff line change 1- # 0.9.2 -python3.13 -bookworm-slim
2- FROM astral/uv@sha256:7072fbb9cf84e6b76bee43905c27a1cf4afa48bfa49de3cb2b57f748ada6cc10 AS builder
1+ # 0.9.4 -python3.14 -bookworm-slim
2+ FROM astral/uv@sha256:a9cceaa484b002f06f730b886f61172622589ccdf3ccfa801346aa0fb222fb39 AS builder
33
44ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy UV_PYTHON_DOWNLOADS=0
55
@@ -13,8 +13,8 @@ COPY src src
1313RUN --mount=type=cache,target=/root/.cache/uv \
1414 uv sync --locked --no-dev
1515
16- # 3.13.8 -slim-bookworm
17- FROM python@sha256:61169c2bdb8e6bb44a8dfad33f569d324d52f079fded9a204b322a6fb9c9f799 AS final
16+ # 3.14.0 -slim-bookworm
17+ FROM python@sha256:7ef4d5ec10b07d87c54d10941a3460c53b21c567b093e4f0bee56031f6e864f2 AS final
1818
1919ENV PYTHON_APP_ENVIRONMENT=""
2020
You can’t perform that action at this time.
0 commit comments