qvm-appmenus: remove unstable-format gate for --get-available#72
Conversation
|
Pushed the small fix for #10595. When you have a moment, could you please take a look? Happy to adjust anything needed. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #72 +/- ##
==========================================
+ Coverage 62.07% 65.73% +3.66%
==========================================
Files 2 2
Lines 683 683
==========================================
+ Hits 424 449 +25
+ Misses 259 234 -25
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Please squash the commits. |
| '--i-understand-format-is-unstable', dest='fool', | ||
| action='store_true', | ||
| help='required pledge for --get-available') | ||
| help='deprecated no-op for backward compatibility') |
There was a problem hiding this comment.
Please use "deprecated" option: https://docs.python.org/3/library/argparse.html#deprecated. This is only available in python3.13 and therefore cannot be backported to R4.2.
| app = TestApp() | ||
| app.domains = {vm.name: vm} | ||
|
|
||
| parse_args.return_value = types.SimpleNamespace( |
There was a problem hiding this comment.
Are all of the options below necessary to be specified explicitly? Seems a bit verbose.
d1fb07e to
60050d4
Compare
|
@ben-grande |
|
Please check the changes you pushed. They haven't addressed my concerns. Clicking on the lastest compare shows no changes: https://github.com/QubesOS/qubes-desktop-linux-common/compare/d1fb07e895b2a6c6c1e9a1fdc5eee333ca617e31..60050d4afd05d7f159916380461233218f922778 |
|
Hi @ben-grande, |
I think that only Fedora GUIVM is supported (last time I tried to use debian, a lot of things were broken). Only debian-12 doesn't have python3.13. As I think that will break tests, will leave as is. |
--get-available no longer requires --i-understand-format-is-unstable. The flag is kept as a deprecated no-op for backward compatibility and prints a warning to stderr when used. Fixes QubesOS/qubes-issues#10595
a72817a to
09e903e
Compare
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2026031319-4.3-debian&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2026020304-devel&flavor=update Failed testsNo failures! Fixed failuresCompared to: https://openqa.qubes-os.org/tests/166096#dependencies Unstable testsDetailsPerformance TestsPerformance degradation:No issues Remaining performance tests:13 tests
|
https://openqa.qubes-os.org/tests/169502#step/TC_00_Appmenus/17 The integration test runs as root. Apparently, other tests don't have to deal with that because they are not invoking calling |
|
Addressed the OpenQA failure in couse bec of this test invokes Fix in commit
This keeps behavior unchanged for users and only makes the integration test valid under root-run environment. |
|
PipelineRetry |
|
This one is okay, now please remove usage of this option from qubes-manager and qubes-desktop-linux-manager repositories. |
* origin/pr/446: appmenu_select: remove --i-understand-format-is-unstable flag Pull request description: The `--i-understand-format-is-unstable` flag is no longer needed after QubesOS/qubes-desktop-linux-common#72 removed the unstable-format gate for `--get-available`. Remove the now-redundant flag from the command invocation.
Summary
Remove the runtime requirement for
--i-understand-format-is-unstablewhen usingqvm-appmenus --get-available.This makes
--get-availablework directly, as requested in QubesOS/qubes-issues#10595.What changed
qubesappmenus/__init__.pyargs.foolgate and kitten error for--get-available.--i-understand-format-is-unstableas a backward-compatible no-op.doc/tools/qvm-appmenus.rst--get-availabledocs to remove unstable/required-flag wording.--file-fielddocs.qubesappmenus/tests.pytest_132_get_available_does_not_require_unstable_flag.Why
Issue discussion confirms this output format should now be considered stable and no extra pledge flag is needed.
Validation
xdgis missing (ModuleNotFoundError: No module named 'xdg').AI usage disclosure
This change was prepared with AI assistance and manually reviewed before submission.
Closes QubesOS/qubes-issues#10595.