From 06b0d4290e6d9d1a273a73e1a3d134dde31406f1 Mon Sep 17 00:00:00 2001 From: glaziermag <130600081+glaziermag@users.noreply.github.com> Date: Thu, 10 Sep 2026 15:11:36 -0700 Subject: [PATCH] =?UTF-8?q?Install=20ipykernel=20from=20source=20in=20the?= =?UTF-8?q?=20jupyter=5Fkernel=5Ftest=20downstream=20job=20=F0=9F=A4=96?= =?UTF-8?q?=F0=9F=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `pip install -e ".[test]"` in the jupyter_kernel_test clone resolved ipykernel from PyPI, so the job tested the released wheel instead of this checkout. Install the checkout first, and fail if the installed ipykernel has no direct_url.json (i.e. came from an index). Co-Authored-By: Claude Opus 5 --- .github/workflows/downstream.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index e4b209ce4..c1bc4c90f 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -97,5 +97,7 @@ jobs: run: | git clone https://github.com/jupyter/jupyter_kernel_test.git cd jupyter_kernel_test + pip install .. pip install -e ".[test]" + python -c "import importlib.metadata as m; assert m.distribution('ipykernel').read_text('direct_url.json'), 'ipykernel under test is not this checkout'" python test_ipykernel.py