From 5d35cca279fb54dfda0e0e91297b3508ef383394 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Wed, 5 Aug 2026 09:42:34 +0200 Subject: [PATCH] fix: test with latest stable Haystack release; avoid nltk 3.10.1 --- .github/workflows/run_tutorials.yml | 3 ++- index.toml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_tutorials.yml b/.github/workflows/run_tutorials.yml index 81f6ff16..cbefcaf2 100644 --- a/.github/workflows/run_tutorials.yml +++ b/.github/workflows/run_tutorials.yml @@ -26,7 +26,8 @@ jobs: run: | # Get tutorial notebooks VERSION=$(gh api /repos/deepset-ai/haystack/releases | \ - jq -r '[.[].tag_name | select(test("^v2.[0-9]+.[0-9]+$"))] | first') + jq -r '[.[].tag_name | select(test("^v[0-9]+\\.[0-9]+\\.[0-9]+$"))] | + max_by(.[1:] | split(".") | map(tonumber))') NOTEBOOKS=$(python ./scripts/generate_matrix.py --haystack-version "$VERSION" --include-main) echo "matrix={\"include\":$NOTEBOOKS}" >> "$GITHUB_OUTPUT" diff --git a/index.toml b/index.toml index c1db7ecd..28ee0488 100644 --- a/index.toml +++ b/index.toml @@ -165,7 +165,8 @@ notebook = "42_Sentence_Window_Retriever.ipynb" aliases = [] completion_time = "10 min" created_at = 2024-10-16 -dependencies = ["nltk"] +# https://github.com/nltk/nltk/issues/3730 +dependencies = ["nltk!=3.10.1"] [[tutorial]] title = "Evaluation" @@ -272,4 +273,4 @@ aliases = [] completion_time = "25 min" created_at = 2026-07-20 dependencies = ["haystack-ai>=3.0", "agent-pack-haystack", "arrow", "tavily-haystack", "trafilatura", "pypdf"] -featured = false \ No newline at end of file +featured = false