Open bernarduh opened 1 year ago
Python 3?
The bin/pycheckers.py script fails to run on a fresh install of Ubuntu 22.04. The issues are:
bin/pycheckers.py
python3
python
distutils.version
The above issues are overcome if the bin/pycheckers.py gets migrated to Python3. Please read the issue discussion for more details.
For more details on the changes made please read the commit messages.
This PR drops support for running bin/pycheckers.pyusing _Python 2_, yet it is still possible to usebin/pycheckers.py` to lint Python 2 scripts.
using _Python 2_, yet it is still possible to use
These changes were tested using emacs 28 on Ubuntu 22.04.
Motivation
Python 3?
The
bin/pycheckers.py
script fails to run on a fresh install of Ubuntu 22.04. The issues are:python3
command available. Since the script shebang is usingpython
it fails to run;distutils.version
is deprecated) which causes the flychecker to show a warning.Approach
The above issues are overcome if the
bin/pycheckers.py
gets migrated to Python3. Please read the issue discussion for more details.For more details on the changes made please read the commit messages.
This PR drops support for running bin/pycheckers.py
using _Python 2_, yet it is still possible to use
bin/pycheckers.py` to lint Python 2 scripts.Testing
These changes were tested using emacs 28 on Ubuntu 22.04.