Skip to content

Commit 01a023a

Browse files
authored
fix: updates algorand-python-testing dependency to support latest algopy Array and ImmutableArray stubs (#98)
Updates the `algorand-python-testing` dependency version constraint to allow for patch updates. Also, adds `package-mode = false` to avoid poetry packaging issues in v2.
1 parent b26626b commit 01a023a

File tree

7 files changed

+14
-7
lines changed

7 files changed

+14
-7
lines changed

examples/generators/production_python_smart_contract_python/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ version = "0.1.0"
44
description = "Algorand smart contracts"
55
authors = ["None <None>"]
66
readme = "README.md"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
910
python = "^3.12"
1011
algokit-utils = "^4.0.0"
1112
python-dotenv = "^1.0.0"
1213
algorand-python = "^2.0.0"
13-
algorand-python-testing = "^0.4.0"
14+
algorand-python-testing = "~0"
1415

1516
[tool.poetry.group.dev.dependencies]
1617
algokit-client-generator = "^2.1.0"

examples/generators/production_python_smart_contract_typescript/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ version = "0.1.0"
44
description = "Algorand smart contracts"
55
authors = ["None <None>"]
66
readme = "README.md"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
910
python = "^3.12"
1011
algokit-utils = "^4.0.0"
1112
python-dotenv = "^1.0.0"
1213
algorand-python = "^2.0.0"
13-
algorand-python-testing = "^0.4.0"
14+
algorand-python-testing = "~0"
1415

1516
[tool.poetry.group.dev.dependencies]
1617
black = {extras = ["d"], version = "*"}

examples/generators/starter_python_smart_contract_python/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ version = "0.1.0"
44
description = "Algorand smart contracts"
55
authors = ["None <None>"]
66
readme = "README.md"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
910
python = "^3.12"
1011
algokit-utils = "^4.0.0"
1112
python-dotenv = "^1.0.0"
1213
algorand-python = "^2.0.0"
13-
algorand-python-testing = "^0.4.0"
14+
algorand-python-testing = "~0"
1415

1516
[tool.poetry.group.dev.dependencies]
1617
algokit-client-generator = "^2.1.0"

examples/generators/starter_python_smart_contract_typescript/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ version = "0.1.0"
44
description = "Algorand smart contracts"
55
authors = ["None <None>"]
66
readme = "README.md"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
910
python = "^3.12"
1011
algokit-utils = "^4.0.0"
1112
python-dotenv = "^1.0.0"
1213
algorand-python = "^2.0.0"
13-
algorand-python-testing = "^0.4.0"
14+
algorand-python-testing = "~0"
1415

1516
[tool.poetry.group.dev.dependencies]
1617
puyapy = "*"

examples/production_python/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ version = "0.1.0"
44
description = "Algorand smart contracts"
55
authors = ["None <None>"]
66
readme = "README.md"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
910
python = "^3.12"
1011
algokit-utils = "^4.0.0"
1112
python-dotenv = "^1.0.0"
1213
algorand-python = "^2.0.0"
13-
algorand-python-testing = "^0.4.0"
14+
algorand-python-testing = "~0"
1415

1516
[tool.poetry.group.dev.dependencies]
1617
algokit-client-generator = "^2.1.0"

examples/starter_python/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ version = "0.1.0"
44
description = "Algorand smart contracts"
55
authors = ["None <None>"]
66
readme = "README.md"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
910
python = "^3.12"
1011
algokit-utils = "^4.0.0"
1112
python-dotenv = "^1.0.0"
1213
algorand-python = "^2.0.0"
13-
algorand-python-testing = "^0.4.0"
14+
algorand-python-testing = "~0"
1415

1516
[tool.poetry.group.dev.dependencies]
1617
algokit-client-generator = "^2.1.0"

template_content/pyproject.toml.jinja

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ version = "0.1.0"
44
description = "Algorand smart contracts"
55
authors = ["{{ author_name }} <{{ author_email }}>"]
66
readme = "README.md"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
910
python = "^3.12"
1011
algokit-utils = "^4.0.0"
1112
python-dotenv = "^1.0.0"
1213
algorand-python = "^2.0.0"
13-
algorand-python-testing = "^0.4.0"
14+
algorand-python-testing = "~0"
1415

1516
[tool.poetry.group.dev.dependencies]
1617
{% if deployment_language == 'python' -%}

0 commit comments

Comments
 (0)