Skip to content

Commit 4c716b4

Browse files
authored
PR for Py-SDK version bump (#626)
1 parent dc6466a commit 4c716b4

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* Starting with program version 9, when `scratch_slots` flag isn't provided to `OptimizeOptions`, default to optimizing. For versions 8 and earlier the default is and remains to _not_ optimize. ([#613](https://github.com/algorand/pyteal/pull/613))
1515
* Replaced the usage of `typing.NamedTuple` with `dataclass` for `class OpType` in the **ir** package in order to avoid [a regression coming in Python 3.11.1](https://github.com/python/cpython/issues/100098). ([#615](https://github.com/algorand/pyteal/pull/615))
1616
* Upgrade mypy to v0.991. ([#618](https://github.com/algorand/pyteal/pull/618))
17+
* Upgrade py-algorand-sdk to v2.0.0. ([#626](https://github.com/algorand/pyteal/pull/626))
1718

1819
# 0.20.1
1920

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
black==22.3.0
22
flake8==5.0.4
33
flake8-tidy-imports==4.6.0
4-
graviton@git+https://github.com/algorand/[email protected].0
4+
graviton@git+https://github.com/algorand/[email protected].1
55
mypy==0.991
66
pytest==7.2.0
77
pytest-cov==3.0.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
),
2323
install_requires=[
2424
# when changing this list, also update docs/requirements.txt
25-
"py-algorand-sdk>=1.9.0,<2.0.0",
25+
"py-algorand-sdk>=2.0.0,<3.0.0",
2626
"semantic-version>=2.9.0,<3.0.0",
2727
"docstring-parser==0.14.1",
2828
],

tests/integration/opup_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
def _dryrun(
2020
bw: BlackboxWrapper,
21-
sp: algosdk.future.transaction.SuggestedParams,
21+
sp: algosdk.transaction.SuggestedParams,
2222
accounts: list[Account],
2323
) -> DryRunInspector:
2424
e = PyTealDryRunExecutor(bw, pt.Mode.Application)
@@ -31,9 +31,9 @@ def _dryrun(
3131
sender=graviton.models.ZERO_ADDRESS,
3232
sp=sp,
3333
index=DryRunExecutor.EXISTING_APP_CALL,
34-
on_complete=algosdk.future.transaction.OnComplete.NoOpOC,
34+
on_complete=algosdk.transaction.OnComplete.NoOpOC,
3535
),
36-
accounts=accounts,
36+
accounts=cast(list[str | Account], accounts),
3737
)
3838

3939

0 commit comments

Comments
 (0)