The step "Install 3rd-party stub dependencies" of the "pyright: Run test cases" task in the tests.yml workflow doesn't install the tool.stubtest.apt_dependencies before trying to install the Python packages, leading to potential errors when they are required for building the package. Cf. #13957