ipython / ipython/ipyparallel

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

Đang mở
#454 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
2.6k
Fork
1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.