These are chat archives for ipython/ipython

11th
Apr 2015
Jessica B. Hamrick
@jhamrick
Apr 11 2015 00:33
TIL that pytest apparently calls setup_class methods once per class, meaning if a class inherits from another class it gets called twice :frowning:
Testing is the worst.
Min RK
@minrk
Apr 11 2015 00:33
booo
Who tests the testers?
Jessica B. Hamrick
@jhamrick
Apr 11 2015 00:35
It appears that pytest tests itself, I think
Sylvain Corlay
@SylvainCorlay
Apr 11 2015 06:48
Congrats on completing The Big Split. Got the jupyter notebook to run from source out of the box!
Min RK
@minrk
Apr 11 2015 15:53
@SylvainCorlay thanks! Still plenty of cleaning up to do, especially in the new repos. We will also split widgets out of the notebook repo, but we need to figure some things out first, so it will be a bit before we do that.
Kyle Polich
@kylepolich
Apr 11 2015 18:19
I'm experiencing problems with Kernel Death on (somewhat) long running cells. I believe I have a reproducible example using the requests package to do a GET on a particularly slow JSON API that is publically available. Thus, it's reproducible! Yet, I'm a little gun shy about filing a bug since I'm not yet convinced it isn't my system. What does the team prefer to get visibility on the issue?
Kyle Polich
@kylepolich
Apr 11 2015 18:25
Just checked, the result is a 680 MB file. So big, but not crazy big
Min RK
@minrk
Apr 11 2015 21:39
@kylepolich can you check if the kernel process is still running, or if it really died?
If it really died, it's unlikely to be an IPython problem, but something in a library you are using that's killing the process.
Andreas Klostermann
@akloster
Apr 11 2015 22:24
can somebody help me with updating my docker container for the latest ipython master? I have trouble running anything...
ah wait
ImportError: Entry point ('console_scripts', 'ipython3') not found
Min RK
@minrk
Apr 11 2015 22:28
Where's your Dockerfile?
Andreas Klostermann
@akloster
Apr 11 2015 22:28
wait, I can dpaste it, but it's messy
Min RK
@minrk
Apr 11 2015 22:28
While IPython's dependencies are unreleased, you will need to install them all explicitly
Andreas Klostermann
@akloster
Apr 11 2015 22:29
hm ok, that makes sense
I previously assumed pip install would do that for me
ah and that splitting is probably new
Min RK
@minrk
Apr 11 2015 22:30
pip refuses to get anything that's not a stable release on PyPI
there are a few deprecated APIs that can do it that easy_install used to do (dependency_links), but pip disables by default and discourages as an antipattern.
Andreas Klostermann
@akloster
Apr 11 2015 22:31
I have checked out the submodules
and these don't contain a setup.py ...
Min RK
@minrk
Apr 11 2015 22:32
There's only one submodule, and it's just javascript, so it shouldn't have a setup.py
All of the repos linked above are proper Python packages with setup.py.
Andreas Klostermann
@akloster
Apr 11 2015 22:32
hm
Min RK
@minrk
Apr 11 2015 22:33
Does installing from that requirements.txt not work for you?
Andreas Klostermann
@akloster
Apr 11 2015 22:33
I think I need to repull everything first... I didn't try that yet