Replies: 4 comments 2 replies
-
Switching to use of https://docs.python.org/3/whatsnew/3.6.html#whatsnew36-pep519 |
Beta Was this translation helpful? Give feedback.
-
List of updates for Python 3.6: https://docs.python.org/3/whatsnew/3.6.html Has more information about type hints for variables. https://docs.python.org/3/whatsnew/3.6.html#pep-526-syntax-for-variable-annotations |
Beta Was this translation helpful? Give feedback.
-
We should switch to f-strings for all print statements. Details in PEP 498. F-strings are considered more readable and safer to use due to being less error-prone. |
Beta Was this translation helpful? Give feedback.
-
The ROS Kinetic end-of-life date tracks Ubuntu Xenial: April 2021. |
Beta Was this translation helpful? Give feedback.
-
Python 3.5 Support
We currently support Python 3.5 because that is the default Python version in Ubuntu 16.04.
https://packages.ubuntu.com/xenial/python/python3
Ubuntu 16.04 will reach its end-of-life in April 2021.
https://endoflife.software/operating-systems/linux/ubuntu
Python 3.5 already reached its end-of-life in September 2020.
https://www.python.org/dev/peps/pep-0478/
Based on all of this we plan to drop support for Python 3.5 after the Ubuntu 16.04 end-of-life date of April 2021.
Task List
When Python 3.5 is no longer supported by Python there are a few tasks we can work on.
Change from
https://docs.python.org/3/whatsnew/3.6.html#whatsnew36-pep519
logging
module, as it can introduce a lot of overhead: https://docs.python.org/3/howto/logging.html#optimization.noqa
flag). It is difficult to provide a sample file to trigger isort issues for unit tests without triggering isort for tox. Note that the branch exists at https://github.com/tdenewiler/statick/tree/isort.catkin
discovery plugin and theprint_json
reporting plugin. The dependency on thedeprecated
module can then be removed. That allows the--allow-untyped-decorators
flag to be removed from mypy in Actions.Beta Was this translation helpful? Give feedback.
All reactions