ipcluster touching ~/.ipython even though --ipython-dir is specified
- 主要言語
- 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.
コントリビューションガイド
調査の方向性
Reproduce the issue with the shown `ipcluster start --profile=testing1 --n=2 --ipython-dir=/tmp/tmp5aa3_zqu` command after removing `~/.ipython`. Trace how `--ipython-dir` is handled and identify the startup path that creates `~/.ipython`; done means the command creates no files there while continuing to use the temporary directory.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- jupyter, python
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100