Skip to content

Commit

Permalink
Update ya-aioclient from ^0.5 to ^0.6 (#503)
Browse files Browse the repository at this point in the history
* Update ya-aioclient from ^0.5 to ^0.6

* Update goth from ^0.5 to ^0.6
  • Loading branch information
azawlocki authored Jul 16, 2021
1 parent aa86ed3 commit 92ceb43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ rich = { version = "^10.2", optional = true }
async_exit_stack = "^1.0.1"
jsonrpc-base = "^1.0.3"

ya-aioclient = "^0.5.1"
ya-aioclient = "^0.6"
toml = "^0.10.1"
srvresolver = "^0.3.5"
colorama = "^0.4.4"
Expand All @@ -44,7 +44,8 @@ colorama = "^0.4.4"
# It will be then installable with `poetry install -E integration-tests`.
# Note that putting `goth` in `poetry.dev-dependencies` instead of `poetry.dependencies`
# would not work: see https://github.com/python-poetry/poetry/issues/129.
goth = { version = "^0.5", optional = true, python = "^3.8.0" }
goth = { version = "^0.6", optional = true, python = "^3.8.0" }
# goth = { git = "https://github.com/golemfactory/goth.git", branch = "your-branch-name", optional = true, python = "^3.8.0", develop = true }
Deprecated = "^1.2.12"
python-statemachine = "^0.8.0"

Expand Down
1 change: 1 addition & 0 deletions yapapi/rest/payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def new_allocation(
total_amount=str(amount),
timeout=allocation_timeout,
make_deposit=make_deposit,
timestamp=datetime.now(timezone.utc),
# TODO: fix this
spent_amount="",
remaining_amount="",
Expand Down

0 comments on commit 92ceb43

Please sign in to comment.