diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index c9d6c14..8738d11 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -9,8 +9,6 @@ on: jobs: checks: runs-on: ubuntu-latest - env: - NLTK_DISABLE_IMPORT_SECURITY: "1" services: postgres: image: postgres:16 diff --git a/backend/Dockerfile b/backend/Dockerfile index eb0c852..c6f4a36 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -47,8 +47,6 @@ RUN --mount=type=cache,target=/root/.cache/uv \ # Install pinned spaCy model in the final environment used at runtime. RUN python -m pip install --no-deps "${SPACY_MODEL_WHEEL_URL}" -ENV NLTK_DISABLE_IMPORT_SECURITY=1 - # Set HuggingFace cache directory ENV HF_HOME=/app/hf_cache diff --git a/backend/scripts/install_guardrails_from_hub.sh b/backend/scripts/install_guardrails_from_hub.sh index fcc5486..53414d2 100755 --- a/backend/scripts/install_guardrails_from_hub.sh +++ b/backend/scripts/install_guardrails_from_hub.sh @@ -8,8 +8,6 @@ GUARDRAILS_HUB_API_KEY="${GUARDRAILS_HUB_API_KEY:-}" ENABLE_METRICS="${ENABLE_METRICS:-false}" ENABLE_REMOTE_INFERENCING="${ENABLE_REMOTE_INFERENCING:-true}" -export NLTK_DISABLE_IMPORT_SECURITY=1 - BACKEND_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" MANIFEST_FILE="${1:-$BACKEND_DIR/app/core/validators/validators.json}"