Skip to content

Commit f21ad8f

Browse files
committed
feat: update to include puyapy language server
1 parent 9bb5662 commit f21ad8f

File tree

14 files changed

+63
-21
lines changed

14 files changed

+63
-21
lines changed

examples/generators/production_python_smart_contract_python/.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,5 @@
5050
// On Windows, if execution policy is set to Signed (default) then it won't be able to activate the venv
5151
// so instead let's set it to RemoteSigned for VS Code terminal
5252
"terminal.integrated.shellArgs.windows": ["-ExecutionPolicy", "RemoteSigned"],
53+
"algorandPython.languageServer.enable": true,
5354
}

examples/generators/production_python_smart_contract_python/pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ package-mode = false
1010
python = "^3.12"
1111
algokit-utils = "^4.0.0"
1212
python-dotenv = "^1.0.0"
13-
algorand-python = "^2.0.0"
14-
algorand-python-testing = "~0"
13+
# TODO: update to released packages once they are available
14+
# algorand-python = "^3.0.0"
15+
# algorand-python-testing = "^1.0.0"
16+
algorand-python = { git = "https://github.com/algorandfoundation/puya.git", tag = "v5.0.0-rc.14", subdirectory = "stubs" }
17+
algorand-python-testing ={ git = "https://github.com/algorandfoundation/algorand-python-testing.git", tag = "v1.0.0-beta.7" }
1518

1619
[tool.poetry.group.dev.dependencies]
1720
algokit-client-generator = "^2.1.0"
@@ -22,7 +25,9 @@ pytest = "*"
2225
pytest-cov = "*"
2326
pip-audit = "*"
2427
pre-commit = "*"
25-
puyapy = "*"
28+
# TODO: update to released packages once they are available
29+
# puyapy = "*"
30+
puyapy = { git = "https://github.com/algorandfoundation/puya.git", tag = "v5.0.0-rc.14" }
2631

2732
[build-system]
2833
requires = ["poetry-core"]

examples/generators/production_python_smart_contract_typescript/.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,5 @@
5252
// On Windows, if execution policy is set to Signed (default) then it won't be able to activate the venv
5353
// so instead let's set it to RemoteSigned for VS Code terminal
5454
"terminal.integrated.shellArgs.windows": ["-ExecutionPolicy", "RemoteSigned"],
55+
"algorandPython.languageServer.enable": true,
5556
}

examples/generators/production_python_smart_contract_typescript/pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,21 @@ package-mode = false
1010
python = "^3.12"
1111
algokit-utils = "^4.0.0"
1212
python-dotenv = "^1.0.0"
13-
algorand-python = "^2.0.0"
14-
algorand-python-testing = "~0"
13+
# TODO: update to released packages once they are available
14+
# algorand-python = "^3.0.0"
15+
# algorand-python-testing = "^1.0.0"
16+
algorand-python = { git = "https://github.com/algorandfoundation/puya.git", tag = "v5.0.0-rc.14", subdirectory = "stubs" }
17+
algorand-python-testing ={ git = "https://github.com/algorandfoundation/algorand-python-testing.git", tag = "v1.0.0-beta.7" }
1518

1619
[tool.poetry.group.dev.dependencies]
1720
black = {extras = ["d"], version = "*"}
1821
ruff = "^0.9.4"
1922
mypy = "^1"
2023
pip-audit = "*"
2124
pre-commit = "*"
22-
puyapy = "*"
25+
# TODO: update to released packages once they are available
26+
# puyapy = "*"
27+
puyapy = { git = "https://github.com/algorandfoundation/puya.git", tag = "v5.0.0-rc.14" }
2328

2429
[build-system]
2530
requires = ["poetry-core"]

examples/generators/starter_python_smart_contract_python/.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@
3131
// On Windows, if execution policy is set to Signed (default) then it won't be able to activate the venv
3232
// so instead let's set it to RemoteSigned for VS Code terminal
3333
"terminal.integrated.shellArgs.windows": ["-ExecutionPolicy", "RemoteSigned"],
34+
"algorandPython.languageServer.enable": true,
3435
}

examples/generators/starter_python_smart_contract_python/pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,17 @@ package-mode = false
1010
python = "^3.12"
1111
algokit-utils = "^4.0.0"
1212
python-dotenv = "^1.0.0"
13-
algorand-python = "^2.0.0"
14-
algorand-python-testing = "~0"
13+
# TODO: update to released packages once they are available
14+
# algorand-python = "^3.0.0"
15+
# algorand-python-testing = "^1.0.0"
16+
algorand-python = { git = "https://github.com/algorandfoundation/puya.git", tag = "v5.0.0-rc.14", subdirectory = "stubs" }
17+
algorand-python-testing ={ git = "https://github.com/algorandfoundation/algorand-python-testing.git", tag = "v1.0.0-beta.7" }
1518

1619
[tool.poetry.group.dev.dependencies]
1720
algokit-client-generator = "^2.1.0"
18-
puyapy = "*"
21+
# TODO: update to released packages once they are available
22+
# puyapy = "*"
23+
puyapy = { git = "https://github.com/algorandfoundation/puya.git", tag = "v5.0.0-rc.14" }
1924

2025
[build-system]
2126
requires = ["poetry-core"]

examples/generators/starter_python_smart_contract_typescript/.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@
3434
// On Windows, if execution policy is set to Signed (default) then it won't be able to activate the venv
3535
// so instead let's set it to RemoteSigned for VS Code terminal
3636
"terminal.integrated.shellArgs.windows": ["-ExecutionPolicy", "RemoteSigned"],
37+
"algorandPython.languageServer.enable": true,
3738
}

examples/generators/starter_python_smart_contract_typescript/pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@ package-mode = false
1010
python = "^3.12"
1111
algokit-utils = "^4.0.0"
1212
python-dotenv = "^1.0.0"
13-
algorand-python = "^2.0.0"
14-
algorand-python-testing = "~0"
13+
# TODO: update to released packages once they are available
14+
# algorand-python = "^3.0.0"
15+
# algorand-python-testing = "^1.0.0"
16+
algorand-python = { git = "https://github.com/algorandfoundation/puya.git", tag = "v5.0.0-rc.14", subdirectory = "stubs" }
17+
algorand-python-testing ={ git = "https://github.com/algorandfoundation/algorand-python-testing.git", tag = "v1.0.0-beta.7" }
1518

1619
[tool.poetry.group.dev.dependencies]
17-
puyapy = "*"
20+
# TODO: update to released packages once they are available
21+
# puyapy = "*"
22+
puyapy = { git = "https://github.com/algorandfoundation/puya.git", tag = "v5.0.0-rc.14" }
1823

1924
[build-system]
2025
requires = ["poetry-core"]

examples/production_python/.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,5 @@
5050
// On Windows, if execution policy is set to Signed (default) then it won't be able to activate the venv
5151
// so instead let's set it to RemoteSigned for VS Code terminal
5252
"terminal.integrated.shellArgs.windows": ["-ExecutionPolicy", "RemoteSigned"],
53+
"algorandPython.languageServer.enable": true,
5354
}

examples/production_python/pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ package-mode = false
1010
python = "^3.12"
1111
algokit-utils = "^4.0.0"
1212
python-dotenv = "^1.0.0"
13-
algorand-python = "^2.0.0"
14-
algorand-python-testing = "~0"
13+
# TODO: update to released packages once they are available
14+
# algorand-python = "^3.0.0"
15+
# algorand-python-testing = "^1.0.0"
16+
algorand-python = { git = "https://github.com/algorandfoundation/puya.git", tag = "v5.0.0-rc.14", subdirectory = "stubs" }
17+
algorand-python-testing ={ git = "https://github.com/algorandfoundation/algorand-python-testing.git", tag = "v1.0.0-beta.7" }
1518

1619
[tool.poetry.group.dev.dependencies]
1720
algokit-client-generator = "^2.1.0"
@@ -22,7 +25,9 @@ pytest = "*"
2225
pytest-cov = "*"
2326
pip-audit = "*"
2427
pre-commit = "*"
25-
puyapy = "*"
28+
# TODO: update to released packages once they are available
29+
# puyapy = "*"
30+
puyapy = { git = "https://github.com/algorandfoundation/puya.git", tag = "v5.0.0-rc.14" }
2631

2732
[build-system]
2833
requires = ["poetry-core"]

0 commit comments

Comments
 (0)