Skip to content
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

feat: Add "deno jupyter" subcommand #20337

Merged
merged 144 commits into from
Sep 16, 2023
Merged
Show file tree
Hide file tree
Changes from 138 commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
2611964
Add 'jupyter' subcommand and tools module
bartlomieju Dec 9, 2021
0f6e0d5
add install command
bartlomieju Dec 9, 2021
1727234
start working on a kernel
bartlomieju Dec 9, 2021
6d62a93
Merge branch 'main' into jupyter
bartlomieju Dec 11, 2021
1987776
add a few structs
bartlomieju Dec 11, 2021
69d6cb7
Merge branch 'main' into jupyter
bartlomieju Dec 12, 2021
f397ae3
integrate apowers changes
bartlomieju Dec 12, 2021
8c5f654
refactor IOPub
bartlomieju Dec 12, 2021
5ecf41b
store comms on Kernel and poll message receives accordingly
bartlomieju Dec 12, 2021
691f2a4
add jupyter message structs
apowers313 Dec 13, 2021
5fec7ff
ignore Jupyter files
apowers313 Dec 15, 2021
8849be0
add hmac sign and verify
apowers313 Dec 15, 2021
64867fa
Merge branch 'main' into jupyter
bartlomieju Dec 17, 2021
ee1a306
Merge remote-tracking branch 'origin/jupyter_apowers313' into jupyter
bartlomieju Dec 17, 2021
f1015f2
fix panic and fmt
bartlomieju Dec 17, 2021
f32d938
disable linting for now
bartlomieju Dec 17, 2021
22e52ee
Message::serialize
bartlomieju Dec 18, 2021
370991a
Message::from_zmq_message
bartlomieju Dec 18, 2021
299e1af
fix deserialization
bartlomieju Dec 18, 2021
b9a2141
Ben's review
bartlomieju Dec 18, 2021
cc118b3
Merge branch 'main' into jupyter
bartlomieju Dec 20, 2021
884ff4b
implement handlers
apowers313 Dec 21, 2021
d8fb59d
working reply messages
apowers313 Dec 22, 2021
b7a6fbd
remove iopub return path
apowers313 Dec 22, 2021
54ba6bc
refactor message content and metadata
apowers313 Dec 23, 2021
3e298c8
implement set_state
apowers313 Dec 24, 2021
e43360d
partially working execute
apowers313 Dec 25, 2021
37799e4
Merge remote-tracking branch 'origin/jupyter_apowers313' into jupyter
bartlomieju Dec 25, 2021
ed93486
lint & fmt
bartlomieju Dec 26, 2021
f67bff7
split into modules
bartlomieju Dec 26, 2021
6ec3e40
code execution, use forked zmq.rs
bartlomieju Dec 26, 2021
099e69c
lint
bartlomieju Dec 26, 2021
93da7b0
comm module
bartlomieju Dec 26, 2021
941592e
loosen types
bartlomieju Dec 26, 2021
b0f1167
fix versions
bartlomieju Dec 26, 2021
7d865e4
clean up imports
bartlomieju Dec 26, 2021
f4a3ef0
shorten code
bartlomieju Dec 26, 2021
9ce1f94
cleanup message_types.rs
bartlomieju Dec 26, 2021
07af2fe
move session creation into Kernel
bartlomieju Dec 26, 2021
93ecd03
add overwrite_op
bartlomieju Dec 26, 2021
244c948
capture stdio
bartlomieju Dec 26, 2021
6d398be
change logging, update msg type
bartlomieju Dec 26, 2021
0c639c5
handle errors gracefully
bartlomieju Dec 26, 2021
60ecbd0
stdio handler
bartlomieju Dec 26, 2021
da56ac9
add heartbeat
bartlomieju Dec 26, 2021
6213db2
logging, zmq 0.3.2
bartlomieju Dec 26, 2021
c62b198
fix logging
bartlomieju Dec 26, 2021
45003ef
poll worker in a loop
bartlomieju Dec 26, 2021
494c3a2
more debug logging
bartlomieju Dec 26, 2021
20ff23e
upgrade zmq.rs to 0.3.3
bartlomieju Dec 27, 2021
ecfc9de
refactor exec results, implement display data
apowers313 Dec 27, 2021
3312570
merge jupyter branch into jupyter_apowers313
apowers313 Dec 27, 2021
2aefff1
improve exec result decoding
apowers313 Dec 27, 2021
cd8940c
fix null exec result, delint
apowers313 Dec 27, 2021
37cd412
fix missing date in msg header
apowers313 Dec 27, 2021
d64ed55
fix error reporting, delint
apowers313 Dec 28, 2021
ccc80c8
improve object printing
apowers313 Dec 28, 2021
8861712
Merge branch 'main' into jupyter
bartlomieju Dec 29, 2021
4b1b5be
replace overwrite op
bartlomieju Dec 29, 2021
c494a2f
remove 'rust' from kernelspec
bartlomieju Dec 29, 2021
f43d3ca
run kernel in unstable mode for jupyter API
apowers313 Dec 30, 2021
06c5e92
add jupyter display
apowers313 Dec 30, 2021
4f7aabb
Merge branch 'jupyter_apowers313' into jupyter
bartlomieju Dec 30, 2021
3e91630
lint & fmt
bartlomieju Dec 30, 2021
de34c8a
Merge branch 'main' into jupyter
bartlomieju Dec 30, 2021
ec65594
add binary display data
apowers313 Dec 30, 2021
7f82d0f
add display option for string-encoded data
apowers313 Dec 31, 2021
8543a88
add display png
apowers313 Dec 31, 2021
3c70865
add jupyter display html
apowers313 Jan 1, 2022
4e008b1
jupyter test data
apowers313 Jan 1, 2022
5883413
add html tests
apowers313 Jan 1, 2022
e2b01b8
add jupyter display metadata
apowers313 Jan 1, 2022
2dfd444
Merge branch 'jupyter_apowers313' into jupyter
bartlomieju Jan 2, 2022
15e41b6
Merge branch 'main' into jupyter
bartlomieju Jan 2, 2022
a3cf36b
fmt and lint
bartlomieju Jan 3, 2022
93b9fad
Merge branch 'main' into jupyter
bartlomieju Jan 3, 2022
1a0aedc
add identity to zmq sockets
bartlomieju Jan 3, 2022
5588583
execution_count for errors, execution_count for exec results, use -L …
bartlomieju Jan 3, 2022
09fb24c
add support for DEBUG env var
bartlomieju Jan 3, 2022
fd9b55c
add display json data format
apowers313 Jan 4, 2022
88bc979
add display vega lite
apowers313 Jan 4, 2022
0f32ece
Merge branch 'jupyter_apowers313' into jupyter
bartlomieju Jan 4, 2022
8903ed4
vega in notebook
bartlomieju Jan 4, 2022
047061c
Merge branch 'main' into jupyter
bartlomieju Jan 17, 2022
c8f4ea2
Merge branch 'main' into jupyter
bartlomieju Jan 29, 2022
341ea46
fix after merge
bartlomieju Jan 29, 2022
e43aab2
Revert "fix after merge"
bartlomieju Jan 31, 2022
9bf876d
Merge branch 'main' into jupyter
bartlomieju Jan 31, 2022
fbd7a9e
fix after revert
bartlomieju Jan 31, 2022
1472365
Merge branch 'main' into jupyter
bartlomieju Apr 10, 2022
2c7453e
Merge branch 'main' into jupyter
bartlomieju Jun 26, 2022
48dfe9d
fix after merge
bartlomieju Jun 26, 2022
96d5178
Merge branch 'main' into jupyter
bartlomieju Aug 31, 2023
f528f58
some fixes after merge
bartlomieju Aug 31, 2023
2a71353
fully rebased
bartlomieju Aug 31, 2023
24c17d6
lint
bartlomieju Aug 31, 2023
a7b9e56
fix installation
bartlomieju Aug 31, 2023
cec0518
fix output
bartlomieju Aug 31, 2023
6a2b877
some cleanup
bartlomieju Sep 1, 2023
98cf1fa
remove js api
bartlomieju Sep 1, 2023
6983f6d
update copyrights
bartlomieju Sep 1, 2023
49111ee
reorg
bartlomieju Sep 1, 2023
a876055
output working
bartlomieju Sep 1, 2023
7ddc5db
Merge branch 'main' into jupyter2
bartlomieju Sep 3, 2023
60c454e
simplify ExecResult
bartlomieju Sep 3, 2023
3fe15b8
remove unnecessary methods
bartlomieju Sep 4, 2023
70d647e
temp
bartlomieju Sep 4, 2023
7a3008b
simplify
bartlomieju Sep 4, 2023
8937b23
jupyter_msg.rs
bartlomieju Sep 4, 2023
48911c6
new server
bartlomieju Sep 4, 2023
01187bd
JupyterServer working
bartlomieju Sep 4, 2023
00ef3d7
needs cleanup, but it works!
bartlomieju Sep 4, 2023
6b7f871
Merge branch 'main' into jupyter2
bartlomieju Sep 5, 2023
fc82cf5
update
bartlomieju Sep 5, 2023
c357f93
Merge branch 'main' into jupyter2
bartlomieju Sep 8, 2023
873b634
graceful shutdown
bartlomieju Sep 8, 2023
433c2c6
fix npm package imports
bartlomieju Sep 10, 2023
178f8ad
Merge branch 'main' into jupyter2
bartlomieju Sep 10, 2023
e72b5d0
send a completion response
rgbkrk Sep 10, 2023
9d07dde
make completions work
bartlomieju Sep 10, 2023
c8d7348
fix cursor position
bartlomieju Sep 10, 2023
4f675a4
Add tab-completions reusing REPL logic
bartlomieju Sep 10, 2023
403e4a3
implement display
bartlomieju Sep 11, 2023
c3181bd
Merge branch 'main' into jupyter2
bartlomieju Sep 12, 2023
2da3521
fmt
bartlomieju Sep 12, 2023
a3016df
simplify
bartlomieju Sep 12, 2023
d276dbf
syntax error forwards error to the frontend
bartlomieju Sep 13, 2023
35051c0
set nb converter
bartlomieju Sep 13, 2023
fdaf27c
don't print undefined
bartlomieju Sep 13, 2023
01ac23d
Merge branch 'main' into jupyter2
bartlomieju Sep 14, 2023
bd7260c
Merge branch 'main' into jupyter2
bartlomieju Sep 14, 2023
9ac3d8c
sleep for 5ms before returning from successful execution
bartlomieju Sep 14, 2023
6df206f
remove stale testdata
bartlomieju Sep 14, 2023
4433357
wip
bartlomieju Sep 15, 2023
c1b6c9d
don't handle inspect_request for now
bartlomieju Sep 15, 2023
cba90fa
fix a todo
bartlomieju Sep 15, 2023
026e2a3
Merge branch 'main' into jupyter2
bartlomieju Sep 15, 2023
a29bf34
reorg subcommands
bartlomieju Sep 15, 2023
07a15c1
add unstable check
bartlomieju Sep 15, 2023
5cc8f10
icons
bartlomieju Sep 15, 2023
da62ce3
review part 1
bartlomieju Sep 15, 2023
7720770
review part 2
bartlomieju Sep 15, 2023
42d1cfe
update test notebook
bartlomieju Sep 15, 2023
525719e
move integration test notebook to cli/tests/testdata/
bartlomieju Sep 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ gclient_config.py_entries

# JUnit files produced by deno test --junit
junit.xml

# Jupyter files
.ipynb_checkpoints/
Untitled*.ipynb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A sign of true Jupyter development

Loading