#1148135 ITP: yarf -- Multi-platform GUI testing

#1148135#5
Date:
2026-09-17 12:33:56 UTC
From:
To:
* Package name    : yarf
  Version         : 3.16.0
  Upstream Contact: https://github.com/canonical/yarf/issues
* URL             : https://github.com/canonical/yarf/
* License         : GPL-3.0
  Programming Lang: Python
  Description     : Multi-platform GUI testing

This program is already available as snap but I think it'll be useful to have it as a Debian package
I'm planning on maintaining it as a member of the Debian Python Team.

Nadzeya
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmqr3jEACgkQ/lAdKwFe
ZPuOoQ//QVeUY7rCrK5cMCwV+lPvgmGCY/wsxVG5voGTLqkCn3p/+++b5eJkfQKL
whYyVgz8fXmdcto+CFqd8++wTiuOXTk/E21aXg587jHrSCWH7AgM5TdGeO8bmdMr
Hx4DBZrbS+EgnjWvFPzkLWa0g1Y8DItH33VG9tkTycBuHS9b6120cj3eUu3jlYr8
r4a4Eg/pSdTXsEnUZz+j0nXjZIGpKINav89pZC+h0xoSd/j2fsqlPswaeHFnFxdb
2VFZGouCl/3PzT5LCNKlyCkA/3ao+ZzWlevuCJ+xwgkbm3gtC8hRcTuvOS3cgZLR
ZAIt5GJ1gzhdM2LDJaKRy/06cfJkWrA+uv5lq96FBAIF2BsSZCTbOAHNojq330uu
zHsWLozdM5BBTuUUx5Jc/4Rv8Fbxv9/C6iKhFZGZKOXYqxzfTTCNUFrY4ID3qmly
LT4/rZYwiN2T7+PfvhK/3qOKyp//9V/AlscbKMcOoVnOQ1ycFEVGTn7Rp1JL6dAM
6JdtvOomT9vIMoQX4Aq5EFu8vHvx5mBQD5OFNeF+i8vgHuYhRvANHT6Whwv0NbkM
AureRzX+ULstJEIu59pBMpUKHSGmUnL5Q8rfhw/ERvH81/ti0vQjRnWGqAGp38wx
cytsyG+ME4FcwQWBqepoRATDaHLz3A0zpljiMQorm9ZaNfKnlrk=
=KY/w
-----END PGP SIGNATURE-----

#1148135#16
Date:
2026-10-13 02:31:32 UTC
From:
To:
This is an automated message from the Debian DFSG, Licensing & New
Packages Team.

The Debian NEW review of yarf 3.24.22+ds-1 has been completed.

Decision: ACCEPTED
Reviewer: Andrew McMillan

Review comment:

Hi,

A couple of issues you should perhaps look at...

1. [important] [packaging] Cursor-detection keyword is broken: the ONNX model it loads was excluded from the source and is not documented

 - Files: `yarf/rf_libraries/libraries/image/cursor_detector.py`, `debian/copyright`, `debian/README.Debian`
 - Evidence: `_MODEL_PATH = Path(__file__).parent / "yolo26_mouse_detector.onnx"` followed by `self._session = ort.InferenceSession(str(_MODEL_PATH))`; `Files-Excluded: */yarf/rf_libraries/libraries/image/yolo26_mouse_detector.onnx`; README.Debian documents only the RapidOCR→Tesseract swap.
 - Problem: The repack excludes the YOLO ONNX weights (presumably for license/provenance reasons), but no file in the tree is left at `yolo26_mouse_detector.onnx`, and `CursorDetector.__init__` unconditionally asks onnxruntime to open it. Using the shipped 'Find Cursor Position' keyword therefore raises FileNotFoundError at runtime instead of degrading gracefully, and nothing in README.Debian or the manpage tells the user this feature is absent.
 - Fix: Either ship the model if its license permits (and add a stanza for it), or make CursorDetector handle the missing file (return None / raise a clear error) and explicitly document the absent model and the broken keyword in README.Debian.

2. [minor] [packaging] Installed module version (3.24.21) does not match the package version (3.24.22+ds)

 - Files: `debian/patches/0001-Set-project-version.patch`
 - Evidence: The patch sets `version = "3.24.21"` in pyproject.toml while debian/changelog and the .dsc are `3.24.22+ds-1`.
 - Problem: The wheel's metadata is built from that version, and main.py computes `YARF_VERSION = version.parse(metadata.version("yarf"))`, so `yarf` will report 3.24.21 and the `yarf:version:` tags in suites compare against the wrong number. A user (or tooling) checking versions gets a value inconsistent with the installed package version.
 - Fix: Set the version in patch 0001 to `3.24.22` to match the source package version (or state plainly that 3.24.21 is deliberate and why).


Thanks!

Full review details: https://dfsg-new-queue.debian.org/reviews/yarf

#1148135#21
Date:
2026-10-13 03:00:20 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
yarf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1148135@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nadzeya Hutsko <nadzeya@debian.org> (supplier of updated yarf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 10 Oct 2026 13:06:44 +0200
Source: yarf
Binary: yarf
Architecture: source all
Version: 3.24.22+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Nadzeya Hutsko <nadzeya@debian.org>
Description:
 yarf       - visual test automation tool built on Robot Framework
Closes: 1148135
Changes:
 yarf (3.24.22+ds-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1148135)
Checksums-Sha1:
 8290190a601ebb7fef8cd7cc5cc34207447740cc 2514 yarf_3.24.22+ds-1.dsc
 5e46e214f3898c3d2f70d793938b742c5773cd94 491231 yarf_3.24.22+ds.orig.tar.gz
 abb4f3b6136b8f4ec6c12454a9306decb16d191b 9012 yarf_3.24.22+ds-1.debian.tar.xz
 623f57bc29b99604b7c51cd90a7a9c1a9836d2a3 132692 yarf_3.24.22+ds-1_all.deb
 acc3f82411c0364d935c71f4807f6113c84a9029 19328 yarf_3.24.22+ds-1_amd64.buildinfo
Checksums-Sha256:
 98bf2aeaf02a27f885e175ded6b565b58a97639a2d032742ed35b6cd57e3a4f2 2514 yarf_3.24.22+ds-1.dsc
 fcee97cabe8967f3a1dc1f95c4630d7ce7fe4f788ae9017ece203f899e78a023 491231 yarf_3.24.22+ds.orig.tar.gz
 835ce3a41278d7812ec2a39c10be51bef8d99923e940f36d45777526c7828435 9012 yarf_3.24.22+ds-1.debian.tar.xz
 567894dbdffac65a321409c9039fc948393c7c232fbe02b596ef2343e07402d4 132692 yarf_3.24.22+ds-1_all.deb
 5614f5dc5f15c49de07f0e292944605a6e013bdef6589b043adf48743d159b79 19328 yarf_3.24.22+ds-1_amd64.buildinfo
Files:
 d8d0006273917cf0ec3e11f8ae18d169 2514 devel optional yarf_3.24.22+ds-1.dsc
 55a18f912d37c85076b4254020b11f64 491231 devel optional yarf_3.24.22+ds.orig.tar.gz
 97835cef9a442b2deaa4f21570d9fd03 9012 devel optional yarf_3.24.22+ds-1.debian.tar.xz
 5c24ccbb9b2c151023f6a9e51b9a2802 132692 devel optional yarf_3.24.22+ds-1_all.deb
 d1589fafa2f35414a4f8781c22ba2dd9 19328 devel optional yarf_3.24.22+ds-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmrKJKgTHG5hZHpleWFA
ZGViaWFuLm9yZwAKCRD+UB0rAV5k+y87D/9/oG7H26sn6GtjfYDjGJ2X839rphfI
rG4VRqpESZHETEX7ldlx+JLA4vjrIoh/LDgJ7H2EmhMqKEqo7MRNzbv41/J376HF
T6kyVTIDpQj/VqLsqqinILKna9cUTdzOlyb30bbuK8aZqGULpsoKaq7bqSOf1zrs
WPKKoHkEwtYA6yHh6vS+wL6FStgmk/AhyI75xuH7QDtuM1VAKymB+4wV9XyAU4z+
Ump/eeiCaZipw71WwvNOodersXT24OkdyPXPn2YyOM0HRVRu3AyFzVFPmdFH52Rp
CoTFhywMqJSmgVLavjmkalGrS77rcduJ+ZMHdR7ZMzFT68cOXb7gjNWMgvEYNcL+
cc2ZA3UV0r7IMpMGOCwUPClqHzd6nmmsinGFqfwU5D0BGwwa3AOG+D1ZzbME88HC
H05nJ6dg9dBG8rxyKoSrfbtVcdJVexCUgGvELfZL7aRP+KdnvUvFr2vRPB8aD/Zh
oNAanZvZ9bFlmrULxxZGqXmtidqdwX1rplDAydWDBcQh8DIx6UtKcsNiBzOr5Fl9
KsNENl6BEjYrq1kK7hFR6Mf0UNeCnRfK+iDvJY97QbmfJDBoIIx4ZbentiujTQSi
8e4w0NplyB4aOGqI47Cq6Ghw68BvjCeXX8XG5qAbMWoyJj8lrPwX/ZphoSPy5cF6
D0ZNpMQUS/wTZw==
=YH7X
-----END PGP SIGNATURE-----