yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #09270
[Bug 1134422] Re: The "version" argument to ArgumentParser is deprecated.
The last fix gives a worst situation, sorry. There original warning indeed disappears, but there is a new one, and this time the syntax highlighting disappears.
We need to be super-carefull when modifying some python stuff like this since ipython is really changing fast across versions.
Basically, every change should be tested on multiple systems.
WARNING: Configuration file ipythonrc not found. Ignoring request.
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/IPython/ConfigLoader.py", line 66, in load
fname = filefind(fname,incpath)
File "/usr/lib/pymodules/python2.6/IPython/genutils.py", line 555, in filefind
' not found in current or supplied directories:' + `alt_dirs`
IOError: File'ipythonrc' not found in current or supplied directories:u'/home/3S-LAB/bchareyre/.ipython'
** Changed in: yade
Status: Fix Released => Confirmed
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1134422
Title:
The "version" argument to ArgumentParser is deprecated.
Status in Yet Another Dynamic Engine:
Confirmed
Bug description:
What is that? (ubuntu 10.04)
me: ./yade
/usr/lib/pymodules/python2.6/argparse.py:1576: DeprecationWarning: The "version" argument to ArgumentParser is deprecated. Please use "add_argument(..., action='version', version="N", ...)" instead
"""instead""", DeprecationWarning)
Welcome to Yade 2013-02-26.git-e25a399
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1134422/+subscriptions
References