Skip to content

Add the Pyodide kernel from the JupyterLite repository #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 443 commits into from
Mar 4, 2023

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented Dec 2, 2022

Import the Pyodide kernel from https://github.com/jupyterlite/jupyterlite while trying to keep most of the history.

Corresponding PR on the JupyterLite repo: jupyterlite/jupyterlite#854

Partially following https://docs.github.com/en/get-started/using-git/splitting-a-subfolder-out-into-a-new-repository:

# fresh clone of the jupyterlite repo into a temporary folder
git clone https://github.com/jupyterlite/jupyterlite tmp-pyodide-kernel
cd tmp-pyodide-kernel

# install git-filter-repo: https://github.com/newren/git-filter-repo/blob/main/INSTALL.md
# filter the two directories
python ~/git/git-filter-repo --path packages/pyolite-kernel --path packages/pyolite-kernel-extension

# go back to the jupyterlite-pyodide-kernel repo (this one)
git remote add import ../tmp-pyodide-kernel
git merge import/main --allow-unrelated-histories

# delete tmp-pyodide-kernel (not needed anymore)

This only grabs the changes that were made to the following folder and will omit changes done outside (webpack config, README, dodo, examples):

  • packages/pyolite-kernel
  • packages/pyolite-kernel-extension

TODO

image

  • Reset version to 0.0.1 to prepare for the releaser
  • Fix bumping of piplite and pyodide_kernel in package.json
  • Add the Python tests

github-actions bot and others added 30 commits October 4, 2021 07:59
SHA256 hashes:

SHA256SUMS: 7b5e44f218a23d17fc5808f4c5e7d34ae6b8c07d769128ca0f6529e55c38c64e

jupyterlite-0.1.0a12-py3-none-any.whl: 5fe925e1570847a05d008648334464ec0548a5aea72da7421dadca9ced71d303

jupyterlite-0.1.0a12.tar.gz: 93df235c5db676230ed99a83434f1bb999fb515351e089c0d71579d4de77dcfe

jupyterlite-app-0.1.0-alpha.12.tgz: 2b26239bb7a3eab30196ee6441b84edffc2fa41ffaa3424085fd458f3f6c946e

jupyterlite-application-extension-0.1.0-alpha.12.tgz: f0bbc2fb670538d4e16f8ef3772cb2601b29313ab153685fa6a13f736fc6b100

jupyterlite-contents-0.1.0-alpha.12.tgz: 0934855f6c757a794797b1a9007b49208a56306e89bc65839a046f4848bc1e86

jupyterlite-iframe-extension-0.1.0-alpha.12.tgz: a39f778c3f7c6fce33e4664a779883ad7adc193230b59bf4be1094ace76cc5a7

jupyterlite-javascript-kernel-0.1.0-alpha.12.tgz: 4bdf9d18e393b00a9be1da3379a68659acb36420e4b126307c8ed12e3fc7cfc2

jupyterlite-javascript-kernel-extension-0.1.0-alpha.12.tgz: 32e0f6377edb869c815869ef6130c82f62359fe36d75828158bd7c94380c3339

jupyterlite-kernel-0.1.0-alpha.12.tgz: 49aeb63a547e1b2b9e961deee70d2711ec1dc54cbae8539747aa5d8172aa6b3e

jupyterlite-pyolite-kernel-0.1.0-alpha.12.tgz: 1f956965232d1e9f9c65ba2e678633936f042133646ed1be3a44df192cbc12da

jupyterlite-pyolite-kernel-extension-0.1.0-alpha.12.tgz: bbb7d8b9df98982678a200c16bc03dabade8009540a28de4df5a55d728425d34

jupyterlite-retro-application-extension-0.1.0-alpha.12.tgz: d341e7786c1ebda7ee731107801a9bafb764417226535dbb9e6a5ad5d0068ef2

jupyterlite-server-0.1.0-alpha.12.tgz: d1145b02b98fe1e9f59c016e892d7d18b4b655fa0434ee4fff7cd753621235a0

jupyterlite-server-extension-0.1.0-alpha.12.tgz: 1d2cb75abbf34ad43260e61efd5b8c76792f17e99c3d23f703fce5ba0a1a4dca

jupyterlite-session-0.1.0-alpha.12.tgz: 6813b6edeec63ab32770fc62b505ce74a5bf848645b9ed04ddde502dfe5b95d2

jupyterlite-settings-0.1.0-alpha.12.tgz: efd9e4e4281b6c415df8ef1238b47a3c1059dd0d3b7e9f1d9393ea12f368284c

jupyterlite-translation-0.1.0-alpha.12.tgz: ba68cca5a899cd09555f271f7df7bfe709a06970668be97f0712a507a2b54d91

jupyterlite-ui-components-0.1.0-alpha.12.tgz: 4446a7b67f1191da95959b6fceb5496b1c9644211da6575355c0cbe50c6884c0
SHA256 hashes:

SHA256SUMS: 28bde832847b3789a99f214e8fd1822e9319582a700109bb65cb5f693efa5e0e

jupyterlite-0.1.0a13-py3-none-any.whl: c378921ddf92ed386628aef5000571abef2dcd3befbde68529371c69b24bd25a

jupyterlite-0.1.0a13.tar.gz: e6e36739745cc6c0df72505cb71b9d20efa1c802805e20e40e19d33a87bd8215

jupyterlite-app-0.1.0-alpha.13.tgz: 6004f58f6e646d9c63890eed3bb669dee351deef4e22305f3983c74c5810e777

jupyterlite-application-extension-0.1.0-alpha.13.tgz: ea57e47e9ec34f630de0ff05419c60e85c627fc24e7e86b582a5770909ef43bf

jupyterlite-contents-0.1.0-alpha.13.tgz: dfb47f0d2801562da4570f4229dabaaea4db7b65b6e36687101657dca31b1dde

jupyterlite-iframe-extension-0.1.0-alpha.13.tgz: f018add581381ee29089b06e31db51f7e08031188db9a928753eda252c4e4b6d

jupyterlite-javascript-kernel-0.1.0-alpha.13.tgz: ae0fe655b65835d72487ce21ba8596ea92ade19b0f371d638b741b9809e35b70

jupyterlite-javascript-kernel-extension-0.1.0-alpha.13.tgz: 65c8cf35899e08a2e7d6176ea060749656b8980b80ad09b245fc271eff1e5427

jupyterlite-kernel-0.1.0-alpha.13.tgz: 41896085e7304a8176e0ed134b4115136d5b0b06f76f81b0ccd19ff47f8f589b

jupyterlite-pyolite-kernel-0.1.0-alpha.13.tgz: 91dae9254da717ffee855623276bab2e95049839ff72b4251c0b6e45549f8ac8

jupyterlite-pyolite-kernel-extension-0.1.0-alpha.13.tgz: ba2a89f8fedb4474af26ceccdb295ee496460b81545bb7ef281a610a793902eb

jupyterlite-retro-application-extension-0.1.0-alpha.13.tgz: a93499674a699c64b26341c49dfbe4ad2e6aa23df31e2edf3c4d1e03ee27ddea

jupyterlite-server-0.1.0-alpha.13.tgz: 3a10402cf7ad4a47b70860b568eb38e1d185051423f86e0d9f42f13ba62e4249

jupyterlite-server-extension-0.1.0-alpha.13.tgz: b9ef5738eed0b7efdf2160c4decb9b610829479e386d3f43ee4ea6ed540b2bc5

jupyterlite-session-0.1.0-alpha.13.tgz: f7d3f47d92c07bd1200285670c339965031a883d5b7159c2b5b98a83156ebd51

jupyterlite-settings-0.1.0-alpha.13.tgz: 62a4995583c9f629e735a43f5918884f80fca15ab59a6caef9edca4e12e84c54

jupyterlite-translation-0.1.0-alpha.13.tgz: 851eecf5cf213c908c642219edd6e547cb6a31d2abf68d524255264102af9977

jupyterlite-ui-components-0.1.0-alpha.13.tgz: 686661773e07a483e6ed5100432479b666cdd48303edf051431920922d5607eb
Update to JupyterLab 3.2 and RetroLab 0.3.10
SHA256 hashes:

SHA256SUMS: e4b5cca4623178f1170018baf42e420c11cd136a8da81e364b5eb68fdc1f4a31

jupyterlite-0.1.0a14-py3-none-any.whl: 2aee95f7bb920833dcc7d8ed5cf059508bc0cc2464643fab70d1e3d6dca4bee4

jupyterlite-0.1.0a14.tar.gz: e412ab702bcfb7c86c9f61db56c2657f01d184e81bd536f9fb26c267fb966cd4

jupyterlite-app-0.1.0-alpha.14.tgz: ce7abfa9079f705bcc46ff77640adc10fbedc538dac85ba70a1680ce6e729887

jupyterlite-application-extension-0.1.0-alpha.14.tgz: 39b5dbef09a7ea8067643e060fa47eb8df8f81736af0a463297b0217a697694c

jupyterlite-contents-0.1.0-alpha.14.tgz: aac03860c259cc8c04de37f7766ba375328e9e90fca4b33c5264aff5cf79208d

jupyterlite-iframe-extension-0.1.0-alpha.14.tgz: 2a87b8bf91b4310fb5cd5efe1fbc87b16b1c457c2449389189e86f28eccf7c8f

jupyterlite-javascript-kernel-0.1.0-alpha.14.tgz: 315271ed9cd616c38ecfefabbb0462cbdb70bd0e34557a98dfa31b96165bcb8d

jupyterlite-javascript-kernel-extension-0.1.0-alpha.14.tgz: d14241488d540a6303316b7e256d3920675a59287ef308f3b4f27f1a59a97036

jupyterlite-kernel-0.1.0-alpha.14.tgz: 378face35e347503a55c9d8d0d6f1a449f475f2af1192c16d4557e67452d6444

jupyterlite-pyolite-kernel-0.1.0-alpha.14.tgz: a214a0ef22f9c2f37517cb4bfc343c63a53ac004200181bf6e0edd1b25c6cfe8

jupyterlite-pyolite-kernel-extension-0.1.0-alpha.14.tgz: e96f8a6413bf21a345f4febd7acd3569a1982b4df625b5ea5026b781894fdbc4

jupyterlite-retro-application-extension-0.1.0-alpha.14.tgz: 34ea44efaf1a957b47b7fb4c8743ad4e8ed6c0c5ef140dfc8768efb4a6bf715b

jupyterlite-server-0.1.0-alpha.14.tgz: 2945a7570cff6f25a1465ee0b3ce01f1377e683a46b6b28aeb5beb8f51a30557

jupyterlite-server-extension-0.1.0-alpha.14.tgz: e9575bf26e2273e144896c82c139871a295f7be6f7d872ba3522158d9af76a27

jupyterlite-session-0.1.0-alpha.14.tgz: 82ae377972566a2f896cd28fecd62ec198778bd1dcc8804f77c934159a6e035c

jupyterlite-settings-0.1.0-alpha.14.tgz: 5414dc9ee36988be85d3f924a4f639e84c6b53075cfcbe89aa1e9ed9dabe40e1

jupyterlite-translation-0.1.0-alpha.14.tgz: 297235de59c73ea79490c32f8a163802032bf1fff145d19ba163d910f3af2218

jupyterlite-ui-components-0.1.0-alpha.14.tgz: 2a08efdd57248116fe01aa191599bccdecab2f090ff78f0abd9ac786bfb7eb69
SHA256 hashes:

SHA256SUMS: 1c2dc4bf52e6d9f841da9eb10efdbfd999fa86fa3c3d48f312327ec0e97c2e23

jupyterlite-0.1.0a15-py3-none-any.whl: 75b51fc4d599e435b407ab393d03b2cde6771019db92ff3894154ff16db5a156

jupyterlite-0.1.0a15.tar.gz: cef51253b659f122d74bbce1cb1729ad0f85290b7cfbcc56c0c1f6beaeed2c11

jupyterlite-app-0.1.0-alpha.15.tgz: 0777d3353a084ebfa2efefde71b9c8608238ec54635ca768fecc18724077f2d6

jupyterlite-application-extension-0.1.0-alpha.15.tgz: f4475937db50b4c19b478f1504b25e5718cb0f4b682c67b7b31435c9bd5f04c4

jupyterlite-contents-0.1.0-alpha.15.tgz: 20e728c1b9bc62f08e73339a24f2308b50fa1089901bf73825ec555d1802e2ad

jupyterlite-iframe-extension-0.1.0-alpha.15.tgz: abd932caa7c483bb75172304b96fe468ce74fb7741263689a2cc6f1a45df6225

jupyterlite-javascript-kernel-0.1.0-alpha.15.tgz: 4e68b23a25c3e3fa407523128035a3ad5ef6617392c7e1a761065d36aeac23b0

jupyterlite-javascript-kernel-extension-0.1.0-alpha.15.tgz: 931150b0557a24b92e8c1b5da23e448777e8d29f6d686814f5414777937f404b

jupyterlite-kernel-0.1.0-alpha.15.tgz: 99fd6a82b5b727b09c0ff30394b5b5aee59ffcf935e95822a5a2d7f6edb106ac

jupyterlite-pyolite-kernel-0.1.0-alpha.15.tgz: 811db38f8b5c050668e5397710652e2ceffcb4d6652fa62ecb8389b9080a9c7e

jupyterlite-pyolite-kernel-extension-0.1.0-alpha.15.tgz: 6dcc1be471ae6a64558425c16701417b8d3bc88a5b87e4add9af0c7536672525

jupyterlite-retro-application-extension-0.1.0-alpha.15.tgz: 64dcff47bbef9f23e3c2241b4b1af1c9580205ade5489d7503f7d7dd5cff60d4

jupyterlite-server-0.1.0-alpha.15.tgz: 4e8905b3c212622b4cae0a8dce2f449908b0677fd10f752c4085e9e9b4d145aa

jupyterlite-server-extension-0.1.0-alpha.15.tgz: 2012dee1a5317a0b09d83d41c79524d960452e8fafb28ff2958af81da1078703

jupyterlite-session-0.1.0-alpha.15.tgz: 3b39cfa91825ea71e44ee83eb0600cf114c0c39985a71ea764141d4fd8a33804

jupyterlite-settings-0.1.0-alpha.15.tgz: 8f03e11af039c2e13034c6d8dc74ee21ee24efaadf504639ebc6ea08c45075f2

jupyterlite-translation-0.1.0-alpha.15.tgz: f9fbfc8428a95cf4e777ca6fd2a91cc0e8523a8f152c47d2c8078fe1e27e7c46

jupyterlite-ui-components-0.1.0-alpha.15.tgz: 81d0c38a9d45bfab07cc4448e32baff8588e4e592f083483b62d006fdfb58b76
SHA256 hashes:

SHA256SUMS: 5c845d33546ed6b4e123f8fbaf68b882f0e823a86ec136706d9c83648bc0a6a9

jupyterlite-0.1.0a16-py3-none-any.whl: 935497837f0a1cf6b994c78a87c9370df2b4e36bab48fbddda06dc006afd5d92

jupyterlite-0.1.0a16.tar.gz: 07e76e278b017f8f4f708f0fe40eac8002dedfe15cab833727490d07c0bfc2f4

jupyterlite-app-0.1.0-alpha.16.tgz: bdc1cfa6dcbe479c5b235a34f02d1a2296a0542147a46abf8d46504f017787b4

jupyterlite-application-extension-0.1.0-alpha.16.tgz: cd308c4d0fd42bf6c773f82329b78877996f9f7491c90e36cdce72e51c3b176e

jupyterlite-contents-0.1.0-alpha.16.tgz: 904673af02b5338d471fceea84a2e424daa955b22c0903469c9b8c173e11bd8f

jupyterlite-iframe-extension-0.1.0-alpha.16.tgz: e86b2d368a570225b506b2f4330f5dd54a3f29a8b9fc3feeb124c59f661a180d

jupyterlite-javascript-kernel-0.1.0-alpha.16.tgz: b1456926bc57a323cf4c48ba7d62a1020deee9a74191ea0fb014fb78a02c8525

jupyterlite-javascript-kernel-extension-0.1.0-alpha.16.tgz: 4715a0c5fb41373f9b06abc45c02a7ac47eabe7e313c95bac7983213c6632635

jupyterlite-kernel-0.1.0-alpha.16.tgz: 1b4b876585044460a3e9d3acbff319f34b875d2db60ceceb98928eec985f8370

jupyterlite-pyolite-kernel-0.1.0-alpha.16.tgz: 1d8bc74388f0d99f1ba4bc4ce18cefa5954d8a1644dd96ecb3a9ce8d3cb4a4e6

jupyterlite-pyolite-kernel-extension-0.1.0-alpha.16.tgz: e6a022326e567961243941fa4e89b45cc57987538070ade7558fcf58d88a29c5

jupyterlite-retro-application-extension-0.1.0-alpha.16.tgz: 507a29de307b1f5208e78252f4d54c8244957716e2bc882a7463ca95359a850d

jupyterlite-server-0.1.0-alpha.16.tgz: 7ced01578f3f98872d1effa7a5aed00a5aad0e537670a5a4f4da23554555a08d

jupyterlite-server-extension-0.1.0-alpha.16.tgz: ae80a377d5b309c06d5e34408d5e392f0834dd94c3db7135ef07d52a4fd5cef8

jupyterlite-session-0.1.0-alpha.16.tgz: c52b038768fa2f96bd29cca4ca89b1dec0daaed638cddc3acbdcac9d318a35fc

jupyterlite-settings-0.1.0-alpha.16.tgz: a6e7564a09e88ba3d79baade9c428187e089e657be002529272e313d7a3afd96

jupyterlite-translation-0.1.0-alpha.16.tgz: 92619f8fbebc4af5e45d36e89c289f0db5fbbd293a9be6a5998876fe35c6832f

jupyterlite-ui-components-0.1.0-alpha.16.tgz: 7f7c9e5c08b8881d1a3179625e55ffd903c02bcc4f4e8293b45321664c6c7c8e
SHA256 hashes:

SHA256SUMS: e480331482104f48c267374e102bc98b184c1e638065a2e40e35862226ee988d

jupyterlite-0.1.0a17-py3-none-any.whl: b6e9b26dc968de90450f0619bf6bc28e26c31fbe87ccc42dfe9a9a93f1216e88

jupyterlite-0.1.0a17.tar.gz: 7c315e0b300e711470d4152e3412f3a419d723a86aa43371370559b6b0b09ee2

jupyterlite-app-0.1.0-alpha.17.tgz: d527500b59b6e70573d4fa9e34bb8faa3e5125d3547b09582c028e5ff6ba010e

jupyterlite-application-extension-0.1.0-alpha.17.tgz: d7a162d366630335acfd58fd37a5e26298fd0b169d474426f0752497ee24af5e

jupyterlite-contents-0.1.0-alpha.17.tgz: 2fd02b45047801a3bafb8c0ea2b218b5009b105c8aa88dcb15bcb772027e1334

jupyterlite-iframe-extension-0.1.0-alpha.17.tgz: 30cb1660fd52e8e5217372002022377eee73a6ee4fd794ec9618fffa6aa792d3

jupyterlite-javascript-kernel-0.1.0-alpha.17.tgz: f90ee45d9bdaf62747264eb6062877be30da3819b1f1f12a9bb3629ed4ac7ca4

jupyterlite-javascript-kernel-extension-0.1.0-alpha.17.tgz: a86df4daaafcb3e0b927229544881c1fb43c8914c45886ffcd30f39d103c43fe

jupyterlite-kernel-0.1.0-alpha.17.tgz: 6d722e9435af960fd6f65b656080862b4168f231c913316b71f51b56637dd95f

jupyterlite-pyolite-kernel-0.1.0-alpha.17.tgz: c9487d680ec407dcf4e9b18825c81a9720953d75cb2ee9d5b427cac52fb87d0a

jupyterlite-pyolite-kernel-extension-0.1.0-alpha.17.tgz: 58544a33fa46cd495d8c8fce700df439acf1d8d76287d7d71c772c0a89056076

jupyterlite-retro-application-extension-0.1.0-alpha.17.tgz: 8ab26c981698bc7f35864dee92e07fef82c0916ec7f2ad30839f5b431d45dc7b

jupyterlite-server-0.1.0-alpha.17.tgz: 0d9ec80b999d00dec9572efe5a9fbda54bd544ec4db943af62b4c0e3b4b4e252

jupyterlite-server-extension-0.1.0-alpha.17.tgz: b68d0897a9240e8b76469603eee9895590d1f34fd8f7c49e3884c8420dca49a5

jupyterlite-session-0.1.0-alpha.17.tgz: 118e01bcb9abd338dfd49e2b4d361f4defc1b9f4e6038eb5e1b9e56ba980568d

jupyterlite-settings-0.1.0-alpha.17.tgz: e76a8b64a8544c4134819ac764b3dd129164d2e035bb10a83e8d3a11fcef2150

jupyterlite-translation-0.1.0-alpha.17.tgz: cbb3a29f9c123099b232341ff80ff5ab14ef7f113c101322371224a56cd0909f

jupyterlite-ui-components-0.1.0-alpha.17.tgz: 1af2d9aeea930ac891ea5868ebda8278ffb35e15b8da4761e57a4e94aa677270
@jtpio jtpio force-pushed the add-kernel branch 9 times, most recently from d9fc47f to 4a656d5 Compare March 2, 2023 21:47
@jtpio jtpio force-pushed the add-kernel branch 11 times, most recently from f289a53 to 5ebf8d2 Compare March 3, 2023 16:33
@jtpio
Copy link
Member Author

jtpio commented Mar 3, 2023

OK I will probably stop here for now and check the Python tests in a separate PR, since they need quite a bit of setup to work (install jupyterlite from jupyterlite/jupyterlite#854).

The kernel seems to work fine when using the jupyterlite wheel built by the released in jupyterlite/jupyterlite#854:

image

Follow-ups

@jtpio jtpio marked this pull request as ready for review March 3, 2023 16:52
@jtpio jtpio merged commit b81dc99 into jupyterlite:main Mar 4, 2023
@jtpio jtpio deleted the add-kernel branch March 4, 2023 08:41
This was referenced Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants