Skip to content

Commit 901e2ed

Browse files
committed
Update dependencies and pre-commit
1 parent 735b514 commit 901e2ed

File tree

5 files changed

+417
-354
lines changed

5 files changed

+417
-354
lines changed

Diff for: .github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
uses: docker/setup-buildx-action@v3
2020

2121
- name: Login to GHCR
22-
uses: docker/login-action@v3
22+
uses: docker/login-action@v3.1
2323
with:
2424
registry: ghcr.io
2525
username: ${{ github.repository_owner }}
2626
password: ${{ secrets.PACKAGES_TOKEN }}
2727

2828
- name: Get branch names
29-
uses: tj-actions/branch-names@v7.0.7
29+
uses: tj-actions/branch-names@v8.0.1
3030
id: branch-name
3131

3232
- name: image name

Diff for: .pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
# General checks
44
##############################################################################
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.6.0
6+
rev: v5.0.0
77
hooks:
88
- id: fix-encoding-pragma
99
args: [--remove]
@@ -41,20 +41,20 @@ repos:
4141
types: [python]
4242

4343
- repo: https://github.com/psf/black
44-
rev: 24.4.2
44+
rev: 24.10.0
4545
hooks:
4646
- id: black
4747
types_or: [python, pyi]
4848
entry: "black"
4949

5050
- repo: https://github.com/charliermarsh/ruff-pre-commit
51-
rev: v0.4.10
51+
rev: v0.7.1
5252
hooks:
5353
- id: ruff
5454
args: ["--fix"]
5555

5656
- repo: https://github.com/pre-commit/mirrors-mypy
57-
rev: v1.10.0
57+
rev: v1.13.0
5858
hooks:
5959
- id: mypy
6060
args: [--no-strict-optional, --ignore-missing-imports, --warn-no-return, --explicit-package-bases]

Diff for: Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM python:3.11-slim as base
1+
FROM python:3.12-slim as base
22
ENV PYTHONUNBUFFERED=1 \
33
PYTHONDONTWRITEBYTECODE=1 \
44
PIP_NO_CACHE_DIR=off \
55
PIP_DISABLE_PIP_VERSION_CHECK=on \
66
PIP_DEFAULT_TIMEOUT=100 \
7-
POETRY_VERSION=1.8.1 \
7+
POETRY_VERSION=1.8.4 \
88
POETRY_HOME="/opt/poetry" \
99
POETRY_VIRTUALENVS_CREATE=false \
1010
POETRY_NO_INTERACTION=1 \
@@ -34,7 +34,7 @@ FROM base as application
3434
ENV CATALOG_PATH=/catalog
3535

3636
# Copy python environment from builder
37-
COPY --from=builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
37+
COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
3838
COPY ./nautilus_data $PYSETUP_PATH/nautilus_data
3939

4040
# Generate data catalog

0 commit comments

Comments
 (0)