From b70b1306506bb43fbac428ff0e96f81f30117ca0 Mon Sep 17 00:00:00 2001 From: Sam Fakhreddine Date: Tue, 17 Oct 2023 19:11:12 -0600 Subject: [PATCH] Bugfix/str2bool updatee (#2007) * Changed to str2bool3 * Updated to use str2bool3 --- poetry.lock | 11 ++++++----- pyproject.toml | 8 ++++---- runway/context/_runway.py | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/poetry.lock b/poetry.lock index 650182fd9..78c253625 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3239,13 +3239,14 @@ files = [ pbr = ">=2.0.0,<2.1.0 || >2.1.0" [[package]] -name = "str2bool" -version = "1.1" -description = "Convert string to boolean" +name = "str2bool3" +version = "1.0.2" +description = "Convert string to boolean (Forked from SymonSoft/str2bool)" optional = false python-versions = "*" files = [ - {file = "str2bool-1.1.zip", hash = "sha256:dbc3c917dca831904bce8568f6fb1f91435fcffc2ec4a46d62c9aa08d7cf77c3"}, + {file = "str2bool3-1.0.2-py3-none-any.whl", hash = "sha256:18d3fac572fc7372cc14ef0b7d39c6c8fb9d5f3c23a8666d99e4c692e2782334"}, + {file = "str2bool3-1.0.2.tar.gz", hash = "sha256:7ec7b97d1a4646f7e62a58a98052c1df3a6ed22cae18e8b44dd9529c2faf7e2d"}, ] [[package]] @@ -3617,4 +3618,4 @@ docs = ["dunamai", "jsx-lexer", "sphinx", "sphinx-github-changelog", "sphinx-rtd [metadata] lock-version = "2.0" python-versions = ">=3.8, <3.12" -content-hash = "36ca0cb4685dffc5a813fbb06c0df8d422fbd4f4b3212f71fae8f27eada89dea" +content-hash = "ca9f0ef9573385ff56b8d0b4b1877c267286531eb466b291ab8690868775be9c" diff --git a/pyproject.toml b/pyproject.toml index aebbd55c3..9d93a29ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ authors = [ "Onica Group LLC ", ] maintainers = [ - "Kyle Finley ", + "Kyle Finley ", "Sam Fakhreddine " ] readme = "README.md" homepage = "https://github.com/onicagroup/runway" @@ -29,7 +29,7 @@ packages = [ ] [tool.poetry.dependencies] -python = ">=3.8, <4" +python = ">=3.8, <3.12" # dependencies needed for building docs are included here. # they are marked as "optional" and are installed as the extra "docs". @@ -73,7 +73,7 @@ yamllint = "*" pipenv = "2022.1.8" moto = "3.0.5" testfixtures = "^7.0.3" -str2bool = "^1.1" +str2bool3 = "*" [tool.poetry.dev-dependencies] black = ">=22.1" @@ -286,7 +286,7 @@ min-public-methods = 0 [tool.pylint.format] # http://pylint.pycqa.org/en/latest/technical_reference/features.html#format-checker -max-line-length = 100 +max-line-length = 120 max-module-lines = 1000 [tool.pylint.imports] diff --git a/runway/context/_runway.py b/runway/context/_runway.py index 31c5a8b69..325e9716f 100644 --- a/runway/context/_runway.py +++ b/runway/context/_runway.py @@ -5,7 +5,7 @@ import sys from typing import TYPE_CHECKING, Any, Optional, Union, cast -from str2bool import str2bool as strtobool # type: ignore +from str2bool3 import str2bool as strtobool # type: ignore from ..compat import cached_property from ..core.components import DeployEnvironment