Merge branch 'feature/SIMPL-24642' into 'develop'

SIMPL-24642 fix load model in field-level

See merge request simpl/simpl-open/development/data-services/template-code-location!5
This commit is contained in:
ILIA ZAKHARCHUK
2026-05-11 13:52:12 +02:00
3 changed files with 3385 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ RUN chown -R appuser:appgroup /app
# Copy project metadata and source # Copy project metadata and source
COPY pyproject.toml . COPY pyproject.toml .
COPY uv.lock .
COPY src/ ./src/ COPY src/ ./src/
# uv environment knobs: # uv environment knobs:
@@ -47,8 +48,10 @@ ENV UV_SYSTEM_PYTHON=1
# (git source for util-services and pytorch-cpu index for torch) # (git source for util-services and pytorch-cpu index for torch)
# BuildKit cache mount keeps the uv package cache across builds # BuildKit cache mount keeps the uv package cache across builds
RUN --mount=type=cache,target=/root/.cache/uv \ RUN --mount=type=cache,target=/root/.cache/uv \
uv pip install . uv sync --frozen --no-dev
# Put the project's venv on PATH (matches WORKDIR)
ENV PATH="/app/.venv/bin:${PATH}"
ENV PYTHONPATH="/app/src" ENV PYTHONPATH="/app/src"
# Make /app writable for the non-root user (e.g. spaCy model downloads) # Make /app writable for the non-root user (e.g. spaCy model downloads)

View File

@@ -8,11 +8,8 @@ version = "0.1.0"
description = "Consolidated code location for all data services workflows" description = "Consolidated code location for all data services workflows"
requires-python = ">=3.12" requires-python = ">=3.12"
dependencies = [ dependencies = [
# Dagster core
"dagster>=1.8.13", "dagster>=1.8.13",
# Util services — resolved via [tool.uv.sources] (git)
"util-services", "util-services",
# Code location packages — resolved via [tool.uv.sources] (git)
"data-processing", "data-processing",
"dataframe-level-anonymisation", "dataframe-level-anonymisation",
"field-level-pseudo-anonymisation", "field-level-pseudo-anonymisation",

3381
uv.lock generated Normal file

File diff suppressed because it is too large Load Diff