Skip to content

Commit 7ee8a79

Browse files
committed
Also patch JUPYTER_RUNTIME_DIR env var
in `testing_utils.jupyter_env`
1 parent 8f3e71a commit 7ee8a79

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Changes
2222
* Get `jupyter contrib` app subcommands from `pkg_resources` entrypoints
2323
* Add `_maybe_copy` and `_should_copy` to nbextensions private API, since the
2424
`logger` keyword arg was only added after notebook 4.1
25+
* Also patch `JUPYTER_RUNTIME_DIR` environment variable in
26+
`testing_utils.jupyter_env`
2527

2628
0.2.0
2729
-----

src/jupyter_contrib_core/testing_utils/jupyter_env.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def patch_jupyter_dirs():
5959
'HOME': jupyter_dirs['user_home']['root'],
6060
'JUPYTER_CONFIG_DIR': jupyter_dirs['env_vars']['conf'],
6161
'JUPYTER_DATA_DIR': jupyter_dirs['env_vars']['data'],
62+
'JUPYTER_RUNTIME_DIR': jupyter_dirs['server']['runtime'],
6263
})))
6364

6465
# patch jupyter path variables in various modules

0 commit comments

Comments
 (0)