From dc8d43dfef93651bed2079b26ccf435c8fd42014 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Mon, 13 Nov 2023 14:53:52 -0600 Subject: [PATCH 1/2] add toml to dependency list --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 3a9b862..3760cb4 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ install_requires = [ "appdirs>=1.4.3", "requests>=2.22.0", "findimports>=2.1.0", + "toml>=0.10.2", # importlib_metadata is only available for 3.7, and is not needed for 3.8 and up. "importlib_metadata; python_version == '3.7'", "update_checker", From a76663f2789e91f11f907be70d10eb74497ef7e5 Mon Sep 17 00:00:00 2001 From: Ari Cooper Davis <8947634+aricooperdavis@users.noreply.github.com> Date: Thu, 16 Nov 2023 17:40:47 +0000 Subject: [PATCH 2/2] Fix renamed `is_valid()` method call --- circup/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circup/__init__.py b/circup/__init__.py index 568d8e4..21ea508 100644 --- a/circup/__init__.py +++ b/circup/__init__.py @@ -1514,7 +1514,7 @@ def update(ctx, update_all): # pragma: no cover module.device_version, module.bundle_version ) ) - if isinstance(module.bundle_version, str) and not VersionInfo.isvalid( + if isinstance(module.bundle_version, str) and not VersionInfo.is_valid( module.bundle_version ): click.secho(