Code change:
assert command.env["WINE"] == str(wine_bin_dir / "wine") assert command.env["WINELOADER"] == str(wine_bin_dir / "wine") assert command.env["WINESERVER"] == str(wine_bin_dir / "wineserver") <ins> -        assert command.env["LEGACY_STEAM_RUNTIME_PATH"] ==  -            str(steam_runtime_dir / "steam-runtime") assert "STEAM_RUNTIME_PATH" not in command.env for name in ("wine", "wineserver"): @@ -166,16 +161,14 @@ class TestCLIRun: assert command.env["PATH"].startswith(str(wine_bin_dir)) # Compared to the traditional Steam Runtime, PROTON_LD_LIBRARY_PATH -        # will be different +        # will be the same (it would be different without steam-run.patch) proton_install_path = Path(proton_app.install_path) assert command.env["PROTON_LD_LIBRARY_PATH"] == "".join([ str(proton_install_path / "dist" / "lib"), os.pathsep, str(proton_install_path / "dist" / "lib64"), os.pathsep ]) -        # Environment variables for both legacy and new Steam Runtime exist -        assert command.env["LEGACY_STEAM_RUNTIME_PATH"] ==  -            str(steam_runtime_dir / "steam-runtime") +        # Environment variable for new Steam Runtime exists assert command.env["STEAM_RUNTIME_PATH"] ==  str(steam_runtime_soldier.install_path) @@ -238,10 +231,7 @@ class TestCLIRun: str(runtime_root / "lib" / "i386-linux-gnu"), os.pathsep, str(runtime_root / "lib" / "x86_64-linux-gnu") ])) - -        # Environment variables for both legacy and new Steam Runtime exist -        assert command.env["LEGACY_STEAM_RUNTIME_PATH"] ==  -            str(steam_runtime_dir / "steam-runtime") +        # Environment variable for new Steam Runtime exists assert command.env["STEAM_RUNTIME_PATH"] ==  str(steam_runtime_soldier.install_path) @@ -324,20 +314,6 @@ class TestCLIRun: assert "Zenity is not installed" in result -    def test_run_steam_runtime_not_found( -            self, cli, steam_dir, steam_app_factory): -        """ -        Try performing a command with Steam Runtime enabled but no -        available Steam Runtime installation -        """ -        steam_app_factory(name="Fake game 1", appid=10) -        result = cli( -            ["10", "winecfg"], env={"STEAM_RUNTIME": "invalid/path"}, -            expect_exit=True -        ) - -        assert "Steam Runtime was enabled but couldn't be found" in result - def test_run_proton_not_found(self, cli, steam_dir, steam_app_factory): steam_app_factory(name="Fake game 1", appid=10) result = cli(["10", "winecfg"], expect_exit=True) </ins>

Related discussion:
text: This issue is mainly a note to myself since the upgrade won't be trivial and will need a lot of testing. Protontricks is now using the Pressure Vessel runtime, so I have to refactor my patches with steam-run to account for this. <!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on github to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the the current version of the package --- <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- name: protontricks <!-- The current version can be found easily with the same process than above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 1.4.4 desired version: 1.5.0 <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: myself