Bug #16976

Run Dogtail using Python 3

Added by intrigeri 2019-08-13 07:19:12 . Updated 2019-08-29 11:50:12 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
Due date:
% Done:

100%

Feature Branch:
test/16004-adapt-usb-scenarios-to-usb-images+force-all-tests
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

Currently we install python-dogtail, which uses Python 2 and makes it impossible to deal with objects containing unicode character (e.g. “Save As…” — note the triple dots) aka. https://bugs.debian.org/728658. This was originally tracked on Feature #12185 that got repurposed in the meantime.

Debian testing (Bullseye) now has 0.9.11-2 with a python3-dogtail binary package that should be installable on Stretch and Buster, and allow us to drop some ugly hacks from our test suite.

This is part of our Bug #15953 roadmap item.


Subtasks


Related issues

Blocks Tails - Feature #8788: Automatically test the "Tails documentation" link on the Desktop In Progress 2015-01-24
Blocks Tails - Bug #15953: Make our test suite survive changes in the surrounding environment Resolved 2018-09-14
Blocked by Tails - Feature #12185: Update Debian package to run Dogtail using Python 3 Resolved 2017-01-28
Blocks Tails - Feature #16209: Core work: Foundations Team Confirmed
Blocked by Tails - Bug #16004: Make our automated test suite take into account USB image updates wrt. supported installation & update methods Resolved 2018-09-28

History

#1 Updated by intrigeri 2019-08-13 07:23:09

  • blocks Feature #8788: Automatically test the "Tails documentation" link on the Desktop added

#2 Updated by intrigeri 2019-08-13 07:24:09

  • blocks Bug #15953: Make our test suite survive changes in the surrounding environment added

#3 Updated by intrigeri 2019-08-13 07:24:25

  • blocked by Feature #12185: Update Debian package to run Dogtail using Python 3 added

#4 Updated by intrigeri 2019-08-13 07:25:47

#5 Updated by intrigeri 2019-08-18 06:10:26

  • Description updated

#6 Updated by intrigeri 2019-08-19 15:49:34

I’m giving it a quick try as while working on Bug #16004, I’m fed up that my workaround to the lack of UTF-8 support (using Sikuli in the middle of a scenario that otherwise nicely uses Dogtail) is brittle on Jenkins, while it Works On My Machine™. Over the last two days I had to add 3 new such workarounds and I figured that enough was enough.

I’m not promising anything at this point though, so I won’t even assign this ticket to myself.

#7 Updated by intrigeri 2019-08-19 18:48:33

  • Status changed from Confirmed to In Progress
  • Assignee set to intrigeri
  • Target version changed from 2019 to Tails_4.0
  • Feature Branch set to test/16004-adapt-usb-scenarios-to-usb-images

OK, it was not that hard. Will batch this in my branch for Bug #16004.

#8 Updated by intrigeri 2019-08-19 18:48:53

  • blocked by Bug #16004: Make our automated test suite take into account USB image updates wrt. supported installation & update methods added

#9 Updated by intrigeri 2019-08-19 18:52:04

  • Feature Branch changed from test/16004-adapt-usb-scenarios-to-usb-images to test/16004-adapt-usb-scenarios-to-usb-images+force-all-tests

#10 Updated by intrigeri 2019-08-20 06:52:39

  • Status changed from In Progress to Needs Validation
  • Assignee changed from intrigeri to anonym

@anonym, same as Bug #16004#note-68.

#11 Updated by intrigeri 2019-08-27 18:46:14

  • Assignee deleted (anonym)

(anonym encouraged me to look for other reviewers.)

#12 Updated by segfault 2019-08-29 11:50:13

  • Status changed from Needs Validation to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:tails|3d8a965c97fc4489dc103527ecd228645d7f674a.