lp:~pitti/autopilot/py3
- Get this branch:
- bzr branch lp:~pitti/autopilot/py3
Branch merges
- Thomi Richards (community): Approve
-
Diff: 1207 lines (+294/-96)43 files modifiedautopilot/__init__.py (+2/-1)
autopilot/globals.py (+1/-1)
autopilot/ibus.py (+1/-1)
autopilot/input/_X11.py (+7/-2)
autopilot/input/_osk.py (+5/-0)
autopilot/input/_uinput.py (+5/-0)
autopilot/introspection/__init__.py (+12/-3)
autopilot/introspection/backends.py (+2/-2)
autopilot/introspection/dbus.py (+21/-11)
autopilot/introspection/types.py (+2/-2)
autopilot/introspection/utilities.py (+1/-1)
autopilot/keybindings.py (+5/-0)
autopilot/matchers/__init__.py (+1/-1)
autopilot/process/_bamf.py (+7/-5)
autopilot/testcase.py (+5/-4)
autopilot/tests/functional/test_ap_apps.py (+10/-4)
autopilot/tests/functional/test_autopilot_functional.py (+6/-4)
autopilot/tests/functional/test_dbus_query.py (+2/-1)
autopilot/tests/functional/test_introspection_features.py (+2/-1)
autopilot/tests/functional/test_open_window.py (+1/-1)
autopilot/tests/unit/test_command_line_args.py (+1/-1)
autopilot/tests/unit/test_matchers.py (+11/-6)
autopilot/tests/unit/test_version_utility_fns.py (+2/-2)
autopilot/utilities.py (+5/-4)
autopilot/vis/bus_enumerator.py (+5/-5)
autopilot/vis/main_window.py (+20/-12)
autopilot/vis/objectproperties.py (+8/-2)
autopilot/vis/resources.py (+1/-1)
bin/autopilot (+4/-3)
debian/control (+78/-3)
debian/python-autopilot-tests.install (+3/-0)
debian/python-autopilot-tests.pyinstall (+0/-3)
debian/python-autopilot-vis.install (+1/-0)
debian/python-autopilot-vis.pyinstall (+0/-1)
debian/python-autopilot.install (+6/-0)
debian/python-autopilot.pyinstall (+0/-6)
debian/python3-autopilot-tests.install (+3/-0)
debian/python3-autopilot-trace.install (+1/-0)
debian/python3-autopilot-vis.install (+1/-0)
debian/python3-autopilot.docs (+2/-0)
debian/python3-autopilot.install (+9/-0)
debian/python3-autopilot.postinst (+24/-0)
debian/rules (+11/-2)
Branch information
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). - 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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:autopilot