From aaaf8ef14ef1a440eaa9f23fe5caa5d276370379 Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 22 Aug 2024 17:36:13 +0200 Subject: [PATCH 1/3] chore: bumping to stable release of `algorand-python-testing` --- template_content/pyproject.toml.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template_content/pyproject.toml.jinja b/template_content/pyproject.toml.jinja index cff8db5..9f4ef02 100644 --- a/template_content/pyproject.toml.jinja +++ b/template_content/pyproject.toml.jinja @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^2.0.0" -algorand-python-testing = "^0.3.0b1" +algorand-python-testing = "^0.3.0" [tool.poetry.group.dev.dependencies] {% if deployment_language == 'python' -%} From a52a30b577d173e28c07a6dcc89e622582765318 Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Thu, 22 Aug 2024 17:42:59 +0200 Subject: [PATCH 2/3] chore: refining log for during python contracts deployment --- .../production_python_smart_contract_python/pyproject.toml | 2 +- .../production_python_smart_contract_typescript/pyproject.toml | 2 +- .../starter_python_smart_contract_python/pyproject.toml | 2 +- .../starter_python_smart_contract_typescript/pyproject.toml | 2 +- examples/production_python/pyproject.toml | 2 +- examples/starter_python/pyproject.toml | 2 +- template_content/smart_contracts/__main__.py.jinja | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/generators/production_python_smart_contract_python/pyproject.toml b/examples/generators/production_python_smart_contract_python/pyproject.toml index 23e2391..720fa10 100644 --- a/examples/generators/production_python_smart_contract_python/pyproject.toml +++ b/examples/generators/production_python_smart_contract_python/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^2.0.0" -algorand-python-testing = "^0.3.0b1" +algorand-python-testing = "^0.3.0" [tool.poetry.group.dev.dependencies] algokit-client-generator = "^1.1.3" diff --git a/examples/generators/production_python_smart_contract_typescript/pyproject.toml b/examples/generators/production_python_smart_contract_typescript/pyproject.toml index c9b3582..ce0288e 100644 --- a/examples/generators/production_python_smart_contract_typescript/pyproject.toml +++ b/examples/generators/production_python_smart_contract_typescript/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^2.0.0" -algorand-python-testing = "^0.3.0b1" +algorand-python-testing = "^0.3.0" [tool.poetry.group.dev.dependencies] black = {extras = ["d"], version = "*"} diff --git a/examples/generators/starter_python_smart_contract_python/pyproject.toml b/examples/generators/starter_python_smart_contract_python/pyproject.toml index 6c83725..eb5d076 100644 --- a/examples/generators/starter_python_smart_contract_python/pyproject.toml +++ b/examples/generators/starter_python_smart_contract_python/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^2.0.0" -algorand-python-testing = "^0.3.0b1" +algorand-python-testing = "^0.3.0" [tool.poetry.group.dev.dependencies] algokit-client-generator = "^1.1.3" diff --git a/examples/generators/starter_python_smart_contract_typescript/pyproject.toml b/examples/generators/starter_python_smart_contract_typescript/pyproject.toml index 3f30237..5633426 100644 --- a/examples/generators/starter_python_smart_contract_typescript/pyproject.toml +++ b/examples/generators/starter_python_smart_contract_typescript/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^2.0.0" -algorand-python-testing = "^0.3.0b1" +algorand-python-testing = "^0.3.0" [tool.poetry.group.dev.dependencies] puyapy = "*" diff --git a/examples/production_python/pyproject.toml b/examples/production_python/pyproject.toml index f2d2bc7..de08a8f 100644 --- a/examples/production_python/pyproject.toml +++ b/examples/production_python/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^2.0.0" -algorand-python-testing = "^0.3.0b1" +algorand-python-testing = "^0.3.0" [tool.poetry.group.dev.dependencies] algokit-client-generator = "^1.1.3" diff --git a/examples/starter_python/pyproject.toml b/examples/starter_python/pyproject.toml index afecce6..f419d42 100644 --- a/examples/starter_python/pyproject.toml +++ b/examples/starter_python/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^2.0.0" -algorand-python-testing = "^0.3.0b1" +algorand-python-testing = "^0.3.0" [tool.poetry.group.dev.dependencies] algokit-client-generator = "^1.1.3" diff --git a/template_content/smart_contracts/__main__.py.jinja b/template_content/smart_contracts/__main__.py.jinja index dc3e78a..c0b8577 100644 --- a/template_content/smart_contracts/__main__.py.jinja +++ b/template_content/smart_contracts/__main__.py.jinja @@ -55,8 +55,8 @@ def main(action: str) -> None: for contract in contracts: logger.info(f"Building app at {contract.path}") app_spec_path = build(artifact_path / contract.name, contract.path) - logger.info(f"Deploying {contract.path.name}") if contract.deploy: + logger.info(f"Deploying {contract.path.name}") deploy(app_spec_path, contract.deploy) {%- endif %} From 7af6e595a0882c80ac9e65c42954e35c8eecc305 Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Thu, 22 Aug 2024 17:45:17 +0200 Subject: [PATCH 3/3] chore: regen artifacts --- .../smart_contracts/__main__.py | 2 +- .../smart_contracts/__main__.py | 2 +- examples/production_python/smart_contracts/__main__.py | 2 +- examples/starter_python/smart_contracts/__main__.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/generators/production_python_smart_contract_python/smart_contracts/__main__.py b/examples/generators/production_python_smart_contract_python/smart_contracts/__main__.py index ab2e910..120fdfe 100644 --- a/examples/generators/production_python_smart_contract_python/smart_contracts/__main__.py +++ b/examples/generators/production_python_smart_contract_python/smart_contracts/__main__.py @@ -52,8 +52,8 @@ def main(action: str) -> None: for contract in contracts: logger.info(f"Building app at {contract.path}") app_spec_path = build(artifact_path / contract.name, contract.path) - logger.info(f"Deploying {contract.path.name}") if contract.deploy: + logger.info(f"Deploying {contract.path.name}") deploy(app_spec_path, contract.deploy) diff --git a/examples/generators/starter_python_smart_contract_python/smart_contracts/__main__.py b/examples/generators/starter_python_smart_contract_python/smart_contracts/__main__.py index ab2e910..120fdfe 100644 --- a/examples/generators/starter_python_smart_contract_python/smart_contracts/__main__.py +++ b/examples/generators/starter_python_smart_contract_python/smart_contracts/__main__.py @@ -52,8 +52,8 @@ def main(action: str) -> None: for contract in contracts: logger.info(f"Building app at {contract.path}") app_spec_path = build(artifact_path / contract.name, contract.path) - logger.info(f"Deploying {contract.path.name}") if contract.deploy: + logger.info(f"Deploying {contract.path.name}") deploy(app_spec_path, contract.deploy) diff --git a/examples/production_python/smart_contracts/__main__.py b/examples/production_python/smart_contracts/__main__.py index ab2e910..120fdfe 100644 --- a/examples/production_python/smart_contracts/__main__.py +++ b/examples/production_python/smart_contracts/__main__.py @@ -52,8 +52,8 @@ def main(action: str) -> None: for contract in contracts: logger.info(f"Building app at {contract.path}") app_spec_path = build(artifact_path / contract.name, contract.path) - logger.info(f"Deploying {contract.path.name}") if contract.deploy: + logger.info(f"Deploying {contract.path.name}") deploy(app_spec_path, contract.deploy) diff --git a/examples/starter_python/smart_contracts/__main__.py b/examples/starter_python/smart_contracts/__main__.py index ab2e910..120fdfe 100644 --- a/examples/starter_python/smart_contracts/__main__.py +++ b/examples/starter_python/smart_contracts/__main__.py @@ -52,8 +52,8 @@ def main(action: str) -> None: for contract in contracts: logger.info(f"Building app at {contract.path}") app_spec_path = build(artifact_path / contract.name, contract.path) - logger.info(f"Deploying {contract.path.name}") if contract.deploy: + logger.info(f"Deploying {contract.path.name}") deploy(app_spec_path, contract.deploy)