Skip to content

Commit 006c899

Browse files
committed
build: use git references for dependencies until puya 5.0 is released
1 parent f085183 commit 006c899

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

pyproject.toml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ dependencies = [
3030
"pynacl>=1.4.0,<2",
3131
"ecdsa>=0.17.0",
3232
"coincurve>=19.0.1",
33-
"algorand-python; implementation_version=='v5.0.0-rc.6'",
33+
# TODO: uncomment below and remove direct git reference once puya 5.0 is released
34+
# "algorand-python>=3",
35+
"algorand-python@git+https://github.com/algorandfoundation/puya.git@v5.0.0-rc.6#subdirectory=stubs",
3436
]
3537

3638
[project.urls]
@@ -50,7 +52,9 @@ type = "virtual"
5052
path = ".venv"
5153
python = "3.12"
5254
dependencies = [
53-
"puyapy; implementation_version=='v5.0.0-rc.6'",
55+
# TODO: uncomment below and remove direct git reference once puya 5.0 is released
56+
# "puyapy>=5",
57+
"puyapy@git+https://github.com/algorandfoundation/puya.git@v5.0.0-rc.6",
5458
"pytest>=7.4",
5559
"pytest-mock>=3.10.0",
5660
"pytest-xdist[psutil]>=3.3",
@@ -132,7 +136,9 @@ dependencies = [
132136
"pytest-cov>=4.1.0",
133137
"py-algorand-sdk>=2.4.0",
134138
"algokit-utils>=3.0.0",
135-
"puyapy; implementation_version=='v5.0.0-rc.6'",
139+
# TODO: uncomment below and remove direct git reference once puya 5.0 is released
140+
# "puyapy>=5",
141+
"puyapy@git+https://github.com/algorandfoundation/puya.git@v5.0.0-rc.6",
136142
]
137143

138144
[tool.hatch.envs.test.scripts]
@@ -183,7 +189,9 @@ post-install-commands = [
183189
"hatch run examples:reload_algopy_testing",
184190
]
185191
dependencies = [
186-
"algorand-python; implementation_version=='v5.0.0-rc.6'",
192+
# TODO: uncomment below and remove direct git reference once puya 5.0 is released
193+
# "algorand-python>=3",
194+
"algorand-python@git+https://github.com/algorandfoundation/puya.git@v5.0.0-rc.6#subdirectory=stubs",
187195
"pytest>=7.4",
188196
"pytest-mock>=3.10.0",
189197
"pytest-xdist[psutil]>=3.3",

0 commit comments

Comments
 (0)