Kevin Bates
53d4d08813
Fix detection of unsupported config, prevent async on 3.5
6 years ago
Kevin Bates
99b0afd16e
Apply changes per review
...
Add comments and rename self.super to self.pinned_superclass to
clarify intent.
Add run_sync() util method to clean up shutdown_all() invocation.
6 years ago
Kevin Bates
72d44c58cf
Switch class hierarchy to not use mixin base
...
This commit uses the approach used in jupyter_server #191 first proposed
by David Brochart. This reduces code duplication and alleviates redundancy
relative to configurable options.
Also, the startup message now includes the version information.
Co-authored-by: David Brochart <david.brochart@gmail.com>
6 years ago
Kevin Bates
788bb0ebe0
Update all coroutine/yield methods to async/await, share another method
6 years ago
Kevin Bates
570986282e
Move duplicated methods to mixin, fix mixin order
6 years ago
Kevin Bates
8a4beb0d15
Convert to async/await and apply touch ups
6 years ago
Kevin Bates
7abd4bee27
Indicate that async kernel management is configured
6 years ago
Kevin Bates
3226b07345
Add support for AsyncMappingKernelManager
...
Supports running against incompatible jupyter_client so long as the
desired kernel_manager_class is not `AsyncMappingKernelManager`.
6 years ago
Kevin Bates
677ccc3d7a
Refactor buffering, culling and activity monitoring into classes
...
Use composition in preparation for AsyncMappingKernelManager.
6 years ago
Bruno P. Kinoshita
619d534edb
Update message about minimum Tornado version
6 years ago
Ben Zinberg
cb385481f6
Fix place where we were passing an `Array[string]` to `CodeMirror.findModeByExtension` instead of passing a string. (I guess older versions of CodeMirror allowed this?)
6 years ago
Ben Zinberg
99fc8da27a
rerun CI, I think the failure was unrelated and transient
6 years ago
bzinberg
a1ed78ddad
Update CodeMirror dependency
...
Per https://github.com/codemirror/CodeMirror/issues/6128#issuecomment-580438029 , hoping to pick up a fix to https://github.com/codemirror/CodeMirror/issues/6064 that got merged in recently.
6 years ago
Min RK
43df5af2b6
Merge pull request #5174 from tirkarthi/fix-json-loads-encoding
...
Remove deprecated encoding parameter for Python 3.9 compatibility.
6 years ago
Karthikeyan Singaravelan
c01b2cc014
Remove deprecated encoding parameter for Python 3.9 compatibility.
6 years ago
Luciano Resende
8a67477156
Back to development version
6 years ago
Luciano Resende
85f1b9f787
Release 6.0.3
6 years ago
Luciano Resende
e597adc4d2
Changelog for Release 6.0.3
6 years ago
Kevin Bates
499740b4bb
Bump minimum version of jupyter_core ( #5170 )
...
Since there's a 6.0.3 release brewin', I thought we should bump
the minimum version of jupyter_core from 4.6.0 to 4.6.1. The
latter has an edge case to the slew of secure_write issues that
would be very annoying if NB 6.0.3 didn't upgrade to that version.
The edge case is to tolerate the owner-execute bit on the connection
file, which occurs when RUNTIME_DIR resides on certain filesystem
types (e.g., CIFS).
6 years ago
ahangsleben
33548e18bf
Upgraded typeahead library. ( #4944 )
6 years ago
Zachary Sailer
f354740e57
Merge pull request #5136 from pallavibharadwaj/issue_1914
...
descriptive log for port unavailable and port-retries=0
6 years ago
Pallavi Bharadwaj
5996cdf6a4
descriptive log info for port in use and port-retries=0
6 years ago
Pallavi Bharadwaj
d04b35cab5
descriptive log for port unavailable and port-retries=0
6 years ago
Thomas Kluyver
d0a74353e6
Merge pull request #5111 from takluyver/nbconvert6-tests-notsoisolated
...
Fix running tests with nbconvert 6 prerelease
6 years ago
Thomas Kluyver
e53383ceb2
Allow testing with nbconvert 6 again (unpin)
...
Closes gh-5086
Closes gh-5092
6 years ago
Thomas Kluyver
d6259ae285
Don't monkeypatch environment data locations for test notebook server
6 years ago
Min RK
5e5ad60a57
Merge pull request #5099 from forest0/master
...
preserve term "Markdown" untranslated
7 years ago
forest0
0c82d764bd
preserve term "Markdown" untranslated
7 years ago
Thomas Kluyver
76a323e677
Merge pull request #4826 from benthayer/selectall
...
Ctrl-A to select all cells
7 years ago
Thomas Kluyver
b67164033e
Merge pull request #5043 from takluyver/selenium-prefill
...
Selenium test fixture to open a notebook with prefilled content
7 years ago
Thomas Kluyver
fc2dc8f002
Merge pull request #4785 from dleen/master
...
Prevent tests from hanging
7 years ago
Thomas Kluyver
fd4275cdf6
Merge branch 'master' into master
7 years ago
Thomas Kluyver
2eb5544358
Merge pull request #4899 from rayehh/master
...
Add end punctuation and update korean document
7 years ago
Thomas Kluyver
7b5248d1ce
Merge pull request #5055 from shuichiro-makigaki/fix-gateway-handled-exceptions
...
Fix packages of exceptions catched by gateway manager
7 years ago
Thomas Kluyver
806904c0f9
Merge pull request #5078 from haobibo/patch-1
...
Ensure jupyter config dir exist
7 years ago
Thomas Kluyver
6c67bb133b
Merge pull request #5085 from takluyver/test-pin-nbconvert-5.x-b
...
Pin nbconvert <6 for now
7 years ago
Thomas Kluyver
f377abfa04
Pin nbconvert <6 for now
7 years ago
Thomas Kluyver
f185f4127d
Merge pull request #5021 from krinsman/master
...
Fixes #5002
7 years ago
Thomas Kluyver
1d76105301
Merge pull request #5077 from michalc/contents-manager-get-can-return-future
...
Allow contents manager get to return future
7 years ago
Bibo Hao
9775af7bba
Update security.py
7 years ago
Thomas Kluyver
10c7d2a53f
Merge pull request #5075 from shevelevs/DynamicDefaultForMinOpenFilesLimit
...
Making default value for min_open_files_limit dynamic
7 years ago
Thomas Kluyver
1efa780a70
Merge pull request #5047 from minrk/py38-tornado
...
workaround tornado py38 compatibility issue
7 years ago
Bibo Hao
8d43f50f04
Ensure jupyter config dir exist
...
The bug:
When
- the user login for the first file with a token and want to change his/her password
- and if the folder `~/.jupyter` (`jupyter_config_dir()`) does not exist
then the jupyter server will raise a `FileNotFoundError` exception and return a 500 error.
This change tries to fix this bug by ensure the folder exist so that the `config_file` can be opened.
7 years ago
Michal Charemza
b7a354d8fa
Allow contents manager get to return future
...
This is a follow up to https://github.com/jupyter/notebook/pull/4099 ,
wrapping other uses of contents manager get with `maybe_future` to
allow it to yield the event loop.
7 years ago
Sergey Shevelev
e46a344fa6
Making default value for min_open_files_limit dependent on user's
...
ulimit values so trying to increase them above hard limit while
running as non-privileged user is not causing error on start-up.
See https://github.com/jupyter/notebook/issues/5070
7 years ago
Shuichiro MAKIGAKI
aa73eb43cd
Fix packages of exceptions catched by gateway manager
...
`gateway_request` in `gateway.manager` raises `tornado.web.HTTPError` exceptions,
but the callers, such as `GatewayKernelManager.get_kernel`, catch
`tornado.httpclient.HTTPError`, instead of `tornado.web.HTTPError`.
Therefore, the callers can not handle exceptions during gateway interactions.
This causes that, for example, when Jupyter Enterprise Gateway culled a kernel
by idle timeout, the gateway manager can not handle the kernel's absent appropriately.
As a result, notebook users see ambiguous "Kernel Error" and can not restart
the kernel or start a new kernel.
7 years ago
Min RK
7e2ae22aee
apply asyncio patch before launching new loop for tests
7 years ago
William Krinsman
765c9f7316
Implement Thomas Kluyver's idea -- let the contents and kernel managers get the application option as part of calculating the default
7 years ago
Min RK
29ec93627c
workaround tornado py38 compatibility issue
...
by setting the pre-3.8 eventloop policy as default
7 years ago
Thomas Kluyver
7fb461ddf7
Selenium test fixture to open a notebook with prefilled content
...
This makes several tests shorter and (hopefully) more efficient
7 years ago