Sébastien Gara, Tango meeting 2016 PyTango news http://www.tango-controls.org/ EUROPEAN SYNCHROTRON RADIATION FACILITY 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 Agenda The PyTango Meeting PyTango 8.1.9 PyTango 9.2.0b Conclusions Questions 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 The PyTango Meeting 9-10 March 2016 were presents: ESRF, Tiago Coutinho MAX IV, Vincent Michel ALBA, Jairo Moldes Collaboration for future developments 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 The PyTango Meeting Improving software production methods Define coding standards Unit tests Documentation Git workflow github.com/tango-cs/PyTango Continuous Integration Code: pep8, use pyflakes. Do it on a need basis. Create some guidelines Unit tests : devicetest package by Vincent Michel, on a need basis Doc: now, only ESRF collaborators can update – 8.1.9 uses pythonhosted, maybe readthedocs if needed GIT: develop – 8 branch, use tango9 CI : all set up, need some configuration to have it 100% functionnal 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 The PyTango Meeting Clean-up and refactoring Clean directory tree Move Itango to a separate project Setup.py enhancement Simplify DeviceImpl Itango: drop support for old iPython version (>= 1.2.1) Setup.py: use of setuptools 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 PyTango tree vision 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 The PyTango Meeting New features Asyncio support Server argpars ‘tango’ as ‘PyTango’ alias Test utilities (using pytango-devicetest) Argparse: server side helper for DS arguments. POSIX compatible way, support for the standards arguments –vN, -nodb…… Tango: in 3 steps : 1) tango.py containing from PyTango import *. 2) move files to tango, create PyTango.py containing from tango import * + deprecated warning. 3) use of tango Asynch: move the specific code into separate module 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 PyTango 8.1.9 Last version Bug fixes AsyncIO support (server & client) Gevent mode Documentation 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 PyTango 9.2.0b - What’s new Tango 9 additions: Enums Pipes AttributeConfig and AttributeInfo Updated Pogo templates 29/11/2018 Sébastien Gara, Tango meeting 2016
PyTango 9.2.0b - What’s missing Writables pipes Pipe events Forwarded attributes Device interface change event Dynamic commands 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 Conclusions Still a lot of work Easier collaboration (github and Git) Equality in the decision making process Shared collaborative development between institutes 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 Conclusions Interest based development Issue (feature, bug) developed by interested party(ies) No enforced resolution Issues can still be made on SF but we prefer github Any developer of any institute welcome to join in PyTango needs you ! 29/11/2018 Sébastien Gara, Tango meeting 2016
Sébastien Gara, Tango meeting 2016 Thank you! Any questions? 29/11/2018 Sébastien Gara, Tango meeting 2016