lp:~pitti/autopilot/py3

Created by Martin Pitt and last modified
Get this branch:
bzr branch lp:~pitti/autopilot/py3
Only Martin Pitt can upload to this branch. If you are Martin Pitt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Martin Pitt
Project:
Autopilot
Status:
Merged

Recent revisions

366. By Martin Pitt

Fail package build on uninstalled files

Use dh_install --fail-missing to fail the build if we forget to install files.
Explicitly ignore the .egg-info/ directory, as we don't really need it in the
package (only if we ever want to provide an entry_point or other
runtime-introspectable things).

365. By Martin Pitt

Drop debian/*.pyinstall

Move Python module installation to *.install. This is consistent with what the
python3-* packages are using (*.pyinstall doesn't exist in python3 any more),
and also massively cleans up the "dh_install --list-missing" output.

364. By Martin Pitt

Build python3 packages

Build python3-* versions of autopilot, -tests, -trace, and -vis. Don't update
the metapackages yet, as we want to avoid pulling in the python3 stack into the
touch images. We might do separate -py3 metapackages at some point, or just
switch over the current ones to -py3.

Note, this does NOT copy the postrm script to remove the autopilot group. Doing
that is generally discouraged, and it causes problems if you remove autopilot
for one Python version but keep the package for the other.

Respect DEB_BUILD_OPTIONS=nocheck.

363. By Martin Pitt

Port vis to be Python 3 compatible

 - Drop the explicit usage of QVariant. It doesn't work any more in PyQt for
   Python3, and it has been a mapped type (i. e. implicitly created and
   decoded) for a while now.

 - Drop QtCore.QStringList for Python 3, it's just using standard Python string
   arrays.

 - Fix dbus_string_rep() to consistently return str (not bytes for dbus.String
   and str for anything else), and drop the decode() call when calling it
   (which was invalid for anything but the dbus.String case).

362. By Martin Pitt

merge from experimental branch

361. By Martin Pitt

Fix subprocess.check_output() mocks to accept kwargs

Otherwise they'll break with the real code passing in the universal_newlines
kwargs.

360. By Martin Pitt

Sort the "Unknown keyword arguments" list in the error message

So that we get a reproducible result for the test suite.

359. By Martin Pitt

Pass integer coordinates to mouse move command

In python 2, struct.pack() converted arguments to the target type implicitly,
but python 3 stopped doing that. Ensure that we convert float arguments to int.

358. By Martin Pitt

Decode subprocess output where necessary

In Python 3, Popen's stdout/stderr are binary by default. Set
universal_newlines to decode into strings, which works for both Python 2 and 3.

357. By Martin Pitt

Make Application.__eq__() robust against comparing with None

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:autopilot
This branch contains Public information 
Everyone can see this information.

Subscribers