The deprication warning is because of arguments of the parser. Unfortunately the argparse module is not 100% compatible with optparse. I will solve it today. Jan Dne 27.2.2013 21:25 "Bruno Chareyre" <[email protected]> napsal(a):
> Thanks Jan. It is a bit surprising to see a deprecation warning appear > when an old module is replaced by a new one! > > -- > 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: > New > > 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 > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-dev > Post to : [email protected] > Unsubscribe : https://launchpad.net/~yade-dev > More help : https://help.launchpad.net/ListHelp > -- 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: New 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 _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

