Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

CI fix: restore changed-test selection with current Ruff config (#11139)

Shahmir Varqha305e7c58ee7f
diff --git a/packages/pytest_changed/__init__.py b/packages/pytest_changed/__init__.py
index d6bb10a82d..4503e26f99 100644
--- a/packages/pytest_changed/__init__.py
+++ b/packages/pytest_changed/__init__.py
@@ -117,8 +117,11 @@ def get_dependency_graph(
"uvx",
# uv notes `analyze graph` is experimental,
# so we fix the ruff version for now
- # Follow project's UV_EXCLUDE_NEWER setting to avoid resolution issues
+ # The exact pin must support the repository's Ruff config,
+ # even before the release clears CI's dependency cutoff.
+ "--exclude-newer-package",
+ "ruff=false",
"analyze",
"graph",
"--detect-string-imports",