Skip to content

Commit 49c6d61

Browse files
glaziermagclaude
authored andcommitted
Install ipykernel from source in the jupyter_kernel_test downstream job 🤖🤖
`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 <noreply@anthropic.com>
1 parent ec804fb commit 49c6d61

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/downstream.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,7 @@ jobs:
9797
run: |
9898
git clone https://github.com/jupyter/jupyter_kernel_test.git
9999
cd jupyter_kernel_test
100+
pip install ..
100101
pip install -e ".[test]"
102+
python -c "import importlib.metadata as m; assert m.distribution('ipykernel').read_text('direct_url.json'), 'ipykernel under test is not this checkout'"
101103
python test_ipykernel.py

0 commit comments

Comments
 (0)