chore: exclude haystack-core-integrations packages from exclude-newer cutoff#463
Open
julian-risch wants to merge 2 commits into
Open
chore: exclude haystack-core-integrations packages from exclude-newer cutoff#463julian-risch wants to merge 2 commits into
julian-risch wants to merge 2 commits into
Conversation
… cutoff Add all packages maintained in deepset-ai/haystack-core-integrations to the [exclude-newer-package] table in uv.toml so that the global "P3D" (3-day) exclude-newer cutoff does not apply to our own first-party integration packages. This lets tutorials install freshly released integration versions without waiting for the supply-chain safety window. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ions Add scripts/generate_uv_excludes.py, which regenerates the [exclude-newer-package] table in uv.toml from the package names declared in a checkout of deepset-ai/haystack-core-integrations, and a scheduled "Sync uv excludes" workflow that runs the script weekly and opens a PR when the set of integration packages changes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues / PRs
uv.toml)The global
exclude-newer = "P3D"cutoff inuv.tomlprotects against supply-chain attacks by skipping package versions published within the last 3 days. However, this also blocks freshly released first-party packages.Proposed Changes
This PR exempts every package maintained in deepset-ai/haystack-core-integrations from that cutoff, and adds automation to keep the list in sync:
uv.tomladds all 79 integration packages to the[exclude-newer-package]tablescripts/generate_uv_excludes.pyregenerates the table from thenamefield of eachintegrations/*/pyproject.toml.github/workflows/sync_uv_excludes.ymla scheduled (weekly) + manually dispatchable workflow that sparse-checks-outhaystack-core-integrations, runs the script, and opens a PR whenever an integration is added or removed.How did you test it?
uv.tomlgenerate_uv_excludes.pyagainst a localhaystack-core-integrationscheckout and confirmed it reproduces the tableNotes for the reviewer
🤖 Generated with Claude Code