From e1d585170080b7f8466cab056d6dc359198c74da Mon Sep 17 00:00:00 2001 From: Bhimraj Yadav Date: Thu, 24 Sep 2026 09:48:36 +0000 Subject: [PATCH] Drop ipython's test extras from the notebook requirements ipython[all] includes test_extra, which now pulls jupyter-ai -> jupyter-server-mcp -> fastmcp -> mcp, and with it newer PyJWT and cryptography. The GPU image ships both through apt, with no RECORD file, so pip cannot upgrade them and the notebooks job fails at install: error: uninstall-no-record-file Cannot uninstall cryptography 41.0.7 The notebooks need none of that. Keep every other extra of [all]. --- requirements/notebooks.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements/notebooks.txt b/requirements/notebooks.txt index 54f29b2d2b..af5963974f 100644 --- a/requirements/notebooks.txt +++ b/requirements/notebooks.txt @@ -1,7 +1,8 @@ # just reuse the base requirements -r base.txt -ipython[all] ~=8.37.0 +# all but the test extras, which pull in jupyter-ai and upgrade apt-owned packages in the GPU image +ipython[black,doc,kernel,matplotlib,nbconvert,nbformat,notebook,parallel,qtconsole] ~=8.37.0 numpy liger-kernel == 0.4.0 cuda-python >=12.6.1, <14.0.0