Debian Patches
Status for virt-manager/1:5.1.0-2
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| upstream_tests-port-pytest_ignore_collect-to-pathlib.patch | tests: port pytest_ignore_collect() to pathlib Create a pathlib version of the "path" argument of the pytest_ignore_collect() hook; this will make it easier to the newer version that uses pathlib directly. This makes it possible to simplify the check for filenames to ignore: since the filename is available, use it to do a quick lookup. |
Pino Toscano <ptoscano@redhat.com> | no | 2025-06-30 | ||
| upstream_tests-handle-collection_path-and-path-for-pytest_ign.patch | tests: handle "collection_path" and "path" for pytest_ignore_collect() Starting from pytest 7, all the hooks that take a "path" (the legacy path data type) as parameter (including pytest_ignore_collect()) now take a "collection_path" (pathlib.Path), and the latter will be the only option starting from pytest 9. Since it looks like pluggy (the plugin/hook infrastructure used by pytest underneath) does not support using "None" to accept extra arguments in an hook, then the solution is to provide different hooks according to the pytest version: - the common implementation is switched to use pathlib.Path, looking like the new style of hook; once pytest 7 is assumed, this helper function can be switched back to be the actual hook - declare pytest_ignore_collect() as supported by pytest, using "collection_path" as earlier as possible; pytest_ignore_collect() is either a no-op wrapper, or builds a pathlib.Path out of the legacy type - pytest.version_tuple was added in pytest 7, so deal with its lack in older versions All in all, there should be no behaviour change in the actual test collection, and the deprecation warnings should be gone. |
Pino Toscano <ptoscano@redhat.com> | no | 2025-06-30 | ||
| upstream_tests-use-Node.path-when-available.patch | tests: use Node.path when available pytest 7 adds a "path" attribute to the Node class, which is the base of the Item class used for items passed to pytest_collection_modifyitems(). Hence use it when available, using an helper function that tries to use it and fallbacks on the old "fspath". |
Pino Toscano <ptoscano@redhat.com> | no | 2025-06-30 | ||
| tests-fix-vcpu.diff | Fix reference test to use the right number of vCPUs for win11 Set it to 4 as set in the other tests related to win11. | Pino Toscano <pino@debian.org> | no | 2025-08-30 |
All known versions for source package 'virt-manager'
- 1:5.1.0-2 (sid)
- 1:5.1.0-1 (forky)
- 1:5.0.0-5+deb13u1 (trixie)
- 1:4.1.0-2 (bookworm)
