ipython / ipython/ipyparallel

ipcluster touching ~/.ipython even though --ipython-dir is specified

未关闭
#454 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
2.6k
派生
1k
PR 合并指标
30 天内没有已合并 PR

描述

When trying to run `ipcluster` for testing in a temporary directory, `~/.ipython` still gets created.

```bash
rm -rf ~/.ipython
mkdir /tmp/tmp5aa3_zqu
ipcluster start --profile=testing1 --n=2 --ipython-dir=/tmp/tmp5aa3_zqu
```

```bash
$ tree ~/.ipython/
/home/mforbes/.ipython/
`-- profile_default
|-- db
|-- log
|-- pid
|-- security
`-- startup
`-- README
```

Shouldn't `--ipython-dir` prevent this? (I don't want my tests creating files in someones home directory).

Note, this is very minor: `/tmp/tmp5aa3_zqu` is used for all the important stuff.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。