Kevin Bates
53d4d08813
Fix detection of unsupported config, prevent async on 3.5
2020-04-01 16:39:29 -07:00
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.
2020-03-27 10:53:35 -07:00
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>
2020-03-26 13:36:49 -07:00
Kevin Bates
788bb0ebe0
Update all coroutine/yield methods to async/await, share another method
2020-03-20 08:09:39 -07:00
Kevin Bates
570986282e
Move duplicated methods to mixin, fix mixin order
2020-03-19 17:31:13 -07:00
Kevin Bates
8a4beb0d15
Convert to async/await and apply touch ups
2020-03-19 11:49:29 -07:00
Kevin Bates
7abd4bee27
Indicate that async kernel management is configured
2020-03-10 10:20:23 -07:00
Kevin Bates
3226b07345
Add support for AsyncMappingKernelManager
...
Supports running against incompatible jupyter_client so long as the
desired kernel_manager_class is not `AsyncMappingKernelManager`.
2020-02-22 08:00:48 -08:00
Kevin Bates
677ccc3d7a
Refactor buffering, culling and activity monitoring into classes
...
Use composition in preparation for AsyncMappingKernelManager.
2020-02-22 07:47:50 -08:00
Min RK
43df5af2b6
Merge pull request #5174 from tirkarthi/fix-json-loads-encoding
...
Remove deprecated encoding parameter for Python 3.9 compatibility.
2020-01-23 10:07:06 +01:00
Karthikeyan Singaravelan
c01b2cc014
Remove deprecated encoding parameter for Python 3.9 compatibility.
2020-01-22 00:41:58 +05:30
Luciano Resende
8a67477156
Back to development version
2020-01-21 10:33:49 -08:00
Luciano Resende
85f1b9f787
Release 6.0.3
2020-01-21 10:33:49 -08:00
Luciano Resende
e597adc4d2
Changelog for Release 6.0.3
2020-01-21 10:33:49 -08:00
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).
2020-01-21 09:50:30 -08:00
ahangsleben
33548e18bf
Upgraded typeahead library. ( #4944 )
2020-01-20 09:53:03 -08:00
Zachary Sailer
f354740e57
Merge pull request #5136 from pallavibharadwaj/issue_1914
...
descriptive log for port unavailable and port-retries=0
2020-01-07 08:36:19 -08:00
Pallavi Bharadwaj
5996cdf6a4
descriptive log info for port in use and port-retries=0
2020-01-06 19:16:53 -08:00
Pallavi Bharadwaj
d04b35cab5
descriptive log for port unavailable and port-retries=0
2020-01-04 14:03:04 -08:00
Thomas Kluyver
d0a74353e6
Merge pull request #5111 from takluyver/nbconvert6-tests-notsoisolated
...
Fix running tests with nbconvert 6 prerelease
2019-12-14 19:13:45 +01:00
Thomas Kluyver
e53383ceb2
Allow testing with nbconvert 6 again (unpin)
...
Closes gh-5086
Closes gh-5092
2019-12-09 16:48:36 +00:00
Thomas Kluyver
d6259ae285
Don't monkeypatch environment data locations for test notebook server
2019-12-09 16:47:12 +00:00
Min RK
5e5ad60a57
Merge pull request #5099 from forest0/master
...
preserve term "Markdown" untranslated
2019-12-05 16:11:12 +01:00
forest0
0c82d764bd
preserve term "Markdown" untranslated
2019-12-04 14:53:17 +08:00
Thomas Kluyver
76a323e677
Merge pull request #4826 from benthayer/selectall
...
Ctrl-A to select all cells
2019-11-29 10:13:09 +00:00
Thomas Kluyver
b67164033e
Merge pull request #5043 from takluyver/selenium-prefill
...
Selenium test fixture to open a notebook with prefilled content
2019-11-29 10:12:51 +00:00
Thomas Kluyver
fc2dc8f002
Merge pull request #4785 from dleen/master
...
Prevent tests from hanging
2019-11-27 13:57:15 +00:00
Thomas Kluyver
fd4275cdf6
Merge branch 'master' into master
2019-11-27 12:25:01 +00:00
Thomas Kluyver
2eb5544358
Merge pull request #4899 from rayehh/master
...
Add end punctuation and update korean document
2019-11-27 12:19:46 +00:00
Thomas Kluyver
7b5248d1ce
Merge pull request #5055 from shuichiro-makigaki/fix-gateway-handled-exceptions
...
Fix packages of exceptions catched by gateway manager
2019-11-27 12:16:42 +00:00
Thomas Kluyver
806904c0f9
Merge pull request #5078 from haobibo/patch-1
...
Ensure jupyter config dir exist
2019-11-27 12:15:07 +00:00
Thomas Kluyver
6c67bb133b
Merge pull request #5085 from takluyver/test-pin-nbconvert-5.x-b
...
Pin nbconvert <6 for now
2019-11-27 11:55:21 +00:00
Thomas Kluyver
f377abfa04
Pin nbconvert <6 for now
2019-11-27 11:38:22 +00:00
Thomas Kluyver
f185f4127d
Merge pull request #5021 from krinsman/master
...
Fixes #5002
2019-11-24 22:06:16 +00:00
Thomas Kluyver
1d76105301
Merge pull request #5077 from michalc/contents-manager-get-can-return-future
...
Allow contents manager get to return future
2019-11-24 21:35:17 +00:00
Bibo Hao
9775af7bba
Update security.py
2019-11-25 03:33:16 +08:00
Thomas Kluyver
10c7d2a53f
Merge pull request #5075 from shevelevs/DynamicDefaultForMinOpenFilesLimit
...
Making default value for min_open_files_limit dynamic
2019-11-24 19:02:39 +00:00
Thomas Kluyver
1efa780a70
Merge pull request #5047 from minrk/py38-tornado
...
workaround tornado py38 compatibility issue
2019-11-24 18:21:20 +00:00
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.
2019-11-25 01:38:24 +08:00
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.
2019-11-24 14:36:18 +00:00
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
2019-11-21 21:20:58 -08:00
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.
2019-11-16 18:17:48 +09:00
Min RK
7e2ae22aee
apply asyncio patch before launching new loop for tests
2019-11-14 12:00:23 +01:00
William Krinsman
765c9f7316
Implement Thomas Kluyver's idea -- let the contents and kernel managers get the application option as part of calculating the default
2019-11-13 12:02:38 -08:00
Min RK
29ec93627c
workaround tornado py38 compatibility issue
...
by setting the pre-3.8 eventloop policy as default
2019-11-12 13:11:06 +01:00
Thomas Kluyver
7fb461ddf7
Selenium test fixture to open a notebook with prefilled content
...
This makes several tests shorter and (hopefully) more efficient
2019-11-11 12:12:34 +00:00
Thomas Kluyver
9640e1f943
Merge pull request #4101 from dubielt1/test-kernel-menu
...
Translated kernel menu javascript test to selenium
2019-11-09 14:51:06 +01:00
Thomas Kluyver
6d76481ccd
Merge pull request #4622 from TeresaPartidaS/convert_execute_code_js_to_selenium
...
Migrate execute code test to selenium
2019-11-09 14:50:42 +01:00
Thomas Kluyver
0fba208654
Merge pull request #3518 from lmcdon14/selenium-interrupt
...
Create selenium interrupt test
2019-11-09 14:49:33 +01:00
Thomas Kluyver
257e71202c
Rework execution test, add wait_for_cell_output helper
2019-11-08 17:37:22 +00:00