ipython / ipython/ipyparallel

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

Aberta
#454 2 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Jupyter Notebook
Estrelas
2.6k
Forks
1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.