poetry shits the bed when trying to install ipykernel on Macs with Apple Silicon
Microsoft.
Yeah. They made something called debugpy that ipykernel depends on which fails for inscritable reasons.
Assuming you have poetry installed:
poetry init
poetry add debugpy=1.6 # this is important. later versions won't work
poetry add ipykernel
poetry run python -m ipykernel install --user --name $FOO