ipython / ipython/ipyparallel

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

オープン
#454 コメント 2 件 リアクション 0 件 担当者 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。