From ad57b15934c71cb24555bbb3f5050b1d6c908de5 Mon Sep 17 00:00:00 2001 From: Anderson Entwistle <46688047+aentwist@users.noreply.github.com> Date: Sat, 7 Sep 2024 01:07:00 -0600 Subject: [PATCH] chore(deps): upgrade adbutils from 1 to 2 Fix warnings when running tests. --- poetry.lock | 28 ++++++++-------------------- pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 21 deletions(-) diff --git a/poetry.lock b/poetry.lock index 1411d2c..282715c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2,16 +2,16 @@ [[package]] name = "adbutils" -version = "1.2.7" +version = "2.8.0" description = "Pure Python Adb Library" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "adbutils-1.2.7-py3-none-macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:eac4d033dc621d9e09faf1dde99a3fd9ec672c802680e5bdd484a79bd964b70c"}, - {file = "adbutils-1.2.7-py3-none-manylinux1_x86_64.whl", hash = "sha256:ab08f5479d1ac99f43ad55d0377cc0211001f0628e55bc350f41516b8fcd3e12"}, - {file = "adbutils-1.2.7-py3-none-win32.whl", hash = "sha256:ee9820928db5b48988a5bc5c9ffa49c9ccc1d7949acec3ca6ef1748481545bdc"}, - {file = "adbutils-1.2.7-py3-none-win_amd64.whl", hash = "sha256:920cd7cdcda52a4963fd05afb3293f283fb52075be600fcb4e5cd45f0598d5fc"}, - {file = "adbutils-1.2.7.tar.gz", hash = "sha256:419745c9d8ae9a7ed4551545207e239cbb2fd4cf7069fcb5c198dca544f557b5"}, + {file = "adbutils-2.8.0-py3-none-macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:88c9beacbffc52df3740dced9b44230e7f28148d9e7d8bc4e0666f5d503b1cb2"}, + {file = "adbutils-2.8.0-py3-none-manylinux1_x86_64.whl", hash = "sha256:6becbb3f4c4cf4bb06c3519588b1c63832e12abd629d2a98a7f7e244f83ea9db"}, + {file = "adbutils-2.8.0-py3-none-win32.whl", hash = "sha256:7aaf43015b49d39151461881b752e81af2010b38bc9a70b0948b5e1e1bcc4b73"}, + {file = "adbutils-2.8.0-py3-none-win_amd64.whl", hash = "sha256:739d69c8e266c4d65512ff77551ef57b2178e0870bdfda1bef034dd0f2ad9433"}, + {file = "adbutils-2.8.0.tar.gz", hash = "sha256:2e6f580b412014783d054febcb95c7ff3962e4120b80b340419790f71f2d4489"}, ] [package.dependencies] @@ -20,7 +20,6 @@ deprecation = ">=2.0.6,<3.0" Pillow = "*" requests = "*" retry = ">=0.9" -whichcraft = "*" [[package]] name = "alabaster" @@ -1323,17 +1322,6 @@ brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)", "brotlipy (>=0.6.0)"] secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress", "pyOpenSSL (>=0.14)", "urllib3-secure-extra"] socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] -[[package]] -name = "whichcraft" -version = "0.6.1" -description = "This package provides cross-platform cross-python shutil.which functionality." -optional = false -python-versions = "*" -files = [ - {file = "whichcraft-0.6.1-py2.py3-none-any.whl", hash = "sha256:deda9266fbb22b8c64fd3ee45c050d61139cd87419765f588e37c8d23e236dd9"}, - {file = "whichcraft-0.6.1.tar.gz", hash = "sha256:acdbb91b63d6a15efbd6430d1d7b2d36e44a71697e93e19b7ded477afd9fce87"}, -] - [[package]] name = "xmltodict" version = "0.13.0" @@ -1351,4 +1339,4 @@ ui = ["PySide6"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.13" -content-hash = "217a951a03fd7c276a93018bfc24a54f3b722df613728a7faa15f51883d1c54f" +content-hash = "d0fe7967602b1728f0ac77a4e2edeeb0d50b9ba9abfbaf1053e6eab2bab0542f" diff --git a/pyproject.toml b/pyproject.toml index 8e7174f..c8e05d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ py-scrcpy = "scrcpy_ui:main" python = ">=3.9,<3.13" av = "^12" numpy = "^2" -adbutils = "^1.0.8" +adbutils = "^2" # Optional dependencies for ui PySide6 = { version = "^6.0.0", optional = true }