PYPTUG Presents
a
Francois Dion Production
But don't forget to come back!
Once you have confirmed that the packages you are using do have a Python 3 version (or some equivalent), it is time to do a quick check:
$ python -3 script.py
Review the warnings to see what is non trivial
No warning? Run 2to3!
$ 2to3 -w .
$ 2to3 -w -d .
One thing that is still important at this point in time, is to provide support for both Python 2 and 3. But it doesn't mean you have to support older versions than 2.6 and 3.3. That will make your life simpler.
If you are providing a package with setup.py, make sure your setup.py is set up to install the correct code. See python3porting.com for more details.
Even if you are not going to have a Python 2 and Python 3 version, set up virtualenv, and some way to automate your tests.
One easy to use combo is Jenkins with Shining Panda plugin (uses virtualenv and tox). Makes it easy to use multibuild against various python interpreters, version of modules and to do coverage, code check (pep8) and automated documentation (along with sphinx).
It's not available widely enough...
Really?
Phones (even mine), niche OSes (OI Hipster anyone?) and even...
Flight #NSC01