Skip to content

Commit 96e0fe4

Browse files
build: updated deps and python3.13
1 parent 23f0307 commit 96e0fe4

17 files changed

Lines changed: 1418 additions & 1202 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
id: setup-python
2222
uses: actions/setup-python@v4
2323
with:
24-
python-version: "3.10"
24+
python-version: "3.13"
2525

2626
- name: Install pre-commit
2727
run: pip install pre-commit

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
rev: v4.4.0
66
hooks:
77
- id: check-ast
8-
language_version: python3.10
8+
language_version: python3.13
99
- id: check-merge-conflict
1010
- id: check-case-conflict
1111
- id: check-json
@@ -35,8 +35,8 @@ repos:
3535
rev: 23.7.0
3636
hooks:
3737
- id: black
38-
language_version: python3.10
39-
args: [--target-version, py310]
38+
language_version: python3.13
39+
args: [--target-version, py312]
4040
files: ^src/.*\.py$
4141
exclude: ^src/dmss_api/
4242

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10-slim as base
1+
FROM python:3.13-slim AS base
22
ENV PYTHONUNBUFFERED=1
33
ENV PYTHONPATH=/code/src
44
WORKDIR /code
@@ -14,7 +14,7 @@ RUN pip install --upgrade pip && \
1414

1515
COPY pyproject.toml poetry.lock ./
1616

17-
FROM base as development
17+
FROM base AS development
1818
RUN poetry install
1919
WORKDIR /code/src
2020
COPY src /code/src/
@@ -23,7 +23,7 @@ COPY .flake8 .bandit ./
2323
RUN chown -R 1000:1000 /code/app/
2424
USER 0
2525

26-
FROM base as prod
26+
FROM base AS prod
2727
RUN poetry install --without dev
2828
WORKDIR /code/src
2929
COPY src /code/src/

0 commit comments

Comments
 (0)