Skip to content

Commit

Permalink
PR for Py-SDK version bump (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangsu committed Jan 11, 2023
1 parent dc6466a commit 4c716b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* 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))
* 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))
* Upgrade mypy to v0.991. ([#618](https://github.com/algorand/pyteal/pull/618))
* Upgrade py-algorand-sdk to v2.0.0. ([#626](https://github.com/algorand/pyteal/pull/626))

# 0.20.1

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
black==22.3.0
flake8==5.0.4
flake8-tidy-imports==4.6.0
graviton@git+https://github.com/algorand/graviton@v0.7.0
graviton@git+https://github.com/algorand/graviton@v0.7.1
mypy==0.991
pytest==7.2.0
pytest-cov==3.0.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
),
install_requires=[
# when changing this list, also update docs/requirements.txt
"py-algorand-sdk>=1.9.0,<2.0.0",
"py-algorand-sdk>=2.0.0,<3.0.0",
"semantic-version>=2.9.0,<3.0.0",
"docstring-parser==0.14.1",
],
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/opup_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

def _dryrun(
bw: BlackboxWrapper,
sp: algosdk.future.transaction.SuggestedParams,
sp: algosdk.transaction.SuggestedParams,
accounts: list[Account],
) -> DryRunInspector:
e = PyTealDryRunExecutor(bw, pt.Mode.Application)
Expand All @@ -31,9 +31,9 @@ def _dryrun(
sender=graviton.models.ZERO_ADDRESS,
sp=sp,
index=DryRunExecutor.EXISTING_APP_CALL,
on_complete=algosdk.future.transaction.OnComplete.NoOpOC,
on_complete=algosdk.transaction.OnComplete.NoOpOC,
),
accounts=accounts,
accounts=cast(list[str | Account], accounts),
)


Expand Down

0 comments on commit 4c716b4

Please sign in to comment.