These are chat archives for ipython/ipython

11th
May 2017
Brian E. Granger
@ellisonbg
May 11 2017 14:42
Hi all, what the the recommended way of running the ipython test suite?
Christopher C. Aycock
@chrisaycock
May 11 2017 14:58
You mean like cd ..; iptest?
Matthias Bussonnier
@Carreau
May 11 2017 15:26
@chrisaycock Yes.
I personally do cd ~ , and cd - to go back where I was.
you can also just push and see where Travis CI is failing, and you can also test a subset with iptest IPython.core to test only a subset.
Brian E. Granger
@ellisonbg
May 11 2017 15:40
Thanks!
Matthias Bussonnier
@Carreau
May 11 2017 15:41
No problem, I'll be OMW to BIDS soon, so might not be on gitter, but should reconnect in 30-40 minutes.
I'm happy to respond if you have any questions.
Sidenote, there is not much left for 5.4 to go out of the door: https://github.com/ipython/ipython/issues?q=is%3Aopen+is%3Aissue+milestone%3A5.4
That would make a couple of Python 2 user quite happy.
Also @ellisonbg please say Thank you to everyone for me
Tory Haavik
@toryhaavik
May 11 2017 15:55
hi @Carreau, i have a question about ipython/ipython#9796
Matthias Bussonnier
@Carreau
May 11 2017 15:57
There are specific escape sequences you can send to the terminal to set the title.
Unfortunately (I think we were doing that at some point) the issue is that it is not "Unset" when you exit.
so we deactivated it.
Tory Haavik
@toryhaavik
May 11 2017 15:59
i see. i read the issue as "allow me to set the prefix to whatever i want", this way, you still get the dynamic title based on the working directory
Matthias Bussonnier
@Carreau
May 11 2017 15:59
So you could do that,
in IPython/terminal/interactiveshell.py
around line 200
@observe('term_title')
def init_term_title(self, change=None):
    # Enable or disable the terminal title.
    if self.term_title:
        toggle_set_term_title(True)
        set_term_title('IPython: ' + abbrev_cwd())
    else:
        toggle_set_term_title(False)
Tory Haavik
@toryhaavik
May 11 2017 16:00
yep, the question is whether to add an additional flag or overload the term-title flag
leaning toward an additional flag to preserve the API
title-prefix
Matthias Bussonnier
@Carreau
May 11 2017 16:01
Probably not overload. I would go with a new config option that takes a format string that get passed some predefined arguments.
Or maybe even a custom callable ?
Tory Haavik
@toryhaavik
May 11 2017 16:01
oh neat, i didn't think about a format string. good idea
Matthias Bussonnier
@Carreau
May 11 2017 16:04
We may need to look at setproctitle as well.
It might also set the name in some places we don't do that
Brian M Hamlin
@darkblue-b
May 11 2017 16:24
hi all - we are planning the packaging and version freeze for OSGeo-Live, based on Ubuntu 1604.. I am in the "un-cool" camp .. python 2.7 .. I have practical reasons, thats all I can say
.. therefore, I am quite interested in this ipython 5.4 release
Matthias Bussonnier
@Carreau
May 11 2017 16:30
@darkblue-b it's almost ready, a couple of things to make sure of, like checking nothing has been forgotten, and a bug in a backport.
You can quickly scan everything targtetted 6.1 and look if nothing should be backported that would help.
<afk> for 30 min.
Brian M Hamlin
@darkblue-b
May 11 2017 16:32
nice ! I can recommend ipython 5.4 then.. our freeze is in a few weeks.
Matthias Bussonnier
@Carreau
May 11 2017 17:03
@darkblue-b We'll try to do it, but with conferences back to back it's hard to find time. :-)
Brian M Hamlin
@darkblue-b
May 11 2017 17:25
yeah - "conference season" .. thank you for the quick reply today
Matthias Bussonnier
@Carreau
May 11 2017 17:26
I'm never on Gitter usually, and muted notifications.Feel free to reach out by mail if we are unresponsive.
Brian M Hamlin
@darkblue-b
May 11 2017 17:27
noted!