-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add urllib3 v2 as network backend (#292)
* requirements: add urllib3 * pyproject: update dependencies - Adds urllib3 as dependency and truststore as an optional dependency * Makefile: add new build target for urllib3 v2 - Automatically includes urllib3 v2 in all targets * __main__: add vendored path to PYTHONPATH * umu_util: remove helper to create HTTPSConnection instances * umu_util: add helper to compute digest and write file * umu_run: refactor to use connection pools from urllib3 v2 * umu_runtime: refactor to use urllib3 v2 * umu_proton: refactor to use urllib3 v2 * umu_test: add tests for _restore_umu * umu_test: add tests for setup_umu * umu_test: add tests for _restore_umu_platformid * umu_test: add tests for write_file_chunks * umu_test: update tests * umu_test_plugins: update tests * workflows: setup venv * workflows: activate venv * workflows: don't use fish shell * workflows: don't append .sh to activate script * workflows: setup venv for e2e * workflows: fix venv in e2e * workflows: setup venv once * workflows: fix unit tests not running in venv * workflows: fix unit tests not running in venv * workflows: remove python 3.10 from matrix - We're targeting latest Debian which is currently Bookworm and it defaults to 3.11 * workflows: fix mypy not running in venv * workflows: fix mypy not running in venv * workflows: set python 3.11 for mypy * umu_runtime: add ignore for mypy * Makefile: fix deb build * Makefile: fix format * deb: add python3-pip as build dependency * README: mention pip as build dependency * pyproject: add comment regarding urllib3 dep * pyproject: update comment for truststore * umu_runtime: update log statement * umu_runtime: remove cached file on digest mismatch * umu_runtime: update error message on digest mismatch * umu_run: handle the digest mismatch when updating runtime - We shouldn't crash here as it would be non-critical for users that already have an existing runtime that's intact. In this case, let the user run their game with the runtime already installed * umu_runtime: include the upstream link in the error message * umu_proton: delete cached file on digest mismatch * umu_runtime: extend archive file with its id to avoid corruption on resume * __main__: prefer list.insert when extending PYTHONPATH
- Loading branch information
Showing
16 changed files
with
1,146 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
python-xlib>=0.33 | ||
filelock>=3.15.4 | ||
filelock>=3.15.4 | ||
urllib3>=2.0.0,<3.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.