ipython / ipython/ipyparallel

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

Offen
#454 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
2.6k
Forks
1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.